Niels Thykier
6de0c3408c
AgePolicy: Create the (new) date file automatically
...
Closes : Debian/britney2#13
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
ec21cf1342
Add an ignore-rc-bugs hint
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
29ecbd80d0
Let the age policy register its own hints
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
d43311be03
Support policies registering their own hints
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
2b5d23f69f
policy.py: Fix incorrect policy key
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
58b73c1906
Simplify policy writing a bit
...
Refactor the handling of the policy info code, so every policy does
not have to implement the same boilerplate code.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
ebd947cac2
Improve the method documentation of BasePolicy
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
63b08f8278
Optimise a few hints.search calls
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
ce5b893a19
Prefer bugs files from the state-dir
...
Closes GH#2.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
7e94e5567c
Prefer Urgencies file from the state-dir
...
Partly solves GH#2
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
bcff800040
Move Dates into a new state-dir
...
Partly solves GH#2.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
6d6a7ac529
Move RC bug handing into a policy
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
5ec3aea43a
Move age-handling into a separate file
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago