Commit Graph

726 Commits (cda4655b839941f6ed62d8fae1a289a5db052ce6)

Author SHA1 Message Date
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
Niels Thykier 3d05b834ad Refactor logging of uninst
7 years ago
Niels Thykier ef8c56f189 Migrate output_write to use a logger
7 years ago
Niels Thykier 9e6fcc0ed3 Avoid lying about orig-nuninst counters in force-hint
7 years ago
Niels Thykier 6d81e0b1fd Drop redundant "Apparently successful"-note
7 years ago
Niels Thykier 8ac55c436c Avoid duplicate pkgs names in ood excuse
7 years ago
Niels Thykier b1e10e0f54 Grant HINTS_HELPERS autopkgtest hints
7 years ago
Niels Thykier 92817767b6 Merge remote-tracking branch 'github/autopkgtest'
7 years ago
Paul Gevers def9d81c76
Make retry URL configurable (two flavors)
7 years ago
Niels Thykier 9030ff4d99 do_all: Simplify the assignments to a variable
7 years ago
Niels Thykier 41978869ce Migrate solver's ad-hoc debug logging
7 years ago
Niels Thykier b478460b96 Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier 1e9fc7e826 britney: Log to stdout by default
7 years ago
Niels Thykier 8eaee4309e Rewrite "self.log -> self.logger.<severity>" for autopkgtest
7 years ago
Niels Thykier f752ea4ac7 Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier 32b2ee326a Use lazy evaluation of format arguments in logging
7 years ago
Niels Thykier b23777c852 britney: Replace all calls to "log" with logger
7 years ago
Niels Thykier ac69b3b5c7 Migrate hint parser to fully use logging
7 years ago
Niels Thykier 5e825043d3 Replace "print" logging with the "logging" module
7 years ago
Paul Gevers 011e9a14b7
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier bc0a5f6e2b britney: Split "ood" and "unsat_deps" loops
7 years ago
Paul Gevers fd03083ea5
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier 5c3229467a write_heidi: Include cruft arch:all packages in the output
7 years ago
Paul Gevers 0b58a313cb
Treat arch:all nearly as regular arch when determining out-of-dateness
7 years ago