Commit Graph

712 Commits (caf83b93577c8a544a37b9f7485d3ef8f07608d4)

Author SHA1 Message Date
Julien Cristau 7966ceae1a Change the default urgency setting to medium
11 years ago
Niels Thykier ea4e4493a2 Remove the old installability tester
11 years ago
Niels Thykier 7051d5b0e9 Rewrite installability tester
11 years ago
Niels Thykier cf84bcfa58 Defer building the nun-inst cache
11 years ago
Adam D. Barratt 69b3154d79 Apply various typo and clarity fixes
11 years ago
Adam D. Barratt f2f9939f20 Remove the C library placeholder for "pre-depends"
11 years ago
Colin Watson b9f6417351 Support :any architecture qualifiers for multiarch
11 years ago
Adam D. Barratt 253590ba27 Update copyright
11 years ago
Adam D. Barratt 1b89f7fa22 Rename make_hintitem() to make_migrationitem()
11 years ago
Adam D. Barratt f284e76cc4 Make MigrationItems versionned by default
11 years ago
Adam D. Barratt 909dd08542 Replace uses of MigrationItem with HintItem
11 years ago
Niels Thykier c91cfe64ae Reduce the number of "used-once" lists
12 years ago
Niels Thykier 6c81d39c2f Move newlyuninst to britney_util
12 years ago
Niels Thykier 9ad010f924 Move eval_uninst to britney_util
12 years ago
Niels Thykier 680457cbec Move write_heidi to britney_util
12 years ago
Niels Thykier bf9362be83 Move {read,write}_nuninst to britney_util
12 years ago
Niels Thykier 1c144b3eb2 Move get_reverse_tree into britney_util
12 years ago
Niels Thykier 0aa2546956 Move the package loop into register_reverses
12 years ago
Niels Thykier 5c1391da4f Move register_reverses to britney_util
12 years ago
Niels Thykier d9b20ef0ab Add container filters and use it to refactor get_reverse_tree
12 years ago
Niels Thykier de68ec6fb8 Merge get_reverse_tree and get_full_tree
12 years ago
Niels Thykier 9771c454b3 Move old_libraries_format to britney_util
12 years ago
Niels Thykier 6d6e735bac Move "undo_changes" to britney_util
12 years ago
Niels Thykier dd056f8901 Move "constants" to a new consts module
12 years ago
Niels Thykier 4b33e763a0 Move same_source to separate module
12 years ago
Niels Thykier d86d88f44f Remove unused write_bugs
12 years ago
Niels Thykier 2493520e98 britney: Do not consider "smooth-updates-only" interesting
12 years ago
Niels Thykier f7373c5fe1 britney: Refactor arguments of method
12 years ago
Niels Thykier f1e653796b britney: Refactor a part of doop_source into its own method
12 years ago
Niels Thykier 2a046dcd93 Migrate to python2.7
12 years ago
Adam D. Barratt 0657aa67c2 Remove two "the the"s
12 years ago
Adam D. Barratt 42d37972e0 Correct a thinko in a comment in should_upgrade_srcarch()
12 years ago
Adam D. Barratt 189b44695c Improve comments in should_upgrade_srcarch()
12 years ago
Colin Watson f18414f34d Apply undo list in reverse order.
12 years ago
Colin Watson 771f5d1592 Don't crash on unversioned unblock hints.
12 years ago
Adam D. Barratt 24699c1f58 Only record a package once in the source->binary package mapping
12 years ago
Adam D. Barratt 0a3713e340 Ensure that binNMUs from superseded sources are not considered
12 years ago
Adam D. Barratt 024df4f3af same_source: handle being passed "None" as a version
12 years ago
Adam D. Barratt 8c26798395 write_excuses: clear the list of excuses before building
12 years ago
Adam D. Barratt 07918e2164 hint_tester: accept all hints
12 years ago
Adam D. Barratt d1cf7116da Don't remove arch:all packages when migrating binNMUs via *pu
12 years ago
Adam D. Barratt cd47a75726 Replace a single-use list in the smooth updates checks with any()
12 years ago
Adam D. Barratt 8a3d4fd595 Use any() in tpu o-o-d checks rather than throwaway lists
12 years ago
Adam D. Barratt bc9f7cde98 Split the tpu o-o-d checks up to make them more readable
12 years ago
Adam D. Barratt 4b2e5b694c Fix tpu out-of-date checks for sources with multiple versions in tpu
12 years ago
Adam D. Barratt 2d360a1628 Don't flag unbuilt binary *pu binNMUs for removal in excuses
12 years ago
Adam D. Barratt beab8c1b7a Merge excuses "unblock" parsing for unstable and *pu
12 years ago
Adam D. Barratt b33714af92 Remove remaining "approve" hint support code
12 years ago
Adam D. Barratt f7391fc335 Make "approve" an alias for "unblock"
12 years ago
Niels Thykier 0497e95b71 Ignore sources only referenced by Built-Using
12 years ago
Adam D. Barratt e7b959b0bb Clarify the checks for existing binary packages in doop_source()
12 years ago
Niels Thykier 6330b6bd14 Always include providers of virtual packages in rdepends
12 years ago
Adam D. Barratt c95169c8ca Fix excuse invalidation checks for arch-specific dependencies
12 years ago
Adam D. Barratt 5ec47a0e72 Remove two unused variables from iter_packages()
12 years ago
Adam D. Barratt 9f3e1630b4 Make obsolete source package removal slightly more intelligent
12 years ago
Adam D. Barratt 226b779afd Fix thinko in the introduction of "recurse"
13 years ago
Adam D. Barratt 4a0b6ac068 iter_packages(): Replace "earlyabort" with (inverse sense) "recurse"
13 years ago
Niels Thykier 689204a958 Optimize the return value of get_reverse_tree
13 years ago
Niels Thykier 94c8b3a411 do_all(): Only collect lundo info if it will be used
13 years ago
Niels Thykier 5f6244e70e Simplify codeflow in do_all()
13 years ago
Niels Thykier 694d614b6b Refactor part of iter_packages into separate method
13 years ago
Adam D. Barratt 1159e2b642 Clarify how ages are calculated
13 years ago
Niels Thykier 82b9eda016 Merge Pre-Depends into Depends
13 years ago
Adam D. Barratt 86bde62017 Fix reference to "apt.pkg.ParseDepends" (-> "apt_pkg.parse_depends")
13 years ago
Adam D. Barratt 19c61e4503 Fix typo in variable name
13 years ago
Adam D. Barratt ef78fb34b2 Don't import "os" multiple times
13 years ago
Adam D. Barratt bff12b1883 Make smooth updates slightly more intelligent
13 years ago
Adam D. Barratt 5ba953a78d Fix transposition of arch/suite in tpu "not yet built" links
13 years ago
Adam D. Barratt c571e8fdba Fix "block-all source" handling
13 years ago
Adam D. Barratt da69fb39ca Perform basic sanity checking when reading hints files
13 years ago
Cyril Brulebois 6e701a09cd britney: Print the current package to stderr when AIEEEing.
13 years ago
Niels Thykier 3e9c1acb8e britney: Never strip multi-arch in dependencies
13 years ago
Niels Thykier edbd7f4563 Remove some unused fields and methods in excuse
13 years ago
Niels Thykier d41bf54585 Convert all classes to "new-type" Python classes
13 years ago
Niels Thykier ed905b99c7 Made is_valid and dontinvalidate properties in Excuse
13 years ago
Niels Thykier 85221000eb Read testing data files only once
13 years ago
Niels Thykier 5814723a08 Completer: use britney.upgrade_me instead of generate_package_list
13 years ago
Niels Thykier 8900680cb1 Removed the notion of "depth" in britney
13 years ago
Niels Thykier 1c95bec3e9 Pre-append $B2dir/pythonX(.Y) to sys.path if it exists
13 years ago
Niels Thykier 5dc2888597 Removed unused return value from excuse_unsat_dep
13 years ago
Niels Thykier ed21179110 Refactor installability test in iter_packages into separate method
13 years ago
Niels Thykier f48897a3ba Make "affected" a set based on the usage of it
13 years ago
Niels Thykier de8765e918 Removed compat-mode and (the now redundant) auto-hinter cmd option
13 years ago
Niels Thykier e26bc23818 Constant propagate "strict" variable
13 years ago
Mehdi Dogguy cabb9deec0 Migrate to python-apt 0.7.100 API
13 years ago
Niels Thykier a717404f0d Use "key" instead of "cmp" when sorting excuses
13 years ago
Niels Thykier 4a1bee1fc9 Import reduce via functools
13 years ago
Niels Thykier b15a93459c Replaced "x.has_key(y)" with "y in x"
13 years ago
Adam D. Barratt beecac6f4d Remove non-sensical text from should_upgrade_src's docstring
13 years ago
Adam D. Barratt 9327529ba8 Automatically remove obsolete source packages from testing.
13 years ago
Niels Thykier 3f4f1b4c23 Refactored the "undo" code into its own method
13 years ago
Adam D. Barratt d626dee30c Consistently format package names when processing hints.
13 years ago
Niels Thykier 917b848455 Simplified get_reverse_tree
13 years ago
Niels Thykier b0ce8b4b7f Removed unused "excluded" argument for some methods
13 years ago
Adam D. Barratt 19b5063cea Fix brown paper bug handling "hint"s with multiple package initial sets
13 years ago
Adam D. Barratt 74aa9dfea8 Switch to using Python 2.6
13 years ago
Adam D. Barratt 76b2449c1e Support implicit (t)pu hint items
13 years ago
Adam D. Barratt f6ba71d0e9 Simplify hint override checking
13 years ago
Adam D. Barratt 4f29a4334c Fix-up hint override logic
13 years ago
Adam D. Barratt 1107844e8b Pass the list of supported architectures to MigrationItem
13 years ago
Adam D. Barratt ba0cdde697 Fix up spacing issues; thanks Niels.
13 years ago
Adam D. Barratt 6a360858ea "Broken architectures" fix-up
13 years ago
Adam D. Barratt b5cc598a8f Merge branch 'master' into p-u
13 years ago
Adam D. Barratt 87ac94dbdb Make it clearer that single binary removal is an implementation detail
13 years ago
Adam D. Barratt e80ee4bcf6 Merge branch 'master' into p-u
13 years ago
Adam D. Barratt 498c8fe9f6 Don't add a "full" auto-hint if the package list is the "minimal set"
13 years ago
Adam D. Barratt e6f861b664 Merge branch 'master' into p-u
13 years ago
Adam D. Barratt 85387e9a37 Make checking for smooth updates candidates smarter
13 years ago
Adam D. Barratt 8641af1c24 Use the correct (and existing) variable in an error message
13 years ago
Adam D. Barratt edd0302c97 Drop some unused imports
13 years ago
Adam D. Barratt ca97a1830c Merge branch 'master' into p-u
13 years ago
Adam D. Barratt 036d8be9d0 Don't try to call __log on a non-existent class
13 years ago
Adam D. Barratt d3b027c461 Drop unused import
13 years ago
Adam D. Barratt b85db2b308 Fix-up a broken merge so smooth updates work again
13 years ago
Adam D. Barratt 6667b8fcf9 Merge branch 'master' into p-u
13 years ago
Adam D. Barratt 120f783dfd When auto-hinting, also try a "minimal" package set
13 years ago
Adam D. Barratt 48866b513e Don't consider intra-source dependencies for smooth updates
13 years ago
Adam D. Barratt aeca75b99d Remove an unused variable
13 years ago
Niels Thykier 91baa5a4d6 Removed two unused methods, check_installable and check_conflicts
13 years ago
Niels Thykier 504a7c2d61 Allow a list as well as a tuple in Britney.do_hint
13 years ago
Adam D. Barratt 0e50a0ef44 Fix up broken logic so that binary removals work again
13 years ago
Adam D. Barratt d62f8f6bcc smooth updates: pass a list of MigrationItems to remove, not strings
13 years ago
Adam D. Barratt 0fa6e4c3fb Make sort_actions support MigrationItems
13 years ago
Adam D. Barratt 4ddb92db21 Fix up the addition of "unblock" hints for t-p-u approvals.
13 years ago
Niels Thykier e71016c5a0 Fixed tab-completion for packages containing "-"
13 years ago
Niels Thykier efca307f71 Added package completion to the readline completor
13 years ago
Niels Thykier 575adfc307 Do not crash if writing histfile fails with --hint-tester
13 years ago
Mehdi Dogguy 6ecb711860 Typo fix
13 years ago
Adam D. Barratt b9ac7af03b When auto-hinting, also try a "minimal" package set
13 years ago
Niels Thykier 4235b92460 Reduced Britney.parser to a local variable
13 years ago
Niels Thykier 0537a47589 Fixed some weird indentations
13 years ago
Niels Thykier 22a9427c21 Removed some unused local variables and arguments
13 years ago
Niels Thykier 7ef794fa21 Removed two unused methods, check_installable and check_conflicts
13 years ago
Julien Cristau c8684fc319 Typo fix
13 years ago
Adam D. Barratt 94071b1649 Don't consider intra-source dependencies for smooth updates
13 years ago
Adam D. Barratt 02ab64272c hints: rename the "hints" method to the more helpful "search".
14 years ago
Adam D. Barratt 3731b62958 Migrate "packages[0]"-style code to the package and version properties.
14 years ago
Adam D. Barratt ffccdae624 A failed unblock hint should list that hint's user, not the block's
14 years ago
Adam D. Barratt 76a83ae527 Fix some brown paper bag bugs in the hint parsing code.
14 years ago
Adam D. Barratt 25a3dd851e Move hint-using code to using HintCollection and HintItem
14 years ago
Adam D. Barratt 3dcb9464cf Migrate most code parsing package names to use MigrationItems.
14 years ago
Adam D. Barratt 606568f675 Grammar / spelling fix some comments
14 years ago
Adam D. Barratt 5682922d34 Bring the author and version information in sync with reality.
14 years ago
Adam D. Barratt eda7ce8839 Update a comment to account for proposed-updates support.
14 years ago
Adam D. Barratt 3933823a74 Add myself to the copyright information.
14 years ago
Adam D. Barratt fe37b57c91 Better document the new auto-hinter functionality.
14 years ago
Adam D. Barratt 7666c5e2d5 Make the auto-hinter more intelligent.
14 years ago
Adam D. Barratt 7ad9eb0b35 Avoid marking more valid excuses as impossible.
14 years ago
Adam D. Barratt 72c5d612eb Avoid marking some valid excuses as impossible.
14 years ago
Adam D. Barratt b15232e352 Stop referring to impossible dependencies as "unpossible".
14 years ago
Adam D. Barratt 9c968fd220 Fix up p-u optionality
14 years ago
Adam D. Barratt bea99287e5 Make reading of pu package lists optional
14 years ago
Adam D. Barratt 6abb29a8e6 Merge and re-factor some pu and tpu tests
14 years ago
Adam D. Barratt b3d9254492 Add initial support for pulling updates from stable-proposed-updates
14 years ago
Adam D. Barratt c0e15035d1 Make a variable name more descriptive (first -. circular-first)
14 years ago
Adam D. Barratt ad527d48a1 Enhance the auto-hinter to support non-circular dependencies
14 years ago
Adam D. Barratt db6ccbf438 Simplify (and fix) logic for assigning section "faux" to fake sources
14 years ago
Philipp Kern a088234d3c britney.py: turn on unbuffered writing
14 years ago
Adam D. Barratt daa08df3c4 Fix typoed method name. Thanks, Julien Cristau.
14 years ago
Adam D. Barratt 863f0b5952 Re-enable writing of "Dates" at the end of the run.
14 years ago
Adam D. Barratt e23b837aad List packages which became uninstallable during the run (if any)
14 years ago
Adam D. Barratt dec87f26ed Documentation typo / grammar fixes
14 years ago
Adam D. Barratt 709ea952bb Ensure reverse-dependencies of superseded packages are always checked.
14 years ago
Adam D. Barratt a8e4ce0063 Replace references to "not installable" packages with "non-installable"
14 years ago
Adam D. Barratt 47a0dfc896 Stop claiming to be reading/writing bug counts.
14 years ago
Adam D. Barratt 0cf9634527 Typo fix ("builded" -> "built")
14 years ago
Adam D. Barratt 4cfc17d09b Fix incorrect uninstallability counters caused by failed "easy" hints
14 years ago
Adam D. Barratt 347022bb01 Fix handling of arch:all to arch:any transitions
14 years ago
Adam D. Barratt c0701517f6 Fix up attempts to access the lists of RC bugs by the wrong names
14 years ago
Adam D. Barratt a8332058ee Improve handling of bugs listed against src:foo
14 years ago
Adam D. Barratt b36fb9a2ce One more reverse-dependency move to get_reverse_tree()
14 years ago
Adam D. Barratt 818d3ebd45 Make all reverse dependency checks use get_reverse_tree()
14 years ago
Adam D. Barratt d4a025bf42 Move recursive reverse dependency calculation into get_reverse_tree()
14 years ago
Adam D. Barratt ef71f0e33a When undoing a hint, remove new binaries before re-adding those removed
14 years ago
Mehdi Dogguy ed745af789 Update buildd links (s@build.php@status/logs.php@)
14 years ago
Adam D. Barratt df6f50bbd5 Make the recursive reverse depenedency list building more efficient
14 years ago
Adam D. Barratt de312e4138 Add support for the python-apt 0.8 API.
14 years ago
Adam D. Barratt a81988592a Don't try to build dependency trees for non-existent packages
14 years ago
Adam D. Barratt e47201d0f2 Correctly handle uninstallable arch:all to installable arch:any moves
14 years ago
Adam D. Barratt ac61205d02 Improve the checks for affected packages during a sourceful update
14 years ago
Adam D. Barratt f7117c1ea4 Really make britney2 work with python 2.5
14 years ago
Adam D. Barratt 38c842eb9e Correctly handle removal of failed tpu binNMUs in "easy"s or "hint"s
14 years ago
Adam D. Barratt 5e3a245759 Properly remove failed tpu binNMUs from the result set
14 years ago
Adam D. Barratt a8d8b8c451 Simplify the method of removing broken arch packages from the main list
14 years ago
Adam D. Barratt e74b600d7c Process tpu packages on broken arches in the broken architecture run
14 years ago
Adam D. Barratt b6d75ce442 Fix a typo
14 years ago
Adam D. Barratt 6ac2a58e53 Stop trying to support partial removals from tpu; they make no sense
14 years ago
Adam D. Barratt 19a7792982 Correctly handle binNMUs in t-p-u
14 years ago
Adam D. Barratt a11f4f6cfe Ignore arch:all packages when checking t-p-u readiness
14 years ago
Adam D. Barratt a015c1ef63 Make "approve" hints require the tpu package to be built on all arches
14 years ago
Adam D. Barratt 4cdd25e517 Correctly process source packages in t-p-u
14 years ago
Adam D. Barratt 0c948a03f8 Add implicit unblocks for t-p-u approvals
14 years ago
Adam D. Barratt 7bba1173e0 Increase the size of the tables used for storing package information
15 years ago
Adam D. Barratt f6c8c52fc7 Sort the lists of old / new RC bugs before listing them
15 years ago
Adam D. Barratt 370d31b4ef Use self.__log() when warning about malformed BugsV lines
15 years ago
Adam D. Barratt 92cf5754fc Print a warning if there are no unblock{,-udeb} hints
15 years ago
Adam D. Barratt 1e4a1aa727 Override unblock{,-udeb} hints based on the versions they apply to
15 years ago
Adam D. Barratt 644caa3f31 Fix typoes and grammar
15 years ago
Adam D. Barratt fa6b95e0b3 Remove duplicate binary packages when building package lists
15 years ago
Adam D. Barratt 775cfc6f2b Modify the semantics of the "force" hint
15 years ago
Adam D. Barratt 0cf4dc85f6 Only include the latest version of each source package
15 years ago
Adam D. Barratt 5809c672b7 Quote input used in URLs
15 years ago
Adam D. Barratt b711ef84a0 Support bugs filed against src:foo
15 years ago
Adam D. Barratt 9336be8d7d Print a warning about malformed lines in the RC-bug list files
15 years ago
Adam D. Barratt 975ac48a41 write_bugs(): Fix format string; the bug list is a string, not a number
15 years ago
Adam D. Barratt 15f02bddd6 Update documentation relating to release-critical bugs
15 years ago
Jurij Smakov bb1d1a6f0a Add support for Breaks to b2.
16 years ago
Jurij Smakov f61e151946 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.
16 years ago
Jurij Smakov f847e1b3c4 Return all packages solving a dep through virtual packages (like b1 does), not just the first one. This eliminates some b1/b2 excuse diffs.
16 years ago
Jurij Smakov e522e541e6 More hints -> self.hints fixes.
16 years ago
Jurij Smakov f52dea4d51 Use correct self.hints instead of non-existent hints.
16 years ago
Jurij Smakov cda3145d95 Add udeb blocking/unblocking support for b2.
16 years ago
Adeodato Simó cf2bc3cbfb Go back to Python 2.4, since there are buggy results with 2.5.
16 years ago
Adeodato Simó 75438d5854 britney.py: make executable.
16 years ago
Adeodato Simó 4f53a3db15 Print to stdout without --hint-tester, and print to output.txt with it.
16 years ago
Fabio Tranchitella a44222fc44 Fixed a typo in write_control: we really want to write the maintainer, so
17 years ago
Fabio Tranchitella 633eb5301f Fix a bug in write_control: we use lists and not dictionaries for storing
17 years ago
Adeodato Simó c16bb0cc20 Compare version of approve hints against t-p-u and not testing.
17 years ago
Adeodato Simó b426d2a202 Make hints['approved'] also a dictionary.
17 years ago
Fabio Tranchitella 83022051b1 Do not read approvals, they are not used anymore; use the "approve" hints for
17 years ago
Fabio Tranchitella 872d087b56 My interpretation of britney's behaviour was wrong (and, strange enough, the
17 years ago
Fabio Tranchitella 523bbf139b Applied patches from dato: make check_out emit a more human-readable output,
17 years ago
Fabio Tranchitella 45322a7fc6 In fact, running in check-out mode all the architectures are nobreakarch; thanks dato.
17 years ago
Fabio Tranchitella ac69b8d8b7 in check-out mode, nobreakall shuold be empty
17 years ago
Fabio Tranchitella 1768a56d7b Added check-out mode for britney.py
17 years ago
Fabio Tranchitella 024770f558 Do not break if SMOOTH_UPDATES is empty.
17 years ago
Fabio Tranchitella 752b3aab77 Implemented history for the command line hint tester (patch from dato).
17 years ago
Fabio Tranchitella 2cb47f7af2 Updates for arm/armel.
17 years ago
Fabio Tranchitella 469d67fca2 This should fix the diffs, armel is a BREAK_ARCH.
17 years ago
Fabio Tranchitella 52ad4f0e26 Synchronization of hinters and permissions from the original version.
17 years ago
Fabio Tranchitella 41bdd841cf Implemented the --hints="urgent foo/1; force bar/2". The hints are used
17 years ago
Fabio Tranchitella 0db947c498 Let's enable the second round again, we'll discuss about optimizations
17 years ago
Fabio Tranchitella 24cf4c0dbb Implemented the hint-tester interface to interactively test easy, force-hint and hint hints; removed djpig from the hinters.
17 years ago
Fabio Tranchitella 0b5c20b589 You can now configure the path for the HeidiResult file.
17 years ago
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
17 years ago
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;
17 years ago
Fabio Tranchitella 4987a3c056 Fixed a typo.
17 years ago
Fabio Tranchitella 3dc3be1c72 Merge with the last official release of Britney.
17 years ago
Fabio Tranchitella d16584a8ca Fixed a strange behaviour of extension-based testing system.
19 years ago
Fabio Tranchitella 9517eb810a Small output enhancements.
19 years ago
Fabio Tranchitella 35a0a044b3 Added auto-hinter option; updated architecture configuration.
19 years ago
Fabio Tranchitella e6d3628aef Fixed a stupid bug in the hinting code.
19 years ago
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.
19 years ago
Fabio Tranchitella 3825241619 Britney ported to is_installable: the code runs, but more testing is needed.
19 years ago
Fabio Tranchitella 758b0718bc Removed a call to keys method, it is useless.
19 years ago
Fabio Tranchitella f4db64b83a Something went wrong with the last commit: restored a single line.
19 years ago
Fabio Tranchitella 070ce39f96 Small performance improvement: do not copy the list of broken packages over and over, just mark when it is changed.
19 years ago
Fabio Tranchitella 3327c07bd9 Improve memory usage: use a list instead of dictionary to store packages; this reduce the memory usage of a 50% factor.
19 years ago
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).
19 years ago
Fabio Tranchitella 90a090767e Undo changes if the hint is not successful.
19 years ago
Fabio Tranchitella 333b76f04c Several (last, I hope) fixes.
19 years ago
Fabio Tranchitella ab05768171 Several fixes.
19 years ago
Fabio Tranchitella 53a2923fea Output enhancements; small changes for the do_all method.
19 years ago
Fabio Tranchitella 3c58b798cd Fixed a bunch of minor issues with the output.
19 years ago
Fabio Tranchitella c313a5f644 Cosmetic change.
19 years ago
Fabio Tranchitella d966ada77b Fixed a cosmetic bug.
19 years ago
Fabio Tranchitella da58215dd1 Fixed a bug: conflicts with virtual packages in check_conflicts.
19 years ago
Fabio Tranchitella fd15f44b0c Fixed a bug in the conflicts checker.
19 years ago
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.
19 years ago
Fabio Tranchitella 6272abd122 Merged with new upstream release (thanks, aj).
19 years ago
Fabio Tranchitella 6078ef1c2d It seems that old britney changed behaviour regarding versioned dependencies on virtual packages; modified TODO and BUGS.
19 years ago
Fabio Tranchitella 61e48c2229 Small fixes for the update excuses.
19 years ago
Fabio Tranchitella da94ff9457 Handle single architecture testing-proposed-updates update.
19 years ago
Fabio Tranchitella b0ef0af348 Fixes for single-architecture updates.
19 years ago
Fabio Tranchitella 8c9bac0eea Implemented support for old libraries (enabled by default if --compatible is not used).
19 years ago
Fabio Tranchitella d461205430 Implemented auto-hinter.
19 years ago
Fabio Tranchitella 14e8d8887b Removed import of upgrade, it is not in the repository.
19 years ago
Fabio Tranchitella 9f439cb304 Fixed a typo.
19 years ago
Fabio Tranchitella 330380784a Implemented control file rewriter.
19 years ago
Fabio Tranchitella 185e4b3ab2 Implemented undo for hints.
19 years ago
Fabio Tranchitella 7c3083e8ae Fixed a few FIXME entries.
19 years ago
Fabio Tranchitella a852f13834 Fixed a bug in iter_packages: we dropped a package at the end of the first iteration.
19 years ago
Fabio Tranchitella 6fa3cd188d A little more on hints, almost completed.
19 years ago
Fabio Tranchitella 04e735af4b Implemented output stuff and half of the hints processing.
19 years ago
Fabio Tranchitella 90768aa4e3 Improved performances sorting in a smart way the list of actions (only enabled if --compatible is not used).
19 years ago
Fabio Tranchitella dc1a84151d Fixed the undo for single architecture updates.
19 years ago
Fabio Tranchitella db63948c5f Improved performances sorting actions before UpgradeRun.
19 years ago
Fabio Tranchitella 3a323bdc41 Performance improvements and detailed documentation for the UpgradeRun.
19 years ago
Fabio Tranchitella 1f9ba4410c Other fixes.
19 years ago
Fabio Tranchitella b57aefed68 Fixes for doop_source: update the virtual packages list while processing actions.
19 years ago
Fabio Tranchitella e81aa4250b Small fixes for UpgradeRun, which is almost complete.
19 years ago
Fabio Tranchitella 6f69de7da0 Several improvements in algorithms and performances.
19 years ago
Fabio Tranchitella a9e7101d65 Implemented --actions command line option.
19 years ago
Fabio Tranchitella 9802ae9914 New algorithm for conflicts checks; improved general performances.
19 years ago
Fabio Tranchitella f96887ca41 Fixed a bug in iter_packages for single-arch operations.
19 years ago
Fabio Tranchitella 0cc91e9a28 Removed unused variables.
19 years ago
Fabio Tranchitella b21863f9fd Minor performance improvements.
19 years ago
Fabio Tranchitella 1df9db222d Performance improvements.
19 years ago
Fabio Tranchitella b6b677620b Added a list of known bugs for the old britney, fixed a bug while evaluating nuninst.
19 years ago
Fabio Tranchitella f19c391289 Ops, I missed this patch.
19 years ago
Fabio Tranchitella 24674215cd iter_packages eat the list, so we need to pass a copy.
19 years ago
Fabio Tranchitella 6abbd90bfc Several fixes for the output file; added support for decrements of the uninstallability count.
19 years ago
Fabio Tranchitella 88fefc93df Added reverse conflicts to packages: this is implemented after some discussion with aj in order to catch in advance packages which are uninstallable after a conflicting package in their dependency tree changes.
19 years ago
Fabio Tranchitella caa3c19dcd Small changes for the output file.
19 years ago
Fabio Tranchitella 728cfa7d6c Britney allows versioned dependencies on virtual packages while generating excuses but not while executing UpgradeRun. This seems weird to me, but I have to stay with it as long as I need to compare my output with the original one.
19 years ago
Fabio Tranchitella f61981a611 Register reverse dependencies for real packages which provides virtual packages.
19 years ago
Fabio Tranchitella c6947cfefb Track reverse dependencies for new binaries, too.
19 years ago
Fabio Tranchitella 199dcbd927 The "I don't know why I chose this job" changeset: fixed the undo code.
19 years ago
Fabio Tranchitella 17bade51a7 First implementation of conflicts for UpgradeRun.
19 years ago
Fabio Tranchitella e3b6b42181 Support for single-architecture updates.
19 years ago
Fabio Tranchitella db59ded380 Small (silly?) optimization and variable rename.
19 years ago
Fabio Tranchitella 4c244612e5 Fixed a bug in broken reverse-depending packages: we need to loop untill no changes are detected.
19 years ago
Fabio Tranchitella 8bd331e037 Several important fixes to excuse generation and upgraderun; rebuild documentation.
19 years ago
Fabio Tranchitella 5183a97046 Fixed a (stupid) typo.
19 years ago
Fabio Tranchitella e8f90413a1 Several improvements for UpgradeRun code.
19 years ago
Fabio Tranchitella 3e75f09c49 Fixed a bug for binNMUs detect.
19 years ago
Fabio Tranchitella e08abbcb44 First implementation of UpgradeRun, actually limited to removed sources.
19 years ago
Fabio Tranchitella 82bafce7a3 Removed rdepends generation, it is probably too much cpu intensive and could be computed on-line.
19 years ago
Fabio Tranchitella ec4469c589 Added a verbose explanation of how the excuses are generated as docstring for the module britney.
19 years ago
Fabio Tranchitella f7b9bdc1f4 Support for fake source packages, which solved the last compatibility issues for the old britney code.
19 years ago
Fabio Tranchitella 8ba92ccadb Minor fixes for excuse generation.
19 years ago
Fabio Tranchitella b1603db2e4 Initial import, excuses generation almost working.
19 years ago