360 Commits

Author SHA1 Message Date
Adam D. Barratt
b745082c46 Support bugs filed against src:foo
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

Currently a bug against src:foo is treated as if it were filed against
foo.  As both may exist in the input list, we accumulate bugs for each
package rather than assuming package names are unique.
2010-02-28 14:44:36 +00:00
Adam D. Barratt
9fc14153a3 Print a warning about malformed lines in the RC-bug list files
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2010-02-28 14:44:36 +00:00
Adam D. Barratt
fcc1d1e2bc write_bugs(): Fix format string; the bug list is a string, not a number
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2010-02-28 14:44:36 +00:00
Adam D. Barratt
ca99fe7f0c Update documentation relating to release-critical bugs
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

britney now uses the "BugsV" files rather than "Bugs".  The new
files contain a list of bugs, not a count, and the migration
of the package is dependent on there being no new RC bugs in unstable
relative to testing, rather than simply fewer RC bugs.
2010-02-28 14:44:36 +00:00
Jurij Smakov
3a75745210 Add support for Breaks to b2.
Signed-off-by: Jurij Smakov <jurij@droopy.oc.cox.net>
2009-09-06 18:00:56 +01:00
Jurij Smakov
9c73bb45ac Do not exclude fake source packages from t-p-u processing, as they provide a mechanism for sourceless packages to propagate to testing through t-p-u. This change removes some b1/b2 diffs.
Signed-off-by: Jurij Smakov <jurij@droopy.oc.cox.net>
2009-09-03 00:40:56 +01:00
Jurij Smakov
947dece70e Return all packages solving a dep through virtual packages (like b1 does), not just the first one. This eliminates some b1/b2 excuse diffs.
Signed-off-by: Jurij Smakov <jurij@droopy.oc.cox.net>
2009-08-22 19:54:08 +01:00
Jurij Smakov
b3b5d4cb36 More hints -> self.hints fixes.
Signed-off-by: Jurij Smakov <jurij@droopy.oc.cox.net>
2009-08-17 20:19:55 +01:00
Jurij Smakov
b2b6b535f7 Use correct self.hints instead of non-existent hints.
Signed-off-by: Jurij Smakov <jurij@droopy.oc.cox.net>
2009-08-16 12:20:51 +01:00
Jurij Smakov
18258e7ef9 Add udeb blocking/unblocking support for b2.
Signed-off-by: Jurij Smakov <jurij@debian.org>
2009-08-15 16:39:00 +01:00
Adeodato Simó
a666ac2bd3 Go back to Python 2.4, since there are buggy results with 2.5.
(In particular, britney2 thinks all packages are uninstallable when
executing under Python 2.5.)
2009-03-14 16:54:46 +01:00
Adeodato Simó
e23331da5c britney.py: make executable. 2009-03-14 15:24:02 +01:00
Adeodato Simó
ff434061e8 Print to stdout without --hint-tester, and print to output.txt with it. 2009-02-23 23:13:06 +01:00
Fabio Tranchitella
a44222fc44 Fixed a typo in write_control: we really want to write the maintainer, so
please use the correct field name.
2008-05-31 15:01:03 +00:00
Fabio Tranchitella
633eb5301f Fix a bug in write_control: we use lists and not dictionaries for storing
source packages in memory.
2008-05-28 11:13:56 +00:00
Adeodato Simó
c16bb0cc20 Compare version of approve hints against t-p-u and not testing.
source_u is the package as found in the origin distribution, normally
unstable, but t-p-u for t-p-u packages.

