chiark / gitweb /
dgit-repos-server: Make $policy a global
[dgit.git] / infra / README.Debian-NEW
1
2 ======
3
4 policy hooks:
5
6  - cron check thing
7      implement `(always)' above
8  - in dispatch, on check or push, during package selection
9      implement `(always)' above
10
11  - in dgit-repos-server, run policy hook after parsing tag
12       but before ff check; passing policy hook the deliberatelies
13       policy hook may:
14         - if appropriate blow away existing repo, copy old taints and add taints
15         - check taints
16         - fail if unused deliberatelies
17         - indicate to parent whether to disregard ff check
18         - remove taints which were overridden
19
20 on push encode --deliberately in tag as lines
21   [dgit --deliberately-blah]
22
23 ======
24
25 Want some invariants or properties
26
27  - .dsc of published dgit package will have corresponding publicly
28    visible dgit-repo (soon)
29
30  - when a new package is rejected we help maintainer avoid
31    accidentally including bad objects in published dgit history
32
33  - .dsc of NEW dgit package has corresponding dgit-repo but not
34    publicly readable
35