[arch-projects] [dbscripts] [PATCH v2 0/2] Replacing
Eli Schwartz
eschwartz at archlinux.org
Tue Jan 8 23:40:35 UTC 2019
So I think the idea of replacing archivetools with a builtin archive
functionality has merit, especially if we can do it easily using nginx
rewrites. Hence I've rewritten this to put packages in longterm storage
in the archivetools "packages/" tree (which deprecates this aspect of
archivetools) using a helper script.
This also means no more mucking around with ftpdir-cleanup.
Updating to this in infrastructure.git will require installing a sudoers
rule:
%dev ALL = (archive) NOPASSWD: /packages/db-archive
%tu ALL = (archive) NOPASSWD: /community/db-archive
Eli Schwartz (2):
tests: make dummy archive copies of all packages in the test
environment
Add reproducible archive of packages.
config | 2 ++
db-archive | 21 +++++++++++++++++++++
db-functions | 39 +++++++++++++++++++++++++++++++--------
db-update | 4 ++++
test/cases/db-update.bats | 6 ++++++
test/lib/common.bash | 10 ++++++++++
6 files changed, 74 insertions(+), 8 deletions(-)
create mode 100755 db-archive
--
2.20.1
More information about the arch-projects
mailing list