1424 Commits

Author SHA1 Message Date
Adeodato Simó
cf2bc3cbfb 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ó
75438d5854 britney.py: make executable. 2009-03-14 15:24:02 +01:00
Adeodato Simó
e671358386 Update britney-py.c to work with Python 2.5.
These changes are cherry-picked from britney1 (7e94274 and f50c039).
Commit messages follow.

7e94274: Use python 2.5.
f50c039: use PyObject_DEL() for memory allocated with PyObject_NEW().

See http://www.python.org/doc/2.5.4/whatsnew/ports.html (section about
"obmalloc"): Python 2.5 is no longer lenient about code that mixes NEW/DEL
from different memory families of functions.
2009-03-14 12:46:33 +01:00
Adeodato Simó
4f53a3db15 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
Fabio Tranchitella
13a0f4d654 armel is now a regular release arch 2008-05-25 09:22:39 +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
Adeodato Simó
4f33613b13 Add a .gitignore file. 2008-05-20 17:37:56 +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
a3667cb3b1 Removed armel from new arches, added back to break arches. 2008-04-24 08:47:34 +00:00
Fabio Tranchitella
f23c31d59f Removed armel from break arches. 2008-04-24 07:37:54 +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
5db6d600a8 Sync britney.conf with the upstream version. 2008-03-03 08:57:01 +00:00
Fabio Tranchitella
d240438ee1 Damn, I missed fucked arches. 2008-03-01 14:54:09 +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
2529dd4093 Added pkern to the list of hinters. 2008-01-19 17:12:30 +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
e9afdfb2e0 Fixed a segfault for faux packages, which do not have the architecture field. 2006-08-23 12:54:48 +00:00
Fabio Tranchitella
b1afe1ee3d Removed a debug method, it should not be released. 2006-08-20 19:35:25 +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
ebf82f844d Portability fix: add the -fPIC flags in the Makefile. 2006-08-18 21:46:28 +00:00
Fabio Tranchitella
a0dc325294 Implemented buildSystem, removeBinary and addBinary for the c extension; added a sample python script. 2006-08-18 21:43:49 +00:00
Fabio Tranchitella
6add268c45 Create a branch for a c-extension based implementation. 2006-08-18 21:37:04 +00:00
Fabio Tranchitella
22988cb162 Added old britney's update_out.py, for real. 2006-08-18 21:30:35 +00:00
Fabio Tranchitella
c8468f9516 Imported the old britney and its libraries. 2006-08-18 21:27:54 +00:00
Fabio Tranchitella
70be82be3f Updated documentation. 2006-08-18 21:24:26 +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