@@ -87,9 +87,10 @@ where `<uri>` can be:
87
87
* a local path, for instance ` /opt/alibuild_cache ` ,
88
88
* a remote SSH accessible path, ` ssh://<host>:<path> ` ,
89
89
* an unencrypted rsync path, ` rsync://<host>/path ` ,
90
+ * a CERN S3 bucket, ` b3://<bucket> ` ,
90
91
* a HTTP(s) server, ` http://<host>/<path> ` .
91
92
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):
93
94
if you specify ` ::rw ` at the end of the URL, your builds will be cached there.
94
95
This is normally what sysadmins do to precache builds: other users can simply
95
96
use the same URL in read-only mode (no ` ::rw ` specified) to fetch the builds.
@@ -100,6 +101,17 @@ course.
100
101
It is also possible to specify a write store different from the read one by
101
102
using the ` --write-store ` option.
102
103
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!
103
115
104
116
## Developing packages locally
105
117
0 commit comments