From 05af0d60852170d167c9c1c85f02de9e88dd280b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 Jan 2020 13:55:22 +0100 Subject: lib/intentions-queue: remove done TODO --- lib/intentions-queue | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'lib/intentions-queue') diff --git a/lib/intentions-queue b/lib/intentions-queue index 0d6c8a9..9f89b82 100755 --- a/lib/intentions-queue +++ b/lib/intentions-queue @@ -9,26 +9,6 @@ if [ -z "${base_dir}" ]; then . '../lib/load-configuration' fi -# TODO: Create an intentions-queue: It should handle all mysql and -# master mirror interactions which interact with each other or other -# local actions (repo-add, repo-remove, ...). -# Design idea: Create enumerated shell scripts which do the right thing -# and remove themself after successful execution. -# return-assignment would create the following scripts: -# 1. download database from mirror -# 2. update package database -# 3. update mysql database -# 4. upload database and package to mirror -# 5. clean up temporary files -# db-update would create the following scripts (after getting the usual -# database lock and determining what needs to be done): -# 1. download database from mirror -# 2. update package database -# 3. update mysql database -# 4. upload database to mirror -# 5. update packages on mirror -# 6. clean up temporary files - # intent_something # create an intention, provided on stdin # note, that this function is not thread-safe - use the lock -- cgit v1.2.3