Time to solve the distributing cache problem, and unlike Gentoo we'd better not bugger it up!
Let's say we want to just stick with git, and not bother with rsync.
This avoids the whole verification problem...
We clearly don't want cache files in a real branch, and we don't want
to rely upon humans doing any of the work. So it's time for a script,
which would do something like this:
* Check out all the repositories it's interested in, and for each of
these repositories in order:
+ For each repository, if a branch called master-with-metadata
doesn't exist, create it. Checkout master-generate-metadata.
+ Merge, but do not commit, master to master-with-metadata. Do
this even if nothing's changed, since there might be updates to
exlibs in our masters.
+ instruo --output-dir metadata/cache/ etc. We need a way of removing
expired things there too.
+ Add metadata/cache/, and commit it as part of the merge.
* Once that's done, for each repository:
+ push master-with-metadata
This is all rather messy, though, and there's still a chance people
will start their sync at just the wrong time. How can we clean up the
process?
--
Ciaran McCreesh
signature.asc
Description: PGP signature
_______________________________________________ Exherbo-dev mailing list [email protected] http://lists.exherbo.org/mailman/listinfo/exherbo-dev
