summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-04-23 13:18:18 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 11:54:06 +0100
commitc5ecd001b6b7bd34cfdb161882fa20519df7fbde (patch)
treecaeaa9ca22da7cd130ae245654ca68d24250d68c /infra
parent8c6bf5e74ef133792ac87ccfa2a57041b7dbfe49 (diff)
dgit-repos-server: Document forthcoming --cron option
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/dgit-repos-server7
1 files changed, 7 insertions, 0 deletions
diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server
index 9d6edb8..baaf991 100755
--- a/infra/dgit-repos-server
+++ b/infra/dgit-repos-server
@@ -4,6 +4,8 @@
# usages:
# .../dgit-repos-server DISTRO SUITES KEYRING-AUTH-SPEC \
# DGIT-REPOS-DIR POLICY-HOOK-SCRIPT --ssh
+# .../dgit-repos-server DISTRO SUITES KEYRING-AUTH-SPEC \
+# DGIT-REPOS-DIR POLICY-HOOK-SCRIPT --cron
# internal usage:
# .../dgit-repos-server --pre-receive-hook PACKAGE
#
@@ -135,6 +137,11 @@ use strict;
#
# policy hook for a particular package will be invoked only once at
# a time - (see comments about DGIT-REPOS-DIR, above)
+#
+# check-list and check-package are invoked via the --cron option.
+# First, without any locking, check-list is called. It should produce
+# a list of package names. Then check-package will be invoked for
+# each named package, in each case after taking an appropriate lock.
use POSIX;