Acked by Fabio on IRC.
2008-05-20 19:37:27 +02:00
Adeodato Simó
b426d2a202 Make hints['approved'] also a dictionary. 2008-05-20 17:43:00 +02:00
Fabio Tranchitella
83022051b1 Do not read approvals, they are not used anymore; use the "approve" hints for
that purpose instead.
2008-05-20 12:27:03 +00:00
Fabio Tranchitella
872d087b56 My interpretation of britney's behaviour was wrong (and, strange enough, the
comment was correct); added a missing "not" for the if statement's condition.
2008-05-17 15:57:12 +00:00
Fabio Tranchitella
523bbf139b Applied patches from dato: make check_out emit a more human-readable output,
rename --check-out to --print-uninst; do not override the default
NOBREAKALL_ARCHES value when running in print-uninst mode.
2008-05-02 13:57:37 +00:00
Fabio Tranchitella
45322a7fc6 In fact, running in check-out mode all the architectures are nobreakarch; thanks dato. 2008-04-30 19:00:25 +00:00
Fabio Tranchitella
ac69b8d8b7 in check-out mode, nobreakall shuold be empty 2008-04-29 07:26:13 +00:00
Fabio Tranchitella
1768a56d7b Added check-out mode for britney.py 2008-04-29 05:08:58 +00:00
Fabio Tranchitella
024770f558 Do not break if SMOOTH_UPDATES is empty. 2008-04-23 17:25:56 +00:00
Fabio Tranchitella
752b3aab77 Implemented history for the command line hint tester (patch from dato). 2008-04-23 17:22:24 +00:00
Fabio Tranchitella
2cb47f7af2 Updates for arm/armel. 2008-04-20 15:49:47 +00:00
Fabio Tranchitella
469d67fca2 This should fix the diffs, armel is a BREAK_ARCH. 2008-02-28 17:23:37 +00:00
Fabio Tranchitella
52ad4f0e26 Synchronization of hinters and permissions from the original version. 2008-01-19 17:24:06 +00:00
Fabio Tranchitella
41bdd841cf Implemented the --hints="urgent foo/1; force bar/2". The hints are used
as they were coming from the user "command-line", and influence both the
excuses and the upgrade runs. This option is very useful in combination
with the hint tester interactive interface.
2008-01-17 14:27:36 +00:00
Fabio Tranchitella
0db947c498 Let's enable the second round again, we'll discuss about optimizations
later.
2008-01-17 13:59:20 +00:00
Fabio Tranchitella
24cf4c0dbb Implemented the hint-tester interface to interactively test easy, force-hint and hint hints; removed djpig from the hinters. 2008-01-15 16:09:51 +00:00
Fabio Tranchitella
0b5c20b589 You can now configure the path for the HeidiResult file. 2008-01-15 15:06:01 +00:00
Fabio Tranchitella
20621c1a27 At this point, we could schedule a periodic diff between the original excuses and the new ones; everything seems to be the same (excluding the usual bugs in the
old implementation).
2008-01-13 12:16:31 +00:00
Fabio Tranchitella
7fb9f58bb8 So well, so good: the excuses are very close to the one generated by the original Britney. Still a few differences, which in my opinion are bugs in the old one;
I don't want to implement those bugs. Full stop.
2008-01-12 19:19:26 +00:00
Fabio Tranchitella
4987a3c056 Fixed a typo. 2008-01-12 18:42:26 +00:00
Fabio Tranchitella
3dc3be1c72 Merge with the last official release of Britney. 2008-01-12 18:41:03 +00:00
Fabio Tranchitella
d16584a8ca Fixed a strange behaviour of extension-based testing system. 2006-09-05 08:32:41 +00:00
Fabio Tranchitella
9517eb810a Small output enhancements. 2006-09-05 08:15:04 +00:00
Fabio Tranchitella
35a0a044b3 Added auto-hinter option; updated architecture configuration. 2006-09-04 12:39:02 +00:00
Fabio Tranchitella
e6d3628aef Fixed a stupid bug in the hinting code. 2006-08-23 13:04:47 +00:00
Fabio Tranchitella
76b3a8cf3c Fixed a pointer problem which caused segfaults when dealing with virtual packages; fixed a bug in source removal; moved add_binary and remove_binary from the britney module to the Packages object. 2006-08-20 19:25:21 +00:00
Fabio Tranchitella
3825241619 Britney ported to is_installable: the code runs, but more testing is needed. 2006-08-18 22:50:52 +00:00
Fabio Tranchitella
758b0718bc Removed a call to keys method, it is useless. 2006-08-18 15:18:11 +00:00
Fabio Tranchitella
f4db64b83a Something went wrong with the last commit: restored a single line. 2006-08-18 14:11:46 +00:00
Fabio Tranchitella
070ce39f96 Small performance improvement: do not copy the list of broken packages over and over, just mark when it is changed. 2006-08-18 14:10:05 +00:00
Fabio Tranchitella
3327c07bd9 Improve memory usage: use a list instead of dictionary to store packages; this reduce the memory usage of a 50% factor. 2006-08-18 13:47:20 +00:00
Fabio Tranchitella
b8b362aaf5 Final (I hope) commit, the code is fully working and fully compatible with the old britney (minus the last 5 randoms tries). 2006-08-17 15:29:16 +00:00
Fabio Tranchitella
90a090767e Undo changes if the hint is not successful. 2006-08-16 19:38:34 +00:00
Fabio Tranchitella
333b76f04c Several (last, I hope) fixes. 2006-08-16 17:56:38 +00:00
Fabio Tranchitella
ab05768171 Several fixes. 2006-08-15 21:23:36 +00:00