From c5ecd001b6b7bd34cfdb161882fa20519df7fbde Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 23 Apr 2015 13:18:18 +0100 Subject: dgit-repos-server: Document forthcoming --cron option --- infra/dgit-repos-server | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- cgit v1.2.3