]> _ Git - alire.git/commit
Rename `alr list` to `alr crates` (#671)
authorAlejandro R Mosteo <alejandro@mosteo.com>
Mon, 1 Feb 2021 09:53:04 +0000 (10:53 +0100)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 09:53:04 +0000 (10:53 +0100)
commitc763b00feb35179edea373f0dc3f99f3e7b2bf0b
tree345546f6f88e9a085359d1a6a480218c12579681
parent8c1e89368db05d3ca4c03f36e904bfaad36efd1e
Rename `alr list` to `alr crates` (#671)

* Rename `alr list` to `alr crates`

This way there is less confusion about the purposes of `alr crates` and `alr
search`; the former operates on crates and the latter on releases.

* Fix bash completion

* Document user-visible changes

* Remove `crates` command, move to `search --crates`

* Update bash completion for new situation

* Update user-facing document

* Updated testsuite
20 files changed:
doc/user-changes.md
scripts/alr-completion.bash
src/alire/alire-index-search.adb [new file with mode: 0644]
src/alire/alire-index-search.ads [new file with mode: 0644]
src/alr/alr-commands-list.adb [deleted file]
src/alr/alr-commands-list.ads [deleted file]
src/alr/alr-commands-search.adb
src/alr/alr-commands-search.ads
src/alr/alr-commands.adb
src/alr/alr-commands.ads
testsuite/tests/index/bad-index-metadata/test.py
testsuite/tests/index/bad-index-version/test.py
testsuite/tests/index/branch-mismatch/test.py
testsuite/tests/index/check-enums/test.py
testsuite/tests/index/local-index-not-found/test.py
testsuite/tests/index/mismatched-crate/test.py
testsuite/tests/index/mismatched-parent/test.py
testsuite/tests/index/origin-filesystem-bad-path/test.py
testsuite/tests/index/unexpected-contents/test.py
testsuite/tests/publish/remote-origin/test.py