]> _ Git - alire.git/commit
Config option to globally share dependencies (#1367)
authorAlejandro R Mosteo <amosteo@unizar.es>
Wed, 5 Apr 2023 15:21:18 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 15:21:18 +0000 (17:21 +0200)
commit114e23f5017fff32cc637383af108e104d2cbc31
tree31ef875ef2b9b1734bbf3f25c2143c400fd5803f
parentcc8646fc980b9949e9c70306b28ba412f7efb61d
Config option to globally share dependencies (#1367)

* Add config option to override dependencies location

Note that pins are not affected, as those are likely to be conflicting across
projects.

* Ensure shared deps have a manifest, show in `alr version`

* Test for new shared dependencies

* Force regeneration of config when global dep sharing

* Check that configs are regenerated every time
17 files changed:
doc/user-changes.md
src/alire/alire-config-edit.adb
src/alire/alire-config-edit.ads
src/alire/alire-config.ads
src/alire/alire-crate_configuration.adb
src/alire/alire-crate_configuration.ads
src/alire/alire-directories.ads
src/alire/alire-releases.adb
src/alire/alire-roots.adb
src/alire/alire-roots.ads
src/alr/alr-commands-version.adb
testsuite/drivers/alr.py
testsuite/drivers/asserts.py
testsuite/tests/config/shared-deps-profiles/test.py [new file with mode: 0644]
testsuite/tests/config/shared-deps-profiles/test.yaml [new file with mode: 0644]
testsuite/tests/config/shared-deps/test.py [new file with mode: 0644]
testsuite/tests/config/shared-deps/test.yaml [new file with mode: 0644]