diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-01-24 10:03:42 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-01-26 14:51:43 +0100 |
commit | 5d39bc7b241cec6e2af7e054c49dd014e4085f8d (patch) | |
tree | 0cb050e69b0dfc44da76a72a0abda1761aef472e /doc | |
parent | c39da6b3c87aa15991a52d2c91b730984c6ff071 (diff) | |
download | justbuild-5d39bc7b241cec6e2af7e054c49dd014e4085f8d.tar.gz |
just-mr 'distdir' repository: Absent roots sync with serve endpoint
To take advantage of absent roots, we need to ensure that a given
serve endpoint can build against the tree of this generated root.
For a 'distdir' repository we can know the resulting tree
identifier directly without actually needing to fetch anything.
Therefore, we only set the root as absent if the serve endpoint
knows already this tree, if it can set it up itself, or if
we can provide this tree to the serve endpoint from one of our
CAS locations (local or remote), based on our tree invariant
guarantee. A network fetch of the archives never gets performed
for an absent root.
If a serve endpoint is not provided, an absent root can still be
generated, but only if no network fetches are required. In this
case a warning is emitted.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions