]> _ Git - alire.git/commit
Fix: use local dependencies in `alr show --solve` (#400)
authorAlejandro R Mosteo <amosteo@unizar.es>
Tue, 12 May 2020 10:50:12 +0000 (12:50 +0200)
committerGitHub <noreply@github.com>
Tue, 12 May 2020 10:50:12 +0000 (12:50 +0200)
commit586f1fb61d3b3e1c85b7669f5c18390bd29322c0
tree79e1ebd5358254f937a70ce91c073b91a0a0a72b
parent136bc40c3ddda90a558b9eb4195f59db1c725250
Fix: use local dependencies in `alr show --solve` (#400)

When the command was run for the local workspace (without explicit crate name),
the dependencies were being taken from the index instead of the local release.
This also manifested as not solvable dependencies for local releases without a
counterpart in the index.
src/alire/alire-solver.adb
src/alr/alr-commands-show.adb
testsuite/tests/show/solve-local/test.py [new file with mode: 0644]
testsuite/tests/show/solve-local/test.yaml [new file with mode: 0644]