summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-10-20 19:33:56 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:05 +0200
commit99045844a41ab7e070d992bcf3baf944580978fd (patch)
tree5eb287e7dd2a7e676066989c19d82b8959d5809c
parenta639bca6cc963483eb1627c7e6a1fa0af23ca148 (diff)
downloaddbscripts-99045844a41ab7e070d992bcf3baf944580978fd.tar.gz
dbscripts-99045844a41ab7e070d992bcf3baf944580978fd.tar.xz
add some TODOs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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"