]> _ Git - alire.git/commit
`alr update` improvements (#415)
authorAlejandro R Mosteo <amosteo@unizar.es>
Tue, 19 May 2020 10:05:36 +0000 (12:05 +0200)
committerGitHub <noreply@github.com>
Tue, 19 May 2020 10:05:36 +0000 (12:05 +0200)
commitc462ebdec96098df0d9c258d491fd7f5a93ac607
tree729707add2b1fa8b4b58c213891f1b1eedead8d2
parentea2ae5cc559cbcc1c71077ae9f6ef8d27698055d
`alr update` improvements (#415)

* Reimplement `alr update --online`

* On demand update of selected dependencies

* Test: on demand update of selected crate

* Review fixes

Explicitly check that requested crate is not pinned, since it would never result in an update.
18 files changed:
src/alire/alire-containers.ads
src/alire/alire-solutions.adb
src/alire/alire-solutions.ads
src/alire/alire-utils-tty.ads
src/alire/alire-workspaces.adb [new file with mode: 0644]
src/alire/alire-workspaces.ads [new file with mode: 0644]
src/alr/alr-commands-index.adb
src/alr/alr-commands-index.ads
src/alr/alr-commands-update.adb
src/alr/alr-commands-update.ads
testsuite/tests/update/selective/my_index/index/he/hello1.toml [new file with mode: 0644]
testsuite/tests/update/selective/my_index/index/he/hello2.toml [new file with mode: 0644]
testsuite/tests/update/selective/my_index/index/index.toml [new file with mode: 0644]
testsuite/tests/update/selective/my_index/updated/index/he/hello1.toml [new file with mode: 0644]
testsuite/tests/update/selective/my_index/updated/index/he/hello2.toml [new file with mode: 0644]
testsuite/tests/update/selective/my_index/updated/index/index.toml [new file with mode: 0644]
testsuite/tests/update/selective/test.py [new file with mode: 0644]
testsuite/tests/update/selective/test.yaml [new file with mode: 0644]