Feature commit for alibuild 2.0 - #1038
Draft
ktf wants to merge 5 commits into
Draft
Conversation
This was referenced Jul 2, 2026
ktf
force-pushed
the
pr1038
branch
13 times, most recently
from
August 12, 2026 18:36
c0fcc96 to
c1bed60
Compare
ktf
force-pushed
the
pr1038
branch
6 times, most recently
from
August 19, 2026 13:54
b66845d to
73e470c
Compare
Publishing writes the package symlink, the dist symlinks and the tarball,
with no transaction between them. A build killed part-way left the remote in
a state every later build refused to touch ("already exists on S3 but ...
does not", or "Conflicts detected" among the dist symlinks) until someone
cleaned it up by hand, and clients following the symlink got 404s meanwhile.
Write the package symlink with If-None-Match: * and let it arbitrate who
owns the revision. If it points at the store path we are about to write, any
leftovers are our own and we complete the publish; anything else still
aborts. Losing the claim to a build of the same hash is fine, but that build
may itself have died, so check for its tarball instead of assuming it will
finish.
The store must honour If-None-Match (CERN's Ceph RGW verifiably does);
ignoring it would silently restore the old racy behaviour, so there is no
fallback. botocore support is checked up front, and read-only use is
unaffected.
ktf
force-pushed
the
pr1038
branch
4 times, most recently
from
September 1, 2026 10:07
5688b9e to
96dda74
Compare
* Add new provenance tracking remote store back-end. Modeled after Google's REAPI. * Add install sub command to install packages without alidist and the need to build them. * Add reconstruct sub command to rebuild a tarball using the provenance information stored in the remote store ledger. * Add migrate sub command to populate the new reapi store with packages from the old store * Code-signing support for official tarballs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
REAPI.
in the remote store ledger.
Stack created with Sapling. Best reviewed with ReviewStack.