summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-26 20:04:32 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-08 00:06:22 -0600
commit16f465b33a0cbf913445b1e419c19ce23458d99b (patch)
tree3a887cc1ddb20b8d7be7432504aeba2a72b74075
parentcec98c63189b98cc854c6c379cd6925a495555f4 (diff)
-rw-r--r--TODO22
-rwxr-xr-xcron-jobs/integrity-check6
2 files changed, 27 insertions, 1 deletions
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}"