Commit Graph

1575 Commits

Author SHA1 Message Date
Daniil Fedotov 992e6810d2 Recompile all regexes.
Compiled regexes are endianness-specific. To run on any endianness
systems we need to recompile them in runtime.
2019-05-07 11:29:40 -04:00
Jean-Sébastien Pédron 528ce15e79 mix.exs: Require at least stdout_formatter 0.2.3
It's exactly the same as 0.2.2, except that mix(1) is advertised as a build
tool. It should solve the issue where mix(1) wants to download rebar3(1)
even though it's already available.
2019-05-02 14:41:20 +02:00
Gerhard Lazu c4d2772a63 Update rabbitmq-components.mk 2019-05-01 13:18:09 +01:00
Luke Bakken 60e7495918 Update rabbitmq-components.mk 2019-04-30 16:20:54 -07:00
Jean-Sébastien Pédron f9dc056d20 Update rabbitmq-components.mk 2019-04-30 14:47:27 +02:00
Jean-Sébastien Pédron a84853ae61 formatters/pretty_table: Adjust comment, we don't use `rabbit_pretty_stdout` anymore 2019-04-30 14:32:03 +02:00
Jean-Sébastien Pédron d0e7d15dcf formatters/pretty_table: Switch to use stdout_formatter library
... instead of the `rabbit_pretty_stdout` module.
2019-04-29 18:32:37 +02:00
Arnaud Cogoluègnes c0c419385e Use string instead of list of chars in clause
[#165316789]

References #342
2019-04-29 15:29:53 +02:00
Michael Klishin a61357b7e4 Cosmetics 2019-04-29 00:57:55 +03:00
Michael Klishin af32abbcd9 Merge pull request #351 from rabbitmq/rabbitmq-cli-345
Improve error reporting for invalid node names
2019-04-26 16:38:08 +03:00
Michael Klishin 8e7a02ff81 Naming 2019-04-25 20:13:39 +03:00
Michael Klishin 4cb2d05c9c Improve error reporting of invalid node names
While at it, format errors thrown in a few more risky
code paths.

Closes #345.
2019-04-25 17:15:25 +03:00
Gerhard Lazu d556a1ecef Clarify which Erlang/OTP version is being printed when --offline
re #350
2019-04-25 14:58:20 +01:00
Michael Klishin 27a4c3c2ab Drive by change: squash a few compiler warnings 2019-04-25 16:52:25 +03:00
Daniil Fedotov 6b14b858b0 Change cipher_suites command description
cipher_suites returns default suites by default and needs a flag to return all
2019-04-25 09:49:42 -04:00
Michael Klishin 88941b1d77 Merge pull request #350 from rabbitmq/rabbitmq-cli-315
diagnostics erlang_version: support --offline
2019-04-25 16:41:46 +03:00
Michael Klishin ab5143e7df diagnostics erlang_version: support --offline
Closes #315.
2019-04-25 15:01:18 +03:00
Michael Klishin 0d095d957c Merge pull request #349 from rabbitmq/rabbitmq-cli-346
Include feature flag status in cluster status
2019-04-25 14:47:15 +03:00
Michael Klishin f754cb9c42 Cosmetics, wording 2019-04-25 14:42:20 +03:00
Michael Klishin a5b2b261a6 Merge branch 'master' into rabbitmq-cli-346 2019-04-25 14:28:22 +03:00
Diana Corbacho da22d12477 Include feature flag status in cluster status
rabbitmq-cli #346
2019-04-25 11:47:36 +01:00
Michael Klishin 3d5281508b Merge pull request #347 from rabbitmq/rabbitmq-cli-342
Add a flag to cipher_suites command to get all ciphers. Add --format flag to select format. Remove openssl_format flag
2019-04-25 04:19:42 +03:00
Michael Klishin 50f4d42fac Wording 2019-04-25 04:17:06 +03:00
Daniil Fedotov a74f8b930e Replace multiple format flags with a single `--format` flag. 2019-04-24 17:22:54 -04:00
Michael Klishin 1de179b454 Use a stricter amqp version dependency (1.2.x) 2019-04-24 22:55:18 +03:00
Daniil Fedotov b53a16681a Add more flags to cipher_suites command to return all available suites and more formats.
Support new map format for cipher suites added in OTP-20.3
Support --all flag to get all available ciphers

Addresses #342
Depends on changes in rabbitmq-server
2019-04-24 15:37:28 -04:00
Michael Klishin d01b25574c Upgrade to amqp ~> 1.2, start amqp app before connecting 2019-04-24 22:37:05 +03:00
Michael Klishin 3bdfae0392 Give queue proceess and client some time to boot before consuming in slower CI environments 2019-04-24 22:09:44 +03:00
Michael Klishin 4b5b8f9475 Depend on amqp ~> 1.1 2019-04-24 22:01:00 +03:00
Michael Klishin 6c8719bca2 Merge pull request #344 from rabbitmq/rabbitmq-cli-343
Feature flag commands: handle missing rabbit_ff_extra modules on target node
2019-04-23 13:24:32 +03:00
Gerhard Lazu 52135ba352 Update rabbitmq-components.mk 2019-04-22 21:55:01 +01:00
Michael Klishin d926bc26b8 enable_feature_flag: handle cases where target node does not support the flag
or any flags.

[#163980302]
2019-04-20 02:44:22 +03:00
Michael Klishin 7efc4766d7 If target node does not support feature flag, consider that none are available
Per discussion with @dumbbell.

[#163980302]
2019-04-20 02:23:57 +03:00
Michael Klishin a1de733dae list_feature_flags: handle missing rabbit_ff_extra modules on target node
Part of #343.

[#163980302]
2019-04-20 02:20:23 +03:00
Michael Klishin d54408b768 Restore Elixir 1.6.6 compatibility
That's the version used when producing Debian
packages. Why? Because bintrary.com/rabbitmq-erlang
only provides that version :/
2019-04-19 06:23:28 +03:00
Michael Klishin 81b84244af One more JSON formatting test case 2019-04-19 05:19:46 +03:00
Michael Klishin 95a7d37f1a New integration suite: JSON formatter 2019-04-19 05:17:28 +03:00
Michael Klishin 11774a3ff1 cluster_status: list RabbitMQ and Erlang versions
Per suggestion from @gerhard.
2019-04-19 05:17:12 +03:00
Michael Klishin e87e83cc93 Don't print stack trace if no option is provided explicitly 2019-04-19 04:43:58 +03:00
Michael Klishin 82948eb19c Bump json to ~> 1.2 2019-04-19 04:43:25 +03:00
Michael Klishin 361d0e05d9 Squash a warning 2019-04-19 02:26:03 +03:00
Michael Klishin 16b8ffc75d Extract Core.Version 2019-04-18 21:12:23 +04:00
Michael Klishin 5f79b2a446 Naming 2019-04-18 20:46:48 +04:00
Michael Klishin 7615b2067c Print stack trace if command execution fails and --print-stacktrace was passed
Per discussion with @dumbbell.
2019-04-18 19:14:02 +04:00
Michael Klishin 11f0b45732 cluster_status: rework output format, support JSON formatter
[#165435068]
2019-04-18 04:00:05 +04:00
Michael Klishin 31be98b8ce Extract Core.ANSI from status and help commands 2019-04-16 19:19:45 +04:00
Michael Klishin 977587a7e6 Remove a stray IO.inspect/1 2019-04-16 17:36:31 +04:00
Michael Klishin 7115676f1b status: support absolute watermark values
While at it, improve watermark formatting.
2019-04-16 17:33:14 +04:00
Michael Klishin 80dab9ffed Merge pull request #341 from rabbitmq/rabbitmq-cli-340
New status command format
2019-04-14 21:19:31 +04:00
Michael Klishin 1ba8d7ca7d status: include RabbitMQ server information 2019-04-14 03:11:53 +04:00