From 16f465b33a0cbf913445b1e419c19ce23458d99b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 26 May 2015 20:04:32 -0600 Subject: wip --- TODO | 22 ++++++++++++++++++++++ cron-jobs/integrity-check | 6 +++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 9dd4b52..91633c2 100644 --- a/TODO +++ b/TODO @@ -8,3 +8,25 @@ * Fix db-move - Make it use abslibre + +* Migration to XBS + + - Remove abslibre for db-import + - Remove any-to-ours for db-import + - Remove db-sync for db-import + - Remove cron-jobs/repo-sanity-check once XBS is reliable + +* Use separate user-groups to avoid accidental screw-ups + + - See how configuration works on lukeshu/xbs + +* Other clean up + + - Remove create-repo??? + - Rename createrepos to db-init + - Remove sourceballs2 for sourceballs + - Remove db-cleanup for cron-jobs/ftpdir-cleanup + - Have devlist-mailer get LIST and FROM from config + - ftpdir-cleanup: fix locking + - Use libremessages + - sourceballs license check diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check index 7459380..16e7696 100755 --- a/cron-jobs/integrity-check +++ b/cron-jobs/integrity-check @@ -5,6 +5,10 @@ dirname="$(dirname "$(readlink -e "$0")")" . "${dirname}/../config" . "${dirname}/../db-functions" +. "$(librelib conf)" +load_files libretools +check_vars libretools ABSLIBREDEST + script_lock if [ $# -ne 1 ]; then @@ -15,7 +19,7 @@ mailto=$1 check() { "${dirname}"/check_archlinux/check_packages.py \ --repos="${repos}" \ - --abs-tree="/srv/abs/rsync/${arch},/srv/abs/rsync/any" \ + --abs-tree="${ABSLIBREDEST}/${arch}" \ --repo-dir="${FTP_BASE}" \ --arch="${arch}" \ 2>&1 | "${dirname}"/devlist-mailer "Integrity Check ${arch}: ${repos}" "${mailto}" -- cgit v1.2.3