Skip to content

Commit de92e32

Browse files
TimoWilkenktf
authored andcommitted
Update documentation with new behaviour
1 parent dcd206b commit de92e32

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/user.markdown

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ where `<uri>` can be:
8787
* a local path, for instance `/opt/alibuild_cache`,
8888
* a remote SSH accessible path, `ssh://<host>:<path>`,
8989
* an unencrypted rsync path, `rsync://<host>/path`,
90+
* a CERN S3 bucket, `b3://<bucket>`,
9091
* a HTTP(s) server, `http://<host>/<path>`.
9192

92-
The first three options can also be writable (if you have proper permissions):
93+
The first four options can also be writable (if you have proper permissions):
9394
if you specify `::rw` at the end of the URL, your builds will be cached there.
9495
This is normally what sysadmins do to precache builds: other users can simply
9596
use the same URL in read-only mode (no `::rw` specified) to fetch the builds.
@@ -100,6 +101,17 @@ course.
100101
It is also possible to specify a write store different from the read one by
101102
using the `--write-store` option.
102103

104+
aliBuild can reuse precompiled packages if they were built with a different tag,
105+
if that tag points to the same actual commit that you're building now. (This is
106+
used for the nightly tags, as they are built from a branch named
107+
`rc/nightly-YYYYMMDD`, while alidist is updated to have a tag like
108+
`nightly-YYYYMMDD` instead, pointing to the same commit.) However, this reuse
109+
only works if the precompiled package has the same version as specified in your
110+
copy of alidist.
111+
112+
This approach assumes that tags don't move (i.e. don't change which commit they
113+
are tagging) in the repositories being built. If you administer a cache store,
114+
make sure to delete cached tarballs built using that tag if a tag is moved!
103115

104116
## Developing packages locally
105117

0 commit comments

Comments
 (0)