28 Commits

Author SHA1 Message Date
Colin Watson
b3562dbfe8 Merge trunk up to 2014-05-24 2014-12-10 10:36:01 +00:00
Colin Watson
6904969c7c Merge trunk up to 2013-12-06 2014-12-09 16:02:16 +00:00
Colin Watson
0a2b1fd4b0 Add a --distribution option; parameterise most mentions of "ubuntu" using it. 2014-07-24 15:28:12 +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
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
Colin Watson
2f1c0d5b1d Render Launchpad links for binary-only entries correctly. 2013-10-05 00:51:26 +01:00
Colin Watson
b78c9693bc Clarify excuse HTML for the mindays == 0 case. 2013-09-25 14:44:15 +01:00
Colin Watson
dddd9eb88b Don't linkify "-" versions. 2013-07-02 16:34:52 +01:00
Colin Watson
24d57f4f89 Show links to Launchpad package pages in excuses. 2013-07-02 15:39:24 +01:00
Colin Watson
75b84eebe5 Run autopkgtests for blocked packages. 2013-06-25 18:15:43 +01:00
Adam D. Barratt
e605091f24 Fix excuse invalidation checks for arch-specific dependencies
A dependency on an arch-specific package which is not a valid candidate
should lead to the depending package not being a candidate.

For now we ensure that the generated excuses output remains the same,
so that we don't have to wait for consumers to adapt to a new format.
Changing the output format should be revisited at a later point.

See Debian bug #693068.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-12-25 18:28:14 +00:00
Adam D. Barratt
081cd9afdb Merge branch 'master' of file:///srv/release.debian.org/git/britney2 2012-01-08 12:36:03 +00:00
Adam D. Barratt
e24a8aa140 Drop closing li tag from "valid candidate" messages
Although it's technically correct, none of the other messages include closing
tags, and at least grep-excuses isn't prepared to deal with closing tags.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-01-08 12:34:55 +00:00
Niels Thykier
9bf3224bd1 Remove some unused fields and methods in excuse
In the unsat_deps case, it was used to update a field in the excuse,
but the field was never read anywhere.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-06 20:52:18 +01:00
Adam D. Barratt
60aa770496 Make Excuse a new-style class, so property decorators work as expected
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-01-06 15:21:14 +00:00
Niels Thykier
ac7afef96b Made is_valid and dontinvalidate properties in Excuse
Use the is_valid in "html"-method to determine whether to write "Valid
candidate" or not.  This avoids the occasional:

 * Valid candidate
 * Invalidated by dependency
 * Not considered

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-06 14:58:14 +01:00
Adam D. Barratt
1f909bca4d Sort dependency list when outputting an excuse.
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2011-08-04 08:37:51 +00:00
Adam D. Barratt
418a9db9f9 Avoid marking more valid excuses as impossible.
Previously we could not reliably detect whether an excuse's dependency
from a source package to a binNMU was valid, as the excuse did not
contain sufficient information to determine the set of  architecture(s)
on which the dependency existed.

By modifying the representation of the dependency list in the excuse to
include an architecture list we can walk the relationships in reverse
in order to sanity-check the source -> binNMU dependency.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2011-08-03 20:53:38 +00:00
Fabio Tranchitella
90768aa4e3 Improved performances sorting in a smart way the list of actions (only enabled if --compatible is not used). 2006-08-01 13:33:06 +00:00
Fabio Tranchitella
015a01c769 Fixed a typo in excuse.py 2006-06-24 21:37:45 +00:00
Fabio Tranchitella
f7b9bdc1f4 Support for fake source packages, which solved the last compatibility issues for the old britney code.
Added documentation and comments to explain the code. It is possible to generate HTML and LaTeX documentation using doxygen.
2006-06-24 17:49:43 +00:00
Fabio Tranchitella
b1603db2e4 Initial import, excuses generation almost working. 2006-06-17 13:45:56 +00:00