Niels Thykier
bc0a5f6e2b
britney: Split "ood" and "unsat_deps" loops
...
The "Out of date" binaries loop has gotten too complex to also handle
the "unsatisifiable dependency" check. Concretely, we failed to
generate proper excuses for arch:all packages due to this.
Separate the two loops to restore the arch:all check.
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
24bd315c20
Update .gitignore
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Wise
94a3136f64
Drop duplicate 'has new bugs' excuses item
...
The other item includes bug numbers so this one is less useful.
Closes: https://bugs.debian.org/886509
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
20f709e157
doc: Wording/typos
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
c11d329d77
Add Makefile to generate documentation
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
0f41b1b6df
Rewrite hints as restructured text
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
90e4bb6ba2
Rewrite documentation in sphinx
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
fd03083ea5
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier
b86461f76e
.travis-ci: Drop (now) unnecessary dependency
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
b82f4fc632
autopkgtests policy: only load amqplib if needed
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
b5319e33fa
tests: Explicitly define encoding for excuses
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
5c3229467a
write_heidi: Include cruft arch:all packages in the output
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
0b58a313cb
Treat arch:all nearly as regular arch when determining out-of-dateness
...
Closes #859566
7 years ago
Niels Thykier
7217c22b42
get_dependency_solvers: The "foo:any" modifier can also appear in B-D relations
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
2242821c01
BuildDependsPolicy: Add missing build_depends=True to get_dependency_solvers
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
c195268019
piuparts: Properly discard the URL for testing
...
The PiupartsPolicy does not use the report URL for testing, so we do
not need to store it in memory. Unfortunately, the logic was broken
and the discard did not happen.
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
bda39f8ca0
Support :native in build-dependency relations
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
89765bc374
BuildDependsPolicy: Keep block_txt and block in sync
...
If a package had:
Build-Depends: foo [i386], uninstallable-pkg
Then the excuses for amd64 would point to "foo [i386]" rather than
"uninstallable-pkg".
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
ee27d7a67c
Add BuildDependsPolicy to check Build-Depends(-Arch) availability
...
Add a new "BuildDependsPolicy" that will check the satisfiability of
the build-dependencies listed in the Build-Depends and
Build-Depends-Arch fields. This enables gating of packages based on
missing / broken build-dependencies.
There are some limitations:
* Build-Depends-Indep is ignored for now. Missing or broken packages
listed in Build-Depends-Indep will be continue to be silently
ignored.
* Being a policy check, it does not enforce "self-containedness" as
a package can still migrate before a build-dependency. However,
this can only happen if the build-dependency is ready to migrate
itself. If the build-dependency is not ready (e.g. new RC bugs),
then packages build-depending on it cannot migrate either (unless
the version in testing satisfies there requirements).
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
c537f0554f
Move PolicyVerdict to britney2.policies
7 years ago
Niels Thykier
784d80ab4c
Replace a few lists with sets
...
We basically use them as sets and do not need to rely on the ordering,
so we might as well just turn them into proper sets.
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
94034f225f
excuse: Drop unused field
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
f03f59548d
Fix logic in exception handling of unknown autopkgtest results
7 years ago
Paul Gevers
597eac6130
Adapt test_autopkgtest.py so nosetests3 picks it up correctly
7 years ago
Paul Gevers
089c4f6e57
Rename new excuse field and method to unsatisfiable_on_archs and add_unsatisfiable_on_arch
7 years ago
Paul Gevers
a16e4e5a55
Enable autopkgtesting on built arches when not all have been built yet
...
- autopkgtest now honors break_arches option
- incomplete testing is now treated with penalty behavior
7 years ago
Paul Gevers
41c4729506
Only give bounty on passing packages if the package has a test suite itself
7 years ago
Paul Gevers
d975b2fc39
Make the huge queue in autopkgtest optional
7 years ago
Paul Gevers
2bb1c526e1
Update britney.conf.template for autopkgtest additions
7 years ago
Paul Gevers
b553b205ce
Add age changes due to penalties or bounties to the excuses output
7 years ago
Paul Gevers
f2f20eb460
Limit accumulated bounties to configurable minum age
7 years ago
Paul Gevers
77ea1cc8d5
Enable no-penalties urgencies; to exempt urgency >= high from penalties
7 years ago
Paul Gevers
be5a378da5
Enhance debugging information for applied bounties and penalties
7 years ago
Paul Gevers
287a9d328c
os.path.join(options.unstable, 'autopkgtest') isn't writable in the Debian setup and we have options.state_dir already
7 years ago
Paul Gevers
eb60fc557e
Implement bounty/penalty system for autopkgtest
7 years ago
Paul Gevers
f2a121bf55
Merge branch 'master' into autopkgtest
7 years ago
Paul Gevers
acec564443
Make autopkgtest web site URL an option
7 years ago
Paul Gevers
1b9fb374a2
Improve britney.conf for autopkgtest on release.debian.org (disable for now)
7 years ago
Paul Gevers
6f3f6c5903
Update INSTALL with python3-amqplib as that is needed for autopkgtest
7 years ago
Adam D. Barratt
3ee3ba5463
doc/hints.md: subject-number agreement fix
...
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
7 years ago
Adam D. Barratt
f7173b9d66
doc/hints.md: fix another couple of "Britney" -> "britney"
...
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
7 years ago
Adam D. Barratt
5e58d18676
doc/hints.md: remove gendered pronouns, to match other documentation
...
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
7 years ago
Adam D. Barratt
c6170a6042
docs/hints.md: be consistent of capitalisation of "britney"
...
Only capitalise it at the start of sentences, not within them
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
7 years ago
Adam D. Barratt
ac39d2448f
doc/hints.md: grammar fix - "if it was" -> "if it were"
...
This phrasing is the subjunctive mood, for which English always uses
"were"
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
7 years ago
Paul Gevers
e5756dec9e
Fix existing tests for autopkgtest extention of SourcePackage class
7 years ago
Paul Gevers
3dc5e41061
Fix travis call to test_autopkgtest.py
7 years ago
Paul Gevers
648feb71d3
Implement swift free usage of autopkgtest
7 years ago
Paul Gevers
ce41819e05
Try to fix travis test suite for autopkgtest code
7 years ago
Paul Gevers
bee197f085
policy/autopkgtest Add minor comments
7 years ago
Paul Gevers
278b3dcdd0
autopkgtest: switch from testing=series to testing=testing
7 years ago