Colin Watson
8b140b3900
Allow blocking uploads by way of bugs with the block-proposed tag set
8 years ago
Colin Watson
b874ff151d
Link to wiki documentation
8 years ago
Colin Watson
0fd5a5640d
Show links to Launchpad package pages in excuses
8 years ago
Martin Pitt
15aab3348a
Store Testsuite-Triggers: list in sources
...
Compute an inverse trigger → sources map, as that's usually the direction that
britney is interested in.
8 years ago
Martin Pitt
0d43a20471
Store Testsuite: list in sources
...
Extend read_sources to store the components of Testsuite: as a list.
8 years ago
Colin Watson
7eb3412828
Add a --distribution option
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
Martin Pitt
e5f306c5f5
Consider packages with M-A qualifiers for reverse dependencies
...
Strip of Multi-Arch qualifiers ":any" and ":native" when building the
dependency fields, as they are not part of the package name.
This will fix cases like
Package: ipython3
Depends: python3:any (>= 3)
and include ipython3 in python3's reverse dependencies.
Closes : #794194
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