Niels Thykier
d644d7554a
Move "old_libraries" to britney_util
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-03-10 18:48:04 +01:00
Niels Thykier
3f86ef3299
Move write_controlfiles to britney_util
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-03-10 18:48:04 +01:00
Niels Thykier
329f1901b4
Factor write_sources into its own function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-03-10 18:48:04 +01:00
Colin Watson
9b75fcf037
Fix unsatisfied-deps handling of packages without dependencies.
2014-03-05 16:14:48 +00:00
Martin Pitt
612ed80785
merge with trunk
2014-03-05 16:23:55 +01:00
Colin Watson
5974b25d99
Fix inverted logic in should_upgrade_srcarch.
2014-03-05 15:12:45 +00:00
Colin Watson
c493d9380b
Merge lp:~pitti/britney/britney2-autopkgtest-fixes with my adjustments.
2014-03-05 15:04:19 +00:00
Colin Watson
62bf1130f7
Take a different approach to excluding packages with unsatisfiable dependencies (see https://code.launchpad.net/~pitti/britney/britney2-autopkgtest-fixes/+merge/208657 ).
2014-03-05 15:03:45 +00:00
Adam D. Barratt
92fe1724db
Fix a crash during installability testing
...
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2014-02-27 18:12:54 +00:00
Martin Pitt
3d95702a59
Block packages with unsatisfiable depends and don't run tests for them
...
In excuse_unsat_deps(), mark unsatisfiable dependencies not just in the HTML,
but also in the invalid_deps list. If we have any of those in
should_upgrade_src(), block the package and don't run the autopkgtest. This
avoid running tests for known-uninstallable packages, which just leads to
guaranteed failures, manual intervention of re-running tests after it becomes
installable, and spamming maintainers with a FAIL/PASS notification.
2014-02-27 18:40:50 +01:00
Martin Pitt
2d73f30d64
run britney in verbose mode
2014-02-27 18:38:20 +01:00
Martin Pitt
882a985966
add --debug option mock adt-britney
2014-02-27 16:01:34 +01:00
Martin Pitt
5e54ba9018
some more tests
2014-02-25 08:14:11 +01:00
Martin Pitt
319bb8260b
use symbolic constants instead of True/False for considered status
2014-02-25 08:05:39 +01:00
Martin Pitt
a6a086c4b5
add failing test for test results from a previous version
2014-02-19 17:25:19 -08:00
Martin Pitt
d59d78f718
Add tests for multiple reverse dependencies with tests
...
This reproduces the failure to hold back gccgo-4.9 due to the broken libgcc1
package. This only seems to happen when a new source package takes over an
existing binary package.
2014-02-19 15:02:19 -08:00
Martin Pitt
899417b78d
return britney output as well, and add some commented-out extra debugging
2014-02-19 15:02:11 -08:00
Martin Pitt
0f5d8cfdcc
fix mock adt-britney request for RUNNING
2014-02-19 15:01:00 -08:00
Martin Pitt
fecf3be811
refactoring, add tests for passing and failing adt test
2014-02-19 13:36:20 -08:00
Martin Pitt
e1dc047c7e
Add first tests for the autopkgtest integration
...
This currently checks that an autopkgtest is triggered for an installable
package, and that no autopkgtest is triggered for an uninstallable one
(failing, demonstrating a bug).
2014-02-18 16:59:59 -08:00
Niels Thykier
131a51ea25
Sync britney_nobreakall.conf with recent changes
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-31 21:48:17 +01:00
Niels Thykier
5dfa64624f
britney.conf: Remove ia64 from testing
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-31 21:38:44 +01:00
Niels Thykier
07ad1de5de
britney.conf: Add sparc to {BREAK,FUCKED}_ARCHES
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-29 23:04:28 +01:00
Niels Thykier
3dc4a6367f
Write "HeidiResultDelta" file containing the changes of the run
...
Based on Colin Watson's code to do the same from the "britney2-ubuntu"
repository[1] revision 306, 308 and 309.
Notable differences include:
* output include version of source package being removed
* output prefix removals with a "-" (otherwise it would be identical to
a upgrade/new source with the change above).
[1] http://bazaar.launchpad.net/~ubuntu-release/britney/britney2-ubuntu/revision/306
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-11 09:03:16 +01:00
Colin Watson
33c441c500
ppc64el has pretty much caught up now; remove it from OUTOFSYNC_ARCHES.
2013-12-23 13:45:08 +00:00
Julien Cristau
cc644bc57f
Avoid exploding when reading broken hints
...
If hint.check() fails, just ignore the hint instead of killing britney.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-12-16 23:05:09 +01:00
Colin Watson
504a95d7c6
Add ppc64el to ARCHITECTURES and OUTOFSYNC_ARCHES.
2013-12-16 11:32:42 +00:00
Niels Thykier
36da23b5b7
britney.py: Remove obsolete comment about AIEEE
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-15 05:13:12 +01:00
Ivo De Decker
0214b41a4f
Add note when a pkg is being removed because it is not in sid
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:56:51 +01:00
Niels Thykier
d9f04b88c9
britney.conf: Add EXCUSES_YAML_OUTPUT
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:49:17 +01:00
Niels Thykier
36b58958a3
excuse: Rename "generated" to "generated-date"
...
"generated-date" suggests the value as a date, whereas "generated"
suggests a boolean value.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
f9d2d78734
util: Add new "write_excuses" function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
9e25dc2613
INSTALL: Mention the need for python-yaml
...
Also prune the "2.7" in the package names under the assumption
that people are running Jessie.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
93af0aac7a
excuse.py: Add "is-candidate" to the excuse
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
1ab07cb054
excuse.py: Rename keys to include "-" between words
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
0304b1adb4
excuse.py: Use a set for storing bugs
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Ivo De Decker
c971474945
handle export for excuse with 'force'
2013-12-11 21:21:15 +01:00
Ivo De Decker
e109b446df
add remove reason when package not in unstable
2013-12-11 21:21:13 +01:00
Ivo De Decker
369f01e8d2
first attempt at adding reason
2013-12-10 22:27:32 +01:00
Ivo De Decker
511a25707b
add bug list to yaml
2013-12-10 22:27:32 +01:00
Ivo De Decker
b7d6ee82d9
first attempt at yaml logging
2013-12-10 22:26:26 +01:00
Ivo De Decker
24d0dd7d4e
fix maintainer regex to get rid of excess space
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-06 22:45:06 +01:00
Ivo De Decker
ce6357b671
if hintsdir is defined, read hints from there
...
This introduces a new variable HINTSDIR, which overrides the location of the
Hints dir (normally it is read from the UNSTABLE dir).
Please note that this is the location of the dir that contains the Hints dir.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-06 22:45:01 +01:00
Ivo De Decker
1163101cf7
read hints earlier
...
This allow to do quicker test of the code that reads the hints.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-06 22:44:56 +01:00
Ivo De Decker
c7c16a2a25
if outputdir is defined, write dates file there
...
This introduces a new variable OUTPUTDIR, which overrides the location where
the new dates file is written. This allow to run britney against a read-only
copy of the data.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-06 22:44:50 +01:00
Julien Cristau
a2d1793ab6
Fix urgency reading to obey 'low'
...
Set the default to maxint until we've read something.
Reported-by: Ivo De Decker <ivo.dedecker@ugent.be>
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-12-02 20:48:06 +01:00
Adam D. Barratt
d6adff3011
Only output arch:all packages which correspond to the testing source
...
If an architecture is marked as fucked, britney's package list for that
architecture may include arch:all packages for an older version. When
outputting the result file, we should not include those packages as
they will lead to import failures.
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-12-02 09:15:32 +00:00
Julien Cristau
6fd11db7e9
Change the default urgency setting to medium
...
But don't force urgency to medium for new packages, they can still be
low.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-12-01 19:01:19 +01:00
Adam D. Barratt
e06f514b80
Update hint permissions in line with team changes.
...
- Add ivodd
- Remove luk, he, vorlon and neilm
- Move faw to STANDARD
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-11-28 20:56:11 +00:00
Niels Thykier
d3dea1be37
Remove the old installability tester
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-11-27 19:54:22 +01:00