Skip to content

Commit

Permalink
Update to abscissa 0.6.0-beta.1 and clap 3.0.0-beta.5 (informalsystem…
Browse files Browse the repository at this point in the history
…s#1576)

* Update to abscissa 0.6.0-beta.1 and clap 0.3

Overhaul command line argument processing to use clap instead of
gumdrop.

* Attempt to update to modelator 0.3.2

Need this to resolve the dependency conflict on clap.
Does not compile because of the API break.

* refactor modelator code with latest api

* cli: De-hardcode crate version

The version string for chain config memos that was previously obtained
from abscissa is obtained with the crate_version! macro from clap.

* hermes: Fix panic in terminal color initialization

* Resurrect the version subcommand

Tests rely on the `version` subcommand being implemented.

* Manually implement clap::Parser for listen command

This is cumbersome, but it's the only way to support multiple
occurrences of --event flag as of clap 3.0.0-beta.5.
Should be fixed by the clap 3.0.0 release.

* Add changelog entry

* Fix `default_value` for `Order` in a couple commands

* Fix handling of timeout options in `ft-transfer`

* Wait a bit longer in passive connection test to avoid spurious failures

* cli: Suppress terminal color in abscissa

To avoid a panic in the terminal component initialization over
an attempt to install a global eyre handler after the application has
already done so, we need to tell the terminal to not use colors.

* Improve info message in `listen` command

* Rename --version flag of `create channel` cmd

To avoid confusion with the --version flag conventionally used to print
the program version, the new long name is --channel-version.
The --version flag is still supported with the present meaning on the
`create channel` subcommand, but this alias is no longer described
in built-in help.

* Updated the guide on availability of --help flags

* Revert guide updates, to be done in the release PR

Co-authored-by: Ranadeep Biswas <mail@rnbguy.at>
Co-authored-by: Romain Ruetschi <romain@informal.systems>
  • Loading branch information
3 people committed Dec 1, 2021
1 parent 0f4b72f commit 01a3fc3
Show file tree
Hide file tree
Showing 50 changed files with 885 additions and 911 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Update to abscissa framework version 0.6.0-beta.1, adding support for
`--help` flags in subcommands and improving help and usage printouts.
The `--version` option of the `create channel` subcommand has been renamed
to `--channel-version`, with the old name still supported as an alias.
([#1576](https://github.com/informalsystems/ibc-rs/pull/1576))
Loading

0 comments on commit 01a3fc3

Please sign in to comment.