Commit Graph

582 Commits (b80b8c533ade9a4aef153ead904387a82dc8d97e)

Author SHA1 Message Date
Niels Thykier 52a1dd6ffa britney.py: Remove some redundant if-statements
9 years ago
Niels Thykier 31377a7c39 Move loop invariant out of the loop
9 years ago
Niels Thykier da5e797fc9 Remove unused variables/assignments
9 years ago
Paul Wise cd66fc82d8 Do not hard-code codenames in the URL to the freeze policy
9 years ago
Niels Thykier 505e31b106 britney.py: Remove unused import
9 years ago
Emilio Pozuelo Monfort f6c974fdb7 Point to the Stretch freeze policy
9 years ago
Emilio Pozuelo Monfort 3bd5380afc britney.py: Fix migration of binNMUs for sources that have cruft
9 years ago
Adam D. Barratt 8480e1859c Always output excuses for packages with "wrong source" issues
9 years ago
Niels Thykier 1e99c780da britney.py: Fix the hint tester
9 years ago
Niels Thykier 3b610160ad britney.py: Update nuninst after writing the "accepted" stats
9 years ago
Niels Thykier 9c3d0afaf5 britney.py: Remove sort_actions, we no longer need it
9 years ago
Niels Thykier bbc6c34ca5 britney.py: Make iter_packages repeat until no more actions work
9 years ago
Niels Thykier 326cc0d98b Rewrite the main run to use the solver and allow combined migrations
9 years ago
Niels Thykier 65f74c226d Make try_migration support multiple actions
9 years ago
Niels Thykier 13d4d4801b britney: Factor out a try_migration method
9 years ago
Niels Thykier 6db0ed5ac8 britney: Move table lookup out of get_dependency_solvers
9 years ago
Niels Thykier 681a7b8cd7 Log when compiling Installability tester
9 years ago
Niels Thykier a9ee64470e Always use pkg ids in the InstallabilityTester API
9 years ago
Niels Thykier 2914a8a51b britney.py: Verify nuninst before updating control files
9 years ago
Niels Thykier 7736b53c60 Drop now unused register_reverses and RDEPENDS
9 years ago
Niels Thykier 3d5d328738 Use inst_tester to compute smooth updatable binaries
9 years ago
Niels Thykier 5123bc2317 Remove the now unused RCONFLICTS field
9 years ago
Niels Thykier 289807463e Rewrite computation and testing of "affected" packages
9 years ago
Niels Thykier 58edb64c99 Update nuninst correctly for arch:any -> arch:all migrations
9 years ago
Niels Thykier f3a8181bda britney.py: Fix statement without an effect
9 years ago
Niels Thykier 7c5fdc8aca britney.py: Use "is" rather than "==" for None comparisons
9 years ago
Ivo De Decker 606dbcb470 ignore arch all when looking for up-to-date bins
9 years ago
Ivo De Decker 984b07b58e Don't remove outdated binaries for fucked arches if they are in unstable
9 years ago
Ivo De Decker 88bf620896 Add option to ignore cruft
9 years ago
Cyril Brulebois d2fa0fb07c excuses: New try for block-udeb → d-i RM.
10 years ago
Cyril Brulebois d2bdcfc237 Revert "excuses: Point to the d-i release manager when block-udeb is involved."
10 years ago
Cyril Brulebois 6adee798cd excuses: Point to the d-i release manager when block-udeb is involved.
10 years ago
Niels Thykier 5f98e6b37b Create a clone_nuninst function for iter_packages{,_hint}
10 years ago
Niels Thykier da83e4cc23 iter_pkg: Refactor nuninst cloning
10 years ago
Niels Thykier 0043b09c45 britney.py: Avoid some O(n) look-ups in the auto-hinter
10 years ago
Niels Thykier 843952d627 Avoid O(n^2) duplication handling when building hints
10 years ago
Niels Thykier 72eb6af711 britney: Optimise original auto-hinter duplication handling
10 years ago
Niels Thykier 0b9006c36b britney.py: Pre-split self.options.*_arches
10 years ago
Niels Thykier bf3aa08023 britney.py: Minor optimisation to sort_actions
10 years ago
Niels Thykier d5cfd5aebd britney.py: Remove redundant arg to format
10 years ago
Niels Thykier e725647175 Be verbose when rejecting a hint due to invalid candidates
10 years ago
Niels Thykier d017fe1a8c Remove "leading" from hints - it provides no new information
10 years ago
Niels Thykier 2047eb1e50 Remove unused local variable
10 years ago
Adam D. Barratt b4bed1ca62 britney.py: reverse sense of tests for architecture-indep packages
10 years ago
Adam D. Barratt bc037efccb britney.py: typo fixes
10 years ago
Adam D. Barratt 11eef30869 britney.py: drop inaccurate comment
10 years ago
Anthony Towns c7fbe91b2a britney: Take more care with hijacked binaries
10 years ago
Niels Thykier d911314c2d britney.py: Enable the new consistency checks by default
10 years ago
Niels Thykier 0c5651576a britney.py: Skip ESSENTIAL consistency check
10 years ago
Anthony Towns c28bc84f57 britney: Check for mismatched packages between suites.
10 years ago
Niels Thykier b4e4ba4681 Collect more statistics from the installability tester
10 years ago
Niels Thykier 2a34970304 Compute simple stats installability tester graph
10 years ago
Niels Thykier 074eb46766 Remove unused assignments/parameters
10 years ago
Niels Thykier bfb71f966b britney.py: Remove trailing semi-colons
10 years ago
Niels Thykier 8623ffc224 britney.py: Fix use before assignment
10 years ago
Niels Thykier 74060e4e0a britney.py: Avoid some redundancy in auto_hinter()
10 years ago
Niels Thykier 2f663fa7b9 britney: Optimise the original auto-hinter a bit
10 years ago
Niels Thykier be1ee0fcd3 get_dependency_solvers: Avoid unnecessary boolean ret value
10 years ago
Julien Cristau b9f30120ad Fix silly NameError
10 years ago
Julien Cristau 994906c673 Add explicit encoding to all files
10 years ago
Julien Cristau fb2f30bcef Sources and Packages are utf-8
10 years ago
Julien Cristau d86c7b9c7a Don't crash if the urgencies file contains non-ascii
10 years ago
Julien Cristau 6c344589ee Remove dependency on six
10 years ago
Julien Cristau 354f6a6bc9 Use python3
10 years ago
Julien Cristau 18f7101847 Use six.moves for itertools, urllib and intern
10 years ago
Julien Cristau 90f5993c4a Use the key= argument to sorted()
10 years ago
Julien Cristau c79c0848e5 Stop using sys.maxint
10 years ago
Julien Cristau 2eee806263 Stop using dict.iter* methods
10 years ago
Julien Cristau 16f77bf6f9 Use python3-compatible form for except clause
10 years ago
Julien Cristau 4249d3868a Replace map() with list comprehensions
10 years ago
Julien Cristau 94666b55f9 Simplify a bit the loop to read our config file
10 years ago
Julien Cristau 58a6a6ed1d Don't use the file builtin
10 years ago
Julien Cristau 94f18322db Switch to print_function
10 years ago
Julien Cristau 6371eaf102 Remove sys.path frobbing
10 years ago
Julien Cristau 20ffcc6dc5 Fix typo
10 years ago
Niels Thykier 9d5f47a9b7 britney: Ignore "remark" hints as they are not meant for us
10 years ago
Ivo De Decker 371ad09113 excuses: show cruft and missing builds
10 years ago
Ivo De Decker 0e90214698 Link to the freeze policy for blocked packages
10 years ago
Adam D. Barratt 09f7ab83cf Don't remove arch:all binaries when migrating *pu binNMUs
10 years ago
Niels Thykier ef45659797 britney.py: Fix bug where nuninst would be copied incorrectly
10 years ago
Niels Thykier 97fcba644c britney.py: Fix a regression in nuninst counting for hints
11 years ago
Niels Thykier bae9338a74 do_all(): Only sort_actions after recurse runs
11 years ago
Niels Thykier 822d847c11 britney.py: Skip lundo maintenance in non-hint recurse runs
11 years ago
Niels Thykier 04afa83ad8 Avoid unnecessary nuninst regressions for break archs
11 years ago
Niels Thykier a2d63a1c73 Move the nuninst checker function to britney_util
11 years ago
Niels Thykier d93f299fe5 britney.py: Avoid making migration items from migration items
11 years ago
Niels Thykier f88bcd98a2 britney.py: Save a table look up
11 years ago
Niels Thykier 0714b3bed8 britney.py: Correct the hash key in nuninst_arch_report
11 years ago
Niels Thykier 4383fe93a5 britney.py: Use defaultdict instead of "{}.setdefault"
11 years ago
Niels Thykier 12691baa87 Exploit equivalency to skip unneeded computation
11 years ago
Niels Thykier 37608071e9 britney.py: Refactor doop_source
11 years ago
Niels Thykier e9a7a07856 doop_source: Remove unncessary table loop up
11 years ago
Niels Thykier baa9eebc5c doop_source: Remove redundant part of the return value
11 years ago
Niels Thykier a46dd88709 britney.py: Split iter_packages into two
11 years ago
Niels Thykier c25e7f9cd7 britney.py: Handle version-ranged dependencies a bit smarter
11 years ago
Niels Thykier e45f2fe84e britney.py: _compute_groups returns sets of tuples, not str
11 years ago
Niels Thykier d63b5a95d8 britney.py: dict does not have a .add (in _compute_groups)
11 years ago
Niels Thykier 8251b56e66 britney.py: Fix use of undefined variable
11 years ago
Adam D. Barratt 791b71d441 Remove an obsolete comment
11 years ago
Niels Thykier 1306eb664d Britney: Fix malformed removal hints from auto hinter
11 years ago
Niels Thykier afa9a543b1 britney.py: Fix bug with hinting removals
11 years ago
Niels Thykier 2079b1fb5e Add auto hinter on top of the new installability tester
11 years ago
Niels Thykier d90681eca2 Handle smooth updates better in "easy"-hints
11 years ago
Niels Thykier 643b1098d1 Rewrite, rename and extend find_upgraded_binaries
11 years ago
Niels Thykier d359759e9d Move "old_libraries" to britney_util
11 years ago
Niels Thykier 5ddd9ebc36 Move write_controlfiles to britney_util
11 years ago
Niels Thykier b429d4871e Factor write_sources into its own function
11 years ago
Niels Thykier 691bda4bd8 Write "HeidiResultDelta" file containing the changes of the run
11 years ago
Niels Thykier 7f471eca25 britney.py: Remove obsolete comment about AIEEE
11 years ago
Ivo De Decker 9345e9f6fe Add note when a pkg is being removed because it is not in sid
11 years ago
Niels Thykier a378bb6060 util: Add new "write_excuses" function
11 years ago
Ivo De Decker 87813401bf handle export for excuse with 'force'
11 years ago
Ivo De Decker a037c189e9 add remove reason when package not in unstable
11 years ago
Ivo De Decker 68d2d54663 first attempt at adding reason
11 years ago
Ivo De Decker 6a7aeac400 add bug list to yaml
11 years ago
Ivo De Decker ab4de3b93c first attempt at yaml logging
11 years ago
Ivo De Decker 9d79ce7297 if hintsdir is defined, read hints from there
11 years ago
Ivo De Decker cd242ff453 read hints earlier
11 years ago
Ivo De Decker 581204696c if outputdir is defined, write dates file there
11 years ago
Julien Cristau 7eef861a15 Fix urgency reading to obey 'low'
11 years ago
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