]> _ Git - alire.git/commit
Use build profile in build hash (#1425)
authorAlejandro R Mosteo <amosteo@unizar.es>
Mon, 21 Aug 2023 14:12:45 +0000 (16:12 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 14:12:45 +0000 (16:12 +0200)
commit7b9b4cae1c75627a00b32e848d763806af300f6d
treedc057524041c6be06bde767c4df1e4010810c6a6
parent2068f31e201f4cf5dc75454e31d86a27538b0812
Use build profile in build hash (#1425)

* Compute hash using build profile

* Fix problem with multiple hashes in one run

Rooted in that default build profiles were used first and later the actual
profiles caused different folders to be used, in turn causing errors with the
conflicting CRATE_ALIRE_PREFIX variables.

* Write hash inputs to build dirs

* Testsuite additions and fixes

* Self-review

* Update pins and dependencies
18 files changed:
alire.toml
deps/aaa
deps/umwi
src/alire/alire-builds-hashes.adb [new file with mode: 0644]
src/alire/alire-builds-hashes.ads [new file with mode: 0644]
src/alire/alire-builds.adb
src/alire/alire-builds.ads
src/alire/alire-hashes-common.adb
src/alire/alire-hashes-common.ads
src/alire/alire-roots-editable.adb
src/alire/alire-roots.adb
src/alire/alire-roots.ads
src/alr/alr-commands-build.adb
testsuite/drivers/builds.py [new file with mode: 0644]
testsuite/tests/build/hashes/input-profiles/test.py [new file with mode: 0644]
testsuite/tests/build/hashes/input-profiles/test.yaml [new file with mode: 0644]
testsuite/tests/dockerized/misc/default-cache/test.py
testsuite/tests/misc/sync-missing-deps/test.py