chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c6bf5e
)
dgit-repos-server: Document forthcoming --cron option
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 23 Apr 2015 12:18:18 +0000
(13:18 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 31 May 2015 10:54:06 +0000
(11:54 +0100)
infra/dgit-repos-server
patch
|
blob
|
history
diff --git
a/infra/dgit-repos-server
b/infra/dgit-repos-server
index 9d6edb8f7191facb9d221a9968b1057794ec934c..baaf99197198a603b3ecddd101d16bd1f8eb5e56 100755
(executable)
--- 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
# 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
#
# 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)
#
# 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;
use POSIX;