[arch-projects] [dbscripts] [PATCH 0/8] Backports from Parabola
Luke Shumaker
lukeshu at lukeshu.com
Wed Mar 14 01:51:57 UTC 2018
From: Luke Shumaker <lukeshu at parabola.nu>
These are commits from Parabola's dbscripts that I think are
upstreamable. No real theme to them, but because some of them are
wide-sweeping (eg. clean up quoting), they are a good base layer to
apply before backporting other changes.
I've done my best to look over them, but at least one weird thing did
happen while rebasing them, so it's possible I missed something that
rebased weird.
Some of this duplicates (non-backported) changes in the last patchset
I submitted.
BTW, now that dbscripts is on GitHub, is that the preferred way of
submitting these? Or is this mailing list still best?
Luke Shumaker (8):
Fix quoting around variables, especially arrays.
Use printf-formatters instead of string interpolation on msg, error,
etc.
Export TMPDIR, and use mktemp -t instead of making it part of the
template
Use `grep &>/dev/null` instead of `grep -q` when operating on piped
stdin.
Add "#!/hint/bash" to the beginning of several files.
Consistently use "$(dirname "$(readlink -e "$0")")"
Normalize to tab indent.
devlist-mailer: Make LIST and FROM configurable
config | 11 ++-
config.local.svn-community | 2 +
config.local.svn-packages | 2 +
cron-jobs/check_archlinux/parse_pkgbuilds.sh | 64 ++++++++---------
cron-jobs/devlist-mailer | 13 ++--
cron-jobs/ftpdir-cleanup | 42 +++++------
cron-jobs/integrity-check | 8 +--
cron-jobs/sourceballs | 50 +++++++-------
cron-jobs/update-web-db | 20 +++---
db-functions | 100 +++++++++++++--------------
db-move | 60 ++++++++--------
db-remove | 24 +++----
db-repo-add | 24 +++----
db-repo-remove | 24 +++----
db-update | 38 +++++-----
test/cases/db-update.bats | 2 +-
test/lib/common.bash | 6 +-
testing2x | 36 +++++-----
18 files changed, 267 insertions(+), 259 deletions(-)
--
Happy hacking,
~ Luke Shumaker
More information about the arch-projects
mailing list