]> _ Git - alire.git/commit
New switches for `alr build` to apply profile to all dependencies (#1119)
authorAlejandro R Mosteo <amosteo@unizar.es>
Thu, 25 Aug 2022 12:32:36 +0000 (14:32 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Aug 2022 12:32:36 +0000 (14:32 +0200)
commit2d97f2efd16bf4dc1ec7770d0196fff030a98e94
treecf1c784a648281c6f6c40a0d1df81a39c3c6f724
parent80a53579a05e9c7e06b6e9f8090df29806bd60bd
New switches for `alr build` to apply profile to all dependencies (#1119)

* New switches to recursively apply build profiles

* Test for new switches

* Document user-visible changes

* refactor how last profiles are stored

Now we keep track of all dependencies' profiles, so any individual change can
be detected and config files regenerated accordingly.

* Move to --profiles single switch

* Remove aliases

* Update documentation on user changes

* Self-review tweaks

* Code review fixes

* New test for improper list of profiles

* Fix `alr help build` output s/:/=/g

Co-authored-by: GHA <actions@github.com>
12 files changed:
doc/user-changes.md
src/alire/alire-crate_configuration.adb
src/alire/alire-crate_configuration.ads
src/alire/alire-roots.adb
src/alire/alire-roots.ads
src/alr/alr-commands-build.adb
src/alr/alr-commands-build.ads
testsuite/tests/build_profile/bad_profile_lists/test.py [new file with mode: 0644]
testsuite/tests/build_profile/bad_profile_lists/test.yaml [new file with mode: 0644]
testsuite/tests/build_profile/last_profile/test.py
testsuite/tests/build_profile/recursive/test.py [new file with mode: 0644]
testsuite/tests/build_profile/recursive/test.yaml [new file with mode: 0644]