Commit Graph

752 Commits (ubuntu/rebased)

Author SHA1 Message Date
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
6 years ago
Niels Thykier 4a2fe3420a Rewrite write_controlfiles to take a single suite as argument
6 years ago
Niels Thykier 97d707e5c0 britney: Avoid some references to britney.{sources,binaries}
6 years ago
Niels Thykier dfbff18b5c Remove some references to "unstable"
6 years ago
Niels Thykier 54e5eb0e74 policies: Use suite class instead of suite name
6 years ago
Niels Thykier e7b5339eae britney.py: Replace an instance of 'pu'/'tpu' hardcoding
6 years ago
Niels Thykier 7ed3568eca britney.py: Remove two more references to "testing"
6 years ago
Niels Thykier d5224f78cd Refactor excuse_unsat_dep and make it suite agnostic
6 years ago
Niels Thykier 861632e270 Make upgrade_testing suite agnotic (except for its name)
6 years ago
Niels Thykier 63c867995b write_heidi: Accept a target suite instead of sources+packages
6 years ago
Niels Thykier 609bb9e960 Make migration and undo code suite agnotisc
6 years ago
Niels Thykier 382ced2a68 Make write_excuses suite agnostic
6 years ago
Niels Thykier 9a7394c89d britney: Rewrite should_* to be (almost) suite agnostic
6 years ago
Niels Thykier 9a5c0c3fa8 Rewrite old_libraries to be suite agnostic
6 years ago
Niels Thykier b3bfda7d6c britney.py: Make loading of constraints+faux pkgs suite agnostic
6 years ago
Niels Thykier 7b38fbed91 britney.py: Avoid hardcoding "testing" in some log messages
6 years ago
Niels Thykier 64d2bc4203 builder.py: Make the code suite agnostic
6 years ago
Niels Thykier d0399f4eb0 britney.py: Make get_nuninst suite name agnostic
6 years ago
Niels Thykier f464baa257 Move the "binary" field from Britney to Suite
6 years ago
Niels Thykier 0c6314b466 read_binaries: Use the suite object
6 years ago
Niels Thykier 3e930174ab Make autohinter suite name agnostic
6 years ago
Niels Thykier d2836b15d4 Rewrite do_hint without hardcoding suite names
6 years ago
Niels Thykier 73f4f3a5dd Suites now have a reference to sources
6 years ago
Niels Thykier d1350606bb Use a proper Suite object for MigrationItem.suite
6 years ago
Niels Thykier 21528f6f0c Refactor to avoid empty "pu" and "tpu" data structures
6 years ago
Niels Thykier 8768e2a02a Define a SuiteClass to classify suites
6 years ago
Niels Thykier b63ade583c Rename and turn SuiteInfo into a proper class
6 years ago
Niels Thykier e63aa05708 Add Suites to keep track of all suites
6 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
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 089c4f6e57
Rename new excuse field and method to unsatisfiable_on_archs and add_unsatisfiable_on_arch
7 years ago
Paul Gevers a16e4e5a55
Enable autopkgtesting on built arches when not all have been built yet
7 years ago
Paul Gevers eb60fc557e
Implement bounty/penalty system for autopkgtest
7 years ago
Paul Gevers f2a121bf55
Merge branch 'master' into autopkgtest
7 years ago
Paul Gevers 278b3dcdd0
autopkgtest: switch from testing=series to testing=testing
7 years ago
Paul Gevers 77bb15e0e8
Plug in the new autopkgtest policy
7 years ago
Paul Gevers 4dda7b6e7e
Add britney option: --series
7 years ago
Adam D. Barratt 3220710a6c britney.py: stop referring to the freeze policy while we're not frozen
7 years ago
Niels Thykier d3b90e754b britney: Rewrite conditional assignment
7 years ago
Niels Thykier 5021053db5 Support doing migration-less runs
8 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 6e560c854a Only show the first (relevant) remove hint in excuses
8 years ago
Niels Thykier 045ce2bf7b britney: Don't show "fake" packages in excuses
8 years ago
Niels Thykier f9c643537c britney: add ignore-rc-bugs hint to HINTS_HELPERS
8 years ago
Julien Cristau 608ce0e9d2 Fix logging of conflicting hints
8 years ago
Iain Lane ccfd61cf6a hint-tester: Don't lowercase the input
8 years ago
Emilio Pozuelo Monfort af7c96142d Add ignore-piuparts to the standard hint set
8 years ago
Robert Bruce Park 40ccb4bdc6 Invalidate excuse after each policy run
8 years ago
Niels Thykier bcdb2b39cd Add PiupartsPolicy to avoid piuparts regressions
8 years ago
Niels Thykier e6e221ad52 Extract a compile_nuninst and move it to utils
8 years ago
Niels Thykier 06504f2ae7 Move invalidate_exuses to utils
8 years ago
Niels Thykier 20f2e27873 Fix --print-nuninst + --nuninst-cache
8 years ago
Niels Thykier fd614062ae Minor optimisation of force handling
8 years ago
Niels Thykier 56fa65f596 Replace a use of src[X] with src.x
8 years ago
Niels Thykier 0cc7f7a8d2 Move build_installability_tester to builder.py
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 0f45b195a6 Refactor doop_source to simplify logic
8 years ago
Niels Thykier 027142e12b Fix bug where compute_groups returned tuple instead of pkg_id
8 years ago
Niels Thykier a14ced6403 Drop now unused "from __future__" imports
8 years ago
Niels Thykier 7af650d36d "selected" is never None in iter_packages
8 years ago
Niels Thykier ecf95229d3 Use asserts to guard single binary removal items
8 years ago
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