100 Commits

Author SHA1 Message Date
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
Fabio Tranchitella
53a2923fea Output enhancements; small changes for the do_all method. 2006-08-15 15:32:14 +00:00
Fabio Tranchitella
3c58b798cd Fixed a bunch of minor issues with the output. 2006-08-14 11:53:19 +00:00
Fabio Tranchitella
c313a5f644 Cosmetic change. 2006-08-11 21:12:27 +00:00
Fabio Tranchitella
d966ada77b Fixed a cosmetic bug. 2006-08-08 12:53:50 +00:00
Fabio Tranchitella
da58215dd1 Fixed a bug: conflicts with virtual packages in check_conflicts. 2006-08-08 10:26:32 +00:00
Fabio Tranchitella
fd15f44b0c Fixed a bug in the conflicts checker. 2006-08-07 17:59:32 +00:00
Fabio Tranchitella
56ed063aab Run the non-installability check of the archive before loading all the architectures; added a switch to use the cached value instead of building it from the scratch. 2006-08-07 14:38:13 +00:00
Fabio Tranchitella
6272abd122 Merged with new upstream release (thanks, aj). 2006-08-07 11:06:04 +00:00
Fabio Tranchitella
6078ef1c2d It seems that old britney changed behaviour regarding versioned dependencies on virtual packages; modified TODO and BUGS. 2006-08-07 09:52:29 +00:00
Fabio Tranchitella
61e48c2229 Small fixes for the update excuses. 2006-08-06 20:41:13 +00:00