873 Commits

Author SHA1 Message Date
Colin Watson
93291250c6 avoid duplicates in source BINARIES element when multiple versions of a package (e.g. Architecture: all) are present 2012-11-13 12:42:51 +00:00
Colin Watson
b91d765819 drop armel for real, since it's now disabled 2012-11-09 23:57:29 +00:00
Colin Watson
a69a17a4af remove armel from BREAK_ARCHES again; something in the do_all path for break_arches is causing britney to crash, and armel will go away soon enough anyway 2012-11-09 23:42:54 +00:00
Adam Conrad
e70da8c049 Allow armel to break for now, we'll remove it entirely from the ARCHES list when it's gone from raring 2012-11-09 14:29:17 -07:00
Colin Watson
0211319d6b update contact information for Ubuntu 2012-11-09 10:48:04 +00:00
Colin Watson
1efcf2f084 add myself as a hinter 2012-11-08 14:06:16 +00:00
Colin Watson
15b3eb2cba fix handling of removed Architecture: all packages while merging binaries 2012-11-08 14:01:52 +00:00
Colin Watson
8974b4d77b properly isolate source and target sources entries when merging 2012-11-07 18:49:18 +00:00
Colin Watson
9a714f2213 optionally merge packages from testing to unstable, to cope with a partial unstable suite 2012-11-04 00:03:26 +00:00
Colin Watson
82a1d9f15d only write delta if delta_output is configured 2012-10-29 17:38:34 +00:00
Colin Watson
afe4ce0a4c binary-only promotions are still by source package, so look them up appropriately 2012-10-29 16:54:48 +00:00
Colin Watson
2034272f1c handle binary-only promotions when writing delta 2012-10-29 16:48:49 +00:00
Colin Watson
c15542af29 buildd.debian.org -> launchpad.net 2012-10-23 15:48:47 +01:00
Colin Watson
e2403eade5 Write upgrade delta to output/Delta. 2012-10-22 15:10:05 +01:00
Colin Watson
8254582a55 Make tpu optional. 2012-10-22 14:35:49 +01:00
Colin Watson
94fb167f5f Use relative paths; set Ubuntu architecture test; set Ubuntu hint permissions. 2012-10-22 14:00:38 +01:00
Colin Watson
e8beb5f5e0 Make removal of obsolete source packages configurable, and disable it for Ubuntu for now. 2012-10-22 13:55:11 +01:00
Colin Watson
cacf326907 Skip bug-based processing if BugsV is missing. 2012-10-22 13:52:14 +01:00
Colin Watson
a9f50bc26b Use default urgency for all packages if Urgencies is missing. 2012-10-22 13:50:07 +01:00
Colin Watson
7049af338d Skip date-based processing if Dates is missing. 2012-10-22 13:47:52 +01:00
Colin Watson
ee9bb6c002 Python 2.6 -> 2.7 2012-10-22 13:43:51 +01:00
Colin Watson
975852afca Fix checklib link order. 2012-10-22 13:42:33 +01:00
Adam D. Barratt
998d6ee2bc Disable new smooth updates
Setting SMOOTH_UPDATES to a string which is neither a valid section
name (nor the magic string "ALL") should allow removal of old libraries
to continue without any new smooth updated libraries being accepted.

An empty SMOOTH_UPDATES would also stop removals from occurring.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-07-02 22:13:59 +00:00
Adam D. Barratt
406ca73f26 Sync with live configuration
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-06-21 17:43:31 +00:00
Adam D. Barratt
a059a18406 Fix thinko in the introduction of "recurse"
"not force and not earlyabort" simplifies to "not earlyabort" rather
than "not force", as an easy hint would set "earlyabort" but not
"force".

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-05-22 21:16:36 +00:00
Adam D. Barratt
ae05fb28db iter_packages(): Replace "earlyabort" with (inverse sense) "recurse"
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-05-22 19:56:11 +00:00
Niels Thykier
90bb65383f Optimize the return value of get_reverse_tree
All callers of get_reverse_tree compute the same modification of its
return value, so move that computation into get_reverse_tree.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-05-22 15:22:31 +02:00
Niels Thykier
352fd3da08 do_all(): Only collect lundo info if it will be used
Side-effect, "undo" can now be inferred from lundo (being not None),
so it has been removed.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-05-22 15:22:31 +02:00
Niels Thykier
5d1ee6b57a Simplify codeflow in do_all()
Side-effect, pass lundo as parameter to iter_packages rather than
having it return the value.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-05-22 15:22:31 +02:00
Niels Thykier
caac9c870a Refactor part of iter_packages into separate method
Signed-off-by: Niels Thykier <niels@thykier.net>
2012-05-22 15:22:31 +02:00
Adam D. Barratt
088c1ed26a Clarify how ages are calculated
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-05-19 20:13:57 +00:00
Niels Thykier
7da22c74ad Merge Pre-Depends into Depends 2012-04-12 00:07:22 +02:00
Adam D. Barratt
a44dd13409 Fix reference to "apt.pkg.ParseDepends" (-> "apt_pkg.parse_depends")
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-11 21:45:31 +00:00
Adam D. Barratt
aa882fd805 Fix typo in variable name
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-11 21:33:03 +00:00
Adam D. Barratt
a62534e8d0 Don't import "os" multiple times
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-11 21:31:00 +00:00
Adam D. Barratt
66b7eca0f0 Make smooth updates slightly more intelligent
When processing a hint of the form "easy pkgX libX" where libX would be
a candidate for smooth updates because pkgX/testing depends on it but
pkgX/unstable does not, and there are no other reverse dependencies,
the old binary from libX can simply be dropped straight away.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-11 21:10:28 +00:00
Adam D. Barratt
af7987c561 Fix transposition of arch/suite in tpu "not yet built" links
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-10 18:32:27 +00:00
Adam D. Barratt
3bf778550c Fix "block-all source" handling
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-03 21:44:32 +00:00
Adam D. Barratt
8ee72661f0 Perform basic sanity checking when reading hints files
The only test currently implemented is to ensure that any prospective
hint contains at least one item beyond the hint name.  This prevents
lines in a hint file consisting simply of e.g. "easy" being added to
the hint list and causing later processing to abort with an error.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2012-04-01 22:46:05 +00:00
Cyril Brulebois
c992787918 lib/dpkg.c: Keep noise related to AIEEEs to a minimum.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2012-03-05 12:13:21 +00:00
Cyril Brulebois
47c808309b britney: Print the current package to stderr when AIEEEing.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2012-03-05 11:55:41 +00:00
Niels Thykier
5a998ea8a7 britney: Never strip multi-arch in dependencies
This causes Multi-arch dependencies like "pkg:i386" to show up as
unsatisfiable in excuses.

Previously, the dependency would be checked on the wrong architecture
(if available) and cause the package to become a valid candidate.  The
package would still be prevent from migrating as the installability
checker does not know of the "pkg:i386" package.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-02-10 14:48:01 +01: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
Niels Thykier
9a7274db93 Convert all classes to "new-type" Python classes
Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-06 19:39:57 +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
Niels Thykier
cd1735492c Read testing data files only once
Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-04 22:03:06 +01:00
Niels Thykier
34467e964a Re-added support for completing removals in tab-completer
The broken "do_hint" was caused by lack of versions in the resulting
hint.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-04 18:07:45 +01:00