Commit Graph

749 Commits (6ac680f327022121d0e4377b827b28fc4b76a0a6)

Author SHA1 Message Date
Niels Thykier 2fea931da3
Remove --control-files; It is not used any where
6 years ago
Ivo De Decker 0709f8d96c Move block handling to BlockPolicy
6 years ago
Ivo De Decker b395c6f760 Only ignore hints for the same package if arch matches
6 years ago
Ivo De Decker 7e05c0e5ac Apply policy to srcarch excuses
6 years ago
Ivo De Decker 4cf03bbdc5 Rearrange decision for should_upgrade_srcarch
6 years ago
Ivo De Decker 0d80bad65c Move handling of policies to PolicyEngine
6 years ago
Niels Thykier b16ae8046a
Add some '# pragma: no cover' for error cases, abstract methods, etc.
6 years ago
Niels Thykier 542f030a96
Remove now obsolete code from MigrationItem
6 years ago
Niels Thykier 61d3068de6
Move suite name auto-correction to MigrationItemFactory
6 years ago
Niels Thykier 6174d2c3f9
Create a MigrationItemFactory and migrate most code to use it
6 years ago
Niels Thykier 584f75bbc0
Defer loading and registering of hints
6 years ago
Ivo De Decker 18d951be25 Handle dependencies between excuses in a generic way
6 years ago
Niels Thykier 7502bc72f3
Avoid some hash lookups
6 years ago
Niels Thykier e13eb7d0cb
Pass correct source_data to find_smooth_updateable_binaries
6 years ago
Ivo De Decker 22c6be76ba Split calculating and running of auto-hinter hints
6 years ago
Ivo De Decker 12187421c8 Show newly uninstallables before validation
6 years ago
Niels Thykier 5642a90449
Rename _compute_groups to compute_groups
6 years ago
Niels Thykier c7dbd95c0b
Have MigrationManager keep track of active transaction
6 years ago
Niels Thykier 4803065e1a
Move (and rename) try_migration to the MigrationManager
6 years ago
Niels Thykier 28c7a052fa
Move to MM and rename doop_source to apply_item_to_target_suite
6 years ago
Niels Thykier 4ae6a34a27
Move _compute_groups to a new MigrationManager class
6 years ago
Niels Thykier d688c9753b
Split a loop to make the special-case more obvious
6 years ago
Niels Thykier ce6a5704fa
Make _compute_group take a migration item instead of 4 parameters
6 years ago
Niels Thykier e0c19b3adb
Inline a call to _compute_groups
6 years ago
Niels Thykier 82ff8010e2
Rename unused variable/return value to "_"
6 years ago
Ivo De Decker 4dc2cf7172
Try to remove old libs during hint run
6 years ago
Niels Thykier 70d461ff11
Remove "skip" return value of _compute_groups
6 years ago
Ivo De Decker 12debfc7c8 Check that version increases when adding packages to testing
6 years ago
Niels Thykier db885b7184
Drop comment that no longer matches the context
6 years ago
Niels Thykier 814926f5c3
try_migration: Remove implicit rollback
6 years ago
Niels Thykier a05a249e04
Record exactly which binaries are updated in the transaction
6 years ago
Niels Thykier 5d49a41204
Introduce a "Transaction" for changes to testing
6 years ago
Niels Thykier 68fd0ba4b2
Remove --components/COMPONENTS as it is auto-detected
6 years ago
Niels Thykier 7124313aa6
Make InstallabilityTester suite agnostic
6 years ago
Niels Thykier ced7b7b413
Refactor britney.py to use InstallabilityTester less
6 years ago
Niels Thykier 7efa865a04
Move Suite/Package loading into a separate class/module
6 years ago
Niels Thykier deb9482a2f
Move parse_provides to britney2.utils
6 years ago
Niels Thykier bb9712d7e9
Fix typo in the logging level mapping
6 years ago
Ivo De Decker a56c9458c8 Disable binNMUs from *pu for now
6 years ago
Ivo De Decker a3b194c13e Don't calculate smoothbins for items from *pu
6 years ago
Ivo De Decker db584d9fdc Don't calculate smoothbins for sources not in unstable
6 years ago
Ivo De Decker 111413fb7b Don't remove package if removal is blocked
6 years ago
Ivo De Decker d074142d35 Fix architecture check for binnmu removals
6 years ago
Niels Thykier 65b67e763c
Replace the use of inst_tester with new suite functionality
6 years ago
Niels Thykier 03df891b7e
Expand the Suite interface and create a TargetSuite sub-class
6 years ago
Niels Thykier 07a407e810
Partly separate the solver from the inst_tester
6 years ago
Niels Thykier 0a669461ca
Separate inst_tester from universe
6 years ago
Niels Thykier 35b06ee007
tests: Separate inst_tester from universe
6 years ago
Niels Thykier b37575f000
Stop creating some throw-away data-structures for a method call
6 years ago
Ivo De Decker b839e1a459
Ignore dependencies of cruft when building excuses.
6 years ago
Niels Thykier 7cdf10bc77
Inline get_nuninst into its remaining callees
6 years ago
Niels Thykier 05aaf1cc12
Refactor nuninst initialization to avoid reading the cache from disk
6 years ago
Niels Thykier 7bcbcb6282
Make clone_nuninst able to fully deep clone nuninst
6 years ago
Niels Thykier 6c5300d873
Unfold the suite.binaries tuple into two members
6 years ago
Ivo De Decker 9c606ef533 Don't add smooth-updatable cruft to migration items
6 years ago
Niels Thykier 7fd15eab4f
britney: Use chain rather then duplicate statement
6 years ago
Niels Thykier e279eabf0a
britney.py: Remove duplicated variable
6 years ago
Niels Thykier f561de89d0
britney.py: Remove an unnecessary level of indentation
6 years ago
Niels Thykier 880a614b2b
britney: Extract a find_smooth_updateable_binaries function
6 years ago
Niels Thykier 7d7a42153d
britney.py: Simply a loop in should_upgrade_src
6 years ago
Niels Thykier fc834624fc Avoid some unnecessary hash look ups
6 years ago
Niels Thykier 208c3c2e90 britney: Use direct and indirect affected packages for nuninst checks
6 years ago
Niels Thykier 1623828a48 SourcePackage: Add field for Build-Depends-Indep
6 years ago
Niels Thykier 70947f4c21 Use excuses_suffix instead of name for items
6 years ago
Niels Thykier 1d45b2a3b2 Move autopkgtest specific field to Autopkgtest policy
6 years ago
Mathieu Trudel-Lapierre 8d2cabd914 Add 'unsatisifiable dependencies' to YAML excuses
6 years ago
Niels Thykier 94dc17c0d7 britney: Remove {sources,binaries} from Britney
7 years ago
Niels Thykier 4a2fe3420a Rewrite write_controlfiles to take a single suite as argument
7 years ago
Niels Thykier 97d707e5c0 britney: Avoid some references to britney.{sources,binaries}
7 years ago
Niels Thykier dfbff18b5c Remove some references to "unstable"
7 years ago
Niels Thykier 54e5eb0e74 policies: Use suite class instead of suite name
7 years ago
Niels Thykier e7b5339eae britney.py: Replace an instance of 'pu'/'tpu' hardcoding
7 years ago
Niels Thykier 7ed3568eca britney.py: Remove two more references to "testing"
7 years ago
Niels Thykier d5224f78cd Refactor excuse_unsat_dep and make it suite agnostic
7 years ago
Niels Thykier 861632e270 Make upgrade_testing suite agnotic (except for its name)
7 years ago
Niels Thykier 63c867995b write_heidi: Accept a target suite instead of sources+packages
7 years ago
Niels Thykier 609bb9e960 Make migration and undo code suite agnotisc
7 years ago
Niels Thykier 382ced2a68 Make write_excuses suite agnostic
7 years ago
Niels Thykier 9a7394c89d britney: Rewrite should_* to be (almost) suite agnostic
7 years ago
Niels Thykier 9a5c0c3fa8 Rewrite old_libraries to be suite agnostic
7 years ago
Niels Thykier b3bfda7d6c britney.py: Make loading of constraints+faux pkgs suite agnostic
7 years ago
Niels Thykier 7b38fbed91 britney.py: Avoid hardcoding "testing" in some log messages
7 years ago
Niels Thykier 64d2bc4203 builder.py: Make the code suite agnostic
7 years ago
Niels Thykier d0399f4eb0 britney.py: Make get_nuninst suite name agnostic
7 years ago
Niels Thykier f464baa257 Move the "binary" field from Britney to Suite
7 years ago
Niels Thykier 0c6314b466 read_binaries: Use the suite object
7 years ago
Niels Thykier 3e930174ab Make autohinter suite name agnostic
7 years ago
Niels Thykier d2836b15d4 Rewrite do_hint without hardcoding suite names
7 years ago
Niels Thykier 73f4f3a5dd Suites now have a reference to sources
7 years ago
Niels Thykier d1350606bb Use a proper Suite object for MigrationItem.suite
7 years ago
Niels Thykier 21528f6f0c Refactor to avoid empty "pu" and "tpu" data structures
7 years ago
Niels Thykier 8768e2a02a Define a SuiteClass to classify suites
7 years ago
Niels Thykier b63ade583c Rename and turn SuiteInfo into a proper class
7 years ago
Niels Thykier e63aa05708 Add Suites to keep track of all suites
7 years ago
Niels Thykier 37f02d611c Revert "Rename autopkgtest related hints"
7 years ago
Niels Thykier a07fa9f907 Rename autopkgtest related hints
7 years ago
Niels Thykier bfa028595f britney: Leave upgrade_output alone with --dry-run
7 years ago
Niels Thykier 7897942f24 Make UPGRADE_OUTPUT optional
7 years ago
Niels Thykier d35a831a0c Remove remaining calls to output_write and output_write itself
7 years ago
Niels Thykier a344a9b375 Rewrite handling of logging old libraries
7 years ago