Jonathan Wiltshire
3156b2c753
Fix call to super() in SimplePolicyHint
...
Signed-off-by: Jonathan Wiltshire <jmw@debian.org>
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
e6e221ad52
Extract a compile_nuninst and move it to utils
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
eaf4660918
utils: Replace explicit loop index handling with enumerate
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
06504f2ae7
Move invalidate_exuses to utils
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
166a6533ba
completer: Replace src[X] with src.X
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
0cc7f7a8d2
Move build_installability_tester to builder.py
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
7a63784876
Move get_dependency_solvers to utils
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
c4be8436db
Move read_sources_file to utils
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
a14ced6403
Drop now unused "from __future__" imports
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
9ca30aac81
Rename a variable for clarity reasons
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
a768432eb2
solver.py: Add missing "no cover" pragma
...
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
241b17602d
utils: Remove condition that is always true
...
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
9c563f1a96
Move data classes into britney2/__init__.py
...
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
54fd517062
excuse.py: Drop now unused urgency field
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
2d8a471f70
undo_changes: Simplify case for virtual packages
...
doop_source never (no longer?) creates an element in "virtual" where
the package name is prefixed with "-", so we can drop that branch.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
1f1086b929
utils: Replace a case of b[FOO] with b.foo
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
2ce2d7efb3
utils: Remove reundant VERSION=VERSION parameter
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
dd426c81fa
Remove dead case in undo code
...
The doop_source method does not generate any /binary/ undo items,
where the package name starts with "-". This fact allows us to remove
a branch in the undo code. This also happens to be fortunate because
the call to "inst_tester.remove_testing_binary" in that branch happens
to be wrong.
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
c86e1f7e9c
britney: Skip architectures not listed in Release files
...
As a side effect, remove mips64el from NEW_ARCHES as we no longer need
that as a work around.
Closes : Debian/britney2#12
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