Commit Graph

53 Commits (b16ae8046a36a2e2901c0a3a2e3a3a1ecee9b131)

Author SHA1 Message Date
Niels Thykier b16ae8046a
Add some '# pragma: no cover' for error cases, abstract methods, etc.
6 years ago
Niels Thykier 5bcbed499e
Fix the doc string for compile_nuninst
6 years ago
Niels Thykier 6174d2c3f9
Create a MigrationItemFactory and migrate most code to use it
6 years ago
Ivo De Decker 18d951be25 Handle dependencies between excuses in a generic way
6 years ago
Ivo De Decker 12debfc7c8 Check that version increases when adding packages to testing
6 years ago
Niels Thykier 5d49a41204
Introduce a "Transaction" for changes to testing
6 years ago
Niels Thykier ced7b7b413
Refactor britney.py to use InstallabilityTester less
6 years ago
Niels Thykier deb9482a2f
Move parse_provides to britney2.utils
6 years ago
Ivo De Decker 3828a76053 Filter out cruft in find_smooth_updateable_binaries
6 years ago
Niels Thykier 65b67e763c
Replace the use of inst_tester with new suite functionality
6 years ago
Niels Thykier 0a669461ca
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
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 880a614b2b
britney: Extract a find_smooth_updateable_binaries function
6 years ago
Niels Thykier fc834624fc Avoid some unnecessary hash look ups
6 years ago
Niels Thykier 0d5c4a24c4 Handle Build-Depends-Indep in excuses
6 years ago
Niels Thykier 1623828a48 SourcePackage: Add field for Build-Depends-Indep
6 years ago
Niels Thykier 206d5ac5df Fix typo in parameter
6 years ago
Niels Thykier 4a2fe3420a Rewrite write_controlfiles to take a single suite as argument
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 9a5c0c3fa8 Rewrite old_libraries to be suite agnostic
7 years ago
Niels Thykier d1350606bb Use a proper Suite object for MigrationItem.suite
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
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
Niels Thykier 7217c22b42 get_dependency_solvers: The "foo:any" modifier can also appear in B-D relations
7 years ago
Niels Thykier bda39f8ca0 Support :native in build-dependency relations
7 years ago
Niels Thykier ee27d7a67c Add BuildDependsPolicy to check Build-Depends(-Arch) availability
7 years ago
Niels Thykier c537f0554f Move PolicyVerdict to britney2.policies
7 years ago
Niels Thykier 784d80ab4c Replace a few lists with sets
7 years ago
Paul Gevers 77bb15e0e8
Plug in the new autopkgtest policy
7 years ago
Niels Thykier 9ca5f7e24e Add more verdicts to provide more detailed excuses
8 years ago
Niels Thykier d7a676d074 Aggregate all migration decisions and present it in excuses
8 years ago
Niels Thykier f40a7f41b3 Replace dontinvalidate with forced
8 years ago
Niels Thykier e6e221ad52 Extract a compile_nuninst and move it to utils
8 years ago
Niels Thykier eaf4660918 utils: Replace explicit loop index handling with enumerate
8 years ago
Niels Thykier 06504f2ae7 Move invalidate_exuses to utils
8 years ago
Niels Thykier 7a63784876 Move get_dependency_solvers to utils
8 years ago
Niels Thykier c4be8436db Move read_sources_file to utils
8 years ago
Niels Thykier 9ca30aac81 Rename a variable for clarity reasons
8 years ago
Niels Thykier 241b17602d utils: Remove condition that is always true
8 years ago
Niels Thykier 20c2b87833 Sprinkle some "no cover" pragmas over the code base
8 years ago
Niels Thykier 2d8a471f70 undo_changes: Simplify case for virtual packages
8 years ago
Niels Thykier 1f1086b929 utils: Replace a case of b[FOO] with b.foo
8 years ago
Niels Thykier 2ce2d7efb3 utils: Remove reundant VERSION=VERSION parameter
8 years ago