summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 18:56:14 -0400
committerPierre Schmitz <mail@pierre-schmitz.com>2018-04-02 18:54:00 +0200
commit7134da63690e0798d498fd15a09786db42091bfd (patch)
treee852e106298eee8f4d8789f48f5e9e54adde92e1 /README.md
parent4dbcc003b6aa8fcf009be1e98c8ff13fe1def2fb (diff)
README.md: Write an overview of the programs included
Diffstat (limited to 'README.md')
-rw-r--r--README.md55
1 files changed, 55 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7a94c43..c672998 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,61 @@
* The default configuration can be found in `config`.
* An optional `config.local` may override the default configuration.
* The path and name of the local configuration file can be overridden by setting the `DBSCRIPTS_CONFIG` environment variable.
+## Overview
+The executables that you (might) care about are:
+
+ dbscripts/
+ ├── cron-jobs/
+ │   ├── devlist-mailer
+ │   ├── ftpdir-cleanup
+ │   ├── integrity-check
+ │   ├── sourceballs
+ │   ├── update-web-db
+ │   └── update-web-files-db
+ ├── db-move
+ ├── db-remove
+ ├── db-repo-add
+ ├── db-repo-remove
+ ├── db-update
+ └── testing2x
+
+Ok, now let's talk about what those are.
+
+There are 3 "main" programs:
+
+ - `db-update` : add packages to repositories
+ - `db-remove` : remove packages from repositories
+ - `db-move` : move packages from one repository to another
+
+Moving packages from testing to stable repositories is such a common
+task that we have a wrapper around `db-move` to make it easier:
+
+ - `testing2x`
+
+Of course, sometimes things go wrong, and you need to drop to a
+lower-level, but you don't want to go all the way down to pacman's
+`repo-add`/`repo-remove`. So, we have:
+
+ - `db-repo-add`
+ - `db-repo-remove`
+
+Now, we'd like to be able to check that the repos are all OK, so we
+have
+
+ - `cron-jobs/integrity-check`
+
+When we remove a package from a repository, it stays in the package
+"pool". We would like to be able to eventually remove packages from
+the pool, to reclaim the disk space:
+
+ - `cron-jobs/ftpdir-cleanup`
+
+Things that haven't been mentioned yet:
+
+ - `cron-jobs/devlist-mailer`
+ - `cron-jobs/sourceballs`
+ - `cron-jobs/update-web-db`
+ - `cron-jobs/update-web-files-db`
## Testing
* Install the `make` and `docker` packages. Start the docker daemon by issuing `systemctl start docker`.
* The test suite can now be run with `make test`.