Commit Graph

589 Commits (9a28ec184bc69080685d28f2b1fc5e4cbe576aca)

Author SHA1 Message Date
Niels Thykier 9ca30aac81 Rename a variable for clarity reasons
8 years ago
Niels Thykier 9c563f1a96 Move data classes into britney2/__init__.py
8 years ago
Niels Thykier 6360daf8c5 Assert that binaries have sensible arch values
8 years ago
Niels Thykier 20c2b87833 Sprinkle some "no cover" pragmas over the code base
8 years ago
Martin Pitt 15fdf960d7 Use Excuse.is_valid when iterating through checks and Policies
8 years ago
Niels Thykier e13763d335 Refactor out some some hash lookup in _compute_groups
8 years ago
Niels Thykier 636f349def Correct description to say "Release" instead of "InRelease"
8 years ago
Niels Thykier 0e30d5c170 Use suite-info to provide the excuses suffix
8 years ago
Niels Thykier 50d4d45c59 Collect suite metadata in a new member hash
8 years ago
Niels Thykier dfaf0c63c3 Pull defaults for Components and Architectures from Release
8 years ago
Niels Thykier c86e1f7e9c britney: Skip architectures not listed in Release files
8 years ago
Niels Thykier 9bc94db01c Refactor all modules into a britney2 subdir
8 years ago
Niels Thykier 2bc523169b britney: Be less forgiving about unsatisfiable depends
8 years ago
Niels Thykier 0952d0b8c7 britney: Remove redundant if and obsolete comment
8 years ago
Martin Pitt e934ba1bb7 Move updating of excuses into policies
8 years ago
Martin Pitt dc52f019bc Pass excuse to BasePolicy.apply_policy()
8 years ago
Martin Pitt 7ded1c85db Move build checks before running policies
8 years ago
Colin Watson e5e6d7e5b7 Make removal of obsolete source packages configurable
8 years ago
Colin Watson fe7cc466e1 Rename fucked_arches to outofsync_arches
8 years ago
Niels Thykier 0664c580b0 Prefer s.x to s[X] for SourcePackage objects
8 years ago
Niels Thykier 5a19b4f74d Create a SourcePackage class
8 years ago
Niels Thykier cd7cdda61e britney: Remove out a tuple lookup in get_dependency_solvers
8 years ago
Niels Thykier f414b12130 britney: Make read_binaries read all binaries for a suite
8 years ago
Niels Thykier ea166f5bd3 britney -> util: Extract a "create_provides_map"
8 years ago
Robert Bruce Park 190be31014 Python loop performance enhancements.
8 years ago
Niels Thykier 34d27bbd15 britney.py: Make hinted removal excuses valid
8 years ago
Mathieu Trudel-Lapierre 31669ac5bd Update whitespace; make the output easier to read
8 years ago
Niels Thykier d43311be03 Support policies registering their own hints
8 years ago
Niels Thykier 948d15d536 HintParser: Support adding new hints to the parser
8 years ago
Niels Thykier 13417c18e4 hint-tester: Use hint-parser for parsing excuse hints
8 years ago
Niels Thykier 6328b15a9c Change argument order for HintCollection.add_hint
8 years ago
Niels Thykier ac13904f2a Really ignore nuninst issues for break arches
9 years ago
Niels Thykier 5dc162404f Actually forgive missing Packages files for new arches
9 years ago
Niels Thykier ac670bc75e Forgive missing Packages files for new arches
9 years ago
Niels Thykier 2fadfe3724 britney.py: Fix typo in variable name
9 years ago
Niels Thykier cb248a23eb Add more items to excuses.yaml
9 years ago
Niels Thykier 2fd6c59460 Ignore nuninst out-of-sync issues on break-arches
9 years ago
Niels Thykier d76ccaca3b Show missing builds for age-less items in excuses.html
9 years ago
Julien Cristau e2c7dc97d6 Use https for links in excuses.html
9 years ago
Julien Cristau 8545dc972a Fix link to source package bug page
9 years ago
Niels Thykier 855fe68009 Make tpu optional in the config file
9 years ago
Niels Thykier c224c55d88 Add a "block-all new-source" hint
9 years ago
Niels Thykier 481f7fde08 auto-hinter: Reduce size of inner loop
9 years ago
Niels Thykier e517c3f315 auto-hinter: Remove some now redundant conditionals
9 years ago
Niels Thykier 3294c99036 auto-hinter: Prune size of valid excuses and their deps
9 years ago
Niels Thykier 43266ee091 auto hinter: Prune some duplicates earlier
9 years ago
Niels Thykier 463d1a67d9 Prefer pkg_id.foo to pkg_id[X]
9 years ago
Niels Thykier 429e8f1199 britney.py: Turn pkg_ids into namedtuples
9 years ago
Niels Thykier bee0a99528 Reuse pkg_ids instead of creating them ad-hoc
9 years ago
Niels Thykier 71d181aa83 Add pkg_id field to BinaryPackage
9 years ago
Niels Thykier 856bbba232 Add missing "None" guard for faux packages
9 years ago
Niels Thykier c14ee0410b Let hintdir specific the actual directory of hints files
9 years ago
Niels Thykier 1ee1375d38 britney: Fix bug in reading d-i Packages
9 years ago
Niels Thykier f23a72dcdb britney2: Mirror layout - also read d-i Packages files
9 years ago
Niels Thykier 3c0dcf0de3 britney: Permit comments in Package-List field of constraints
9 years ago
Niels Thykier e50037a7da constraints parsing: Fix off-by-one in split
9 years ago
Niels Thykier 3fde3ca7a0 Make Faux packages default to non-free
9 years ago
Niels Thykier 17a8fd6cdc Correct error message to use the real field name
9 years ago
Niels Thykier c9ed47ca6d britney.py: Remove unused import
9 years ago
Niels Thykier ccb473e19f britney.py: Support compressed Packages/Sources
9 years ago
Niels Thykier 398c7a4959 Add support for loading faux packages
9 years ago
Niels Thykier 58b704f3d0 britney.py: Extract a _parse_provides method
9 years ago
Niels Thykier 7ccbfe2fdf Make "Keep-installable" constraints overrule nuninst counters
9 years ago
Niels Thykier f3e37faf7e Add present-and-installable constraints support
9 years ago
Niels Thykier ec37bd06aa Optimise checking of affected packages
9 years ago
Niels Thykier a4daee0866 britney.py: Optimise scheduling a bit
9 years ago
Niels Thykier ac66e3118d Reject some excuses with unsatisfiable depends
9 years ago
Niels Thykier 8991889fad Prefer pkg.foo to pkg[FOO] for binary packages
9 years ago
Niels Thykier 4eebb5180f Make binary packages a namedtuple
9 years ago
Niels Thykier 7230cd29c0 Re-order parsing of suites to avoid changing binary pkgs
9 years ago
Niels Thykier c4e7596837 read_pkgs: Parse Provides a bit earlier
9 years ago
Niels Thykier 946d705e2b read_pkgs: Refactor source+src_version parsing
9 years ago
Niels Thykier eb2c6aad27 Remove redundant notes about arch:all packages
9 years ago
Niels Thykier 5d31eee805 Add block/unblock-hint info to excuses.yaml
9 years ago
Niels Thykier 1028860c53 Move missing-builds/cruft to excuses
9 years ago
Niels Thykier 1400fa1384 Remove "Not considered" note from excuses.yaml
9 years ago
Niels Thykier 63b08f8278 Optimise a few hints.search calls
9 years ago
Niels Thykier 6d6a7ac529 Move RC bug handing into a policy
9 years ago
Niels Thykier 5ec3aea43a Move age-handling into a separate file
9 years ago
Niels Thykier 4ced8a3d41 britney.py: Fix crash with arch:all packages being shadowed
9 years ago
Niels Thykier 8ab7fc0e89 Avoid some unnecessary effort in compuing "affected"
9 years ago
Niels Thykier 38a198e8b2 Replace some string concat+split with tuples
9 years ago
Niels Thykier 1ddf63e14b britney.py: Remove uncommented printf debugging
9 years ago
Niels Thykier 28f69fa505 britney.py: Log when old libs are present but not removed
9 years ago
Niels Thykier b5db57715b Move two installability testing functions to britney_util
9 years ago
Niels Thykier 05de911090 Make excuses a dict rather than a list
9 years ago
Niels Thykier 9b9d44db3a Move some of the hint parsing into hints.py
9 years ago
Niels Thykier 5083311ec2 britney.py: Rename __log to log
9 years ago
Niels Thykier 7b0d4023d0 britney.py: Remove redundant open before TagFile
9 years ago
Niels Thykier 5bbca73391 Make components and --control-files mutually exclusive
9 years ago
Anthony Towns 496e48c9a7 britney.py: Add support for multiple components
9 years ago
Niels Thykier e2b98872cf Refactor some local expressions
9 years ago
Niels Thykier 7e475cd9f9 britney.py: assert provides table is up to date
9 years ago
Niels Thykier 3ff01b5ec9 britney.py: Avoid creating empty lists for provides
9 years ago
Emilio Pozuelo Monfort 203466bb51 Fix migration for sources with old cruft that isn't in testing
9 years ago
Niels Thykier efd3359aba britney.py: Remove unused named parameter
9 years ago
Niels Thykier 22cef671a5 Refactor some code to avoid unnecessary table lookups/checks
9 years ago
Niels Thykier 12d9ae8fa3 Use pkg_id instead pkg/arch in BINARIES
9 years ago
Niels Thykier aa34a47f8a Remove all calls to "same_source" - they were overkill
9 years ago
Niels Thykier 179ced304d britney: Work around bug 815995
9 years ago