blob: 50112bf9be2c62868772ba09f548ef0db7f8fc10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
let us assume that it is not possible for new to have a version older than sid
Whenever pushing, check for
source-package-local tainted history
global tainted history
can be overridded by --deliberately except for an admin prohib taint
ALL of the following apply only if history is secret
if NEW has a version which is in our history[1]
(on push only)
require explicit specification of one of
--deliberately-include-questionable-history
--deliberately-not-fast-forward
(will taint old NEW version --d-i-q-h)
(otherwise)
leave it be
if NEW has no version, or a version which is not in our history[1]
(always)
check all suites
if any suite's version is in our history[1], publish our history
otherwise discard our history,
tainting --deliberately-include-questionable-history
[1] looking for the relevant git tag for the version number and not
caring what that tag looks for
======
Want some invariants or properties
- .dsc of published dgit package will have corresponding publicly
visible dgit-repo (soon)
- when a new package is rejected we help maintainer avoid
accidentally including bad objects in published dgit history
- .dsc of NEW dgit package has corresponding dgit-repo but not
publicly readable
|