[arch-projects] [dbscripts] [GIT] Official repo DB scripts tag parabola/20180505 created. 20111105-572-g8393137
eschwartz at archlinux.org
eschwartz at archlinux.org
Fri Jan 11 15:41:24 UTC 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Official repo DB scripts".
The tag, parabola/20180505 has been created
at 8393137cd49de14f0f74caee8e93fa43ca881e2b (commit)
- Log -----------------------------------------------------------------
commit 8393137cd49de14f0f74caee8e93fa43ca881e2b
Author: Luke Shumaker <lukeshu at parabola.nu>
Date: Fri May 4 22:44:16 2018 -0400
db-import-pkg: Don't do any work directly in $FTP_BASE/$repo or $WORKDIR/rsync
Currently, it
- rsync's/creates (depending on $UPSTREAM) symlinks in
"${FTP_BASE}/${repo}/os/${arch}" directly
- runs repo-add on DBs in ${WORKDIR}/rsync/$(get_repo_dir "$repo" "$arch")
Instead, do both of these things in $WORKDIR/staging-rsync/$tag. There's
no reason to re-use the initial /rsync/ dir (we don't re-use any files in
it--we rm them), and the sync_repo's --delete-excluded means that we
temporarily delete the .db files on the live repo.
Also, to do this efficiently, we need to create hardlinks between package
files in $FTP_BASE and $WORKDIR, so fiddle with tmp directories in the
config.
This also has the effect that imported repos no longer have '.db.old'
files, which is fine because they were never Parabola's old version of the
file, they were the verbatim .old file from where we're importing from.
-----------------------------------------------------------------------
hooks/post-receive
--
Official repo DB scripts
More information about the arch-projects
mailing list