]> _ Git - alire.git/commit
Keep `last_build_profile` in sync with profile requested in manifest (#1049)
authorAlejandro R Mosteo <amosteo@unizar.es>
Thu, 23 Jun 2022 15:45:51 +0000 (17:45 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Jun 2022 15:45:51 +0000 (17:45 +0200)
commitde1d655b94b5466183bfcf0977aa01fb0376eb87
tree8e8a40f18cd6157a8d965457cfdf11723160487e
parent8f44a81079a2870eca7b5bce42596adf6c68d2fa
Keep `last_build_profile` in sync with profile requested in manifest (#1049)

* Sync internal last_build_profile with manifest

* Test for the new behavior

* Replace field in Root with a pointer and manual management

* Fix warnings in gnatcoll-slim

* Fix new warnings unearthed by GNAT 12.1

Co-authored-by: GHA <actions@github.com>
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
testsuite/skels/local-index/my_index/index/index.toml
testsuite/tests/build_profile/last_profile/test.py [new file with mode: 0644]
testsuite/tests/build_profile/last_profile/test.yaml [new file with mode: 0644]