Martin Pitt
1a53882811
Python 3.2 workaround: Replace FileNotFoundError with {IO,OS}Error
...
The FileNotFound class is not yet available in Python 3.2, but as long as
snakefruit still runs Ubuntu 12.04 we need to get along without it.
8 years ago
Martin Pitt
7c6fd99417
Python 3.2 workaround: Drop usage of enum module
...
enum is not yet available in Python 3.2, but as long as snakefruit still runs
Ubuntu 12.04 we need to get along without it.
8 years ago
Colin Watson
158d7ca479
Change date format to seconds-since-epoch
8 years ago
Colin Watson
8b140b3900
Allow blocking uploads by way of bugs with the block-proposed tag set
8 years ago
Colin Watson
a2dcb26901
Make sure that containing directories exist before writing output files
...
We don't use os.makedirs(dir, exist_ok=True) as that is too strict: it fails if
the directory already exists with different permissions (e. g. with 775). Thus
introduce a helper function ensuredir().
8 years ago
Martin Pitt
e93d8ae221
Skip piuparts policy if summary file is missing
8 years ago
Colin Watson
c26dfad9c2
Skip bug-based processing if BugsV is missing
8 years ago
Colin Watson
538d5c61ff
Use default urgency for all packages if Urgencies is missing
8 years ago
Niels Thykier
3e888a9fdf
PiupartsPolicy: Improve html message
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
bcdb2b39cd
Add PiupartsPolicy to avoid piuparts regressions
...
Closes : Debian/britney2#16
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
d3e343a3bd
AgePolicy: Fix bug in creating the age file
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
fc2269ba02
rc-bugs policy: Ignored bugs are not unique to testing
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
20c2b87833
Sprinkle some "no cover" pragmas over the code base
...
Add some "no cover" to some unrecoverable exceptions
(e.g. misconfiguration) or base-class methods that are not intended to
be invoked.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
50d4d45c59
Collect suite metadata in a new member hash
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
9bc94db01c
Refactor all modules into a britney2 subdir
...
That way they are all contained.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago