11 Commits

Author SHA1 Message Date
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