summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db-functions1
-rwxr-xr-xdb-update4
2 files changed, 5 insertions, 0 deletions
diff --git a/db-functions b/db-functions
index 83f1732..abec505 100644
--- a/db-functions
+++ b/db-functions
@@ -561,6 +561,7 @@ arch_db_move() {
local ftppath_from="${FTP_BASE}/${repo_from}/os/"
+ # TODO: detect if a pkgname has been removed from a split package and clean up the repo
for pkgname in "${pkgnames[@]}"; do
pkgentry=$(pkgentry_from_db "$repo_from" "$arch" "$pkgname")
pkgs=($(getpkgfiles "$ftppath_from$arch/$pkgentry"*${PKGEXT}))
diff --git a/db-update b/db-update
index 52ed996..76f7a12 100755
--- a/db-update
+++ b/db-update
@@ -57,6 +57,10 @@ for repo in ${repos[@]}; do
fi
done
+# TODO: check if all packages of a splitpkg are being pushed (or if they already exist in the repo: foo-x86_64 foo-data, later push foo-i686)
+
+# TODO: detect if a pkgname has been removed from a split package and clean up the repo
+
for repo in ${repos[@]}; do
for pkgfile in $(getpkgfiles "${STAGING}/${repo}/"*${PKGEXT} 2>/dev/null); do
arch_add_to_pool "$pkgfile"