summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-03 14:36:14 +0200
committerErich Eckner <git@eckner.net>2018-05-03 14:36:14 +0200
commit0dc5104fae587127b9219ca9e79f434d64c5bb90 (patch)
treee50558a50ae9df552e0c1ce25fd1a436fe3b78ea
parent05f9e7441da092c9353c8bd4a050aab9868b2e22 (diff)
downloadbuilder-0dc5104fae587127b9219ca9e79f434d64c5bb90.tar.xz
add several todos
-rwxr-xr-xbin/copy-to-build-support2
-rwxr-xr-xbin/db-update2
-rwxr-xr-xbin/delete-packages2
-rwxr-xr-xlib/common-functions2
-rwxr-xr-xlib/mysql-functions1
5 files changed, 9 insertions, 0 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index 5382235..1164c1d 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -2,6 +2,8 @@
# copy the given package(s) into build-support
+# TODO: enable separate repositories for each architecture
+
# shellcheck source=../conf/default.conf
. "${0%/*}/../conf/default.conf"
diff --git a/bin/db-update b/bin/db-update
index 98bc884..28e9861 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -12,6 +12,8 @@
# TODO: we should delete more packages than just the ones in repositories
# where we move to (think of [extra] -> [community])
+# TODO: enable separate repositories for each architecture
+
# shellcheck disable=SC2039
# shellcheck source=../conf/default.conf
. "${0%/*}/../conf/default.conf"
diff --git a/bin/delete-packages b/bin/delete-packages
index 1d4b230..5f60b40 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -15,6 +15,8 @@
# TODO: delete other to-be-deleted packages if asked to do so
+# TODO: enable separate repositories for each architecture
+
# shellcheck disable=SC2016
usage() {
>&2 echo ''
diff --git a/lib/common-functions b/lib/common-functions
index d959094..038af38 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -550,6 +550,8 @@ recursively_umount_and_rm() {
# mangle $arch in PKBUILDs to contain i486, i586, i686
# append $sub_pkgrel to the pkgrel
+# TODO: actually include the other architectures
+
mangle_pkgbuild() {
local PKGBUILD="$1"
local sub_pkgrel="$2"
diff --git a/lib/mysql-functions b/lib/mysql-functions
index b925b2e..83b9296 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -292,6 +292,7 @@ mysql_generate_package_metadata() {
exit 2
fi
# remove empty lines and unsupported architectures
+ # TODO: support more architectures
sed -i '
/^[^=]*=\s*$/d
/^\s*arch = /{