Niels Thykier
5a90b13756
inst-tester: Add a missing param to doc strings
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
dceca2c666
inst-tester: Move loop into resolve_choices
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
97663ebaab
inst-tester: split _pick_choice into two
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
176fe04c98
Use sets in the provides-table
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
19e54380c3
Store the pkg_id in undo instead of the package info
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
f5a52fcec4
britney.py: Add all_binaries to store binaries by pkg_id
...
It can be used to A) to make the mismatch check more efficient and B)
share identical binaries between suites.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Emilio Pozuelo Monfort
717804c5ab
Give me force-hint permissions
...
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
9 years ago
Niels Thykier
92deb4d1b9
britney.py: Avoid some throw-away creation of collections
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
David Prévot
abc124b792
INSTALL: Update dependency for Python 3
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
dc8ae9e1ce
britney.py: Fix typo
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
249a19bfef
Defer a frozenset call
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
52a1dd6ffa
britney.py: Remove some redundant if-statements
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
31377a7c39
Move loop invariant out of the loop
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
da5e797fc9
Remove unused variables/assignments
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Paul Wise
cd66fc82d8
Do not hard-code codenames in the URL to the freeze policy
...
Closes : #808031
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
505e31b106
britney.py: Remove unused import
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Emilio Pozuelo Monfort
f6c974fdb7
Point to the Stretch freeze policy
...
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
9 years ago
Emilio Pozuelo Monfort
3bd5380afc
britney.py: Fix migration of binNMUs for sources that have cruft
...
If we are ignoring cruft, new sources with cruft are migrating, but
binNMUs aren't. Fix that.
9 years ago
Emilio Pozuelo Monfort
be822d0791
Give me force permissions
...
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
9 years ago
Adam D. Barratt
8480e1859c
Always output excuses for packages with "wrong source" issues
...
Previously whether such packages received excuses, and the specific
content of such excuses, was dependent on the order in which their
binary packages were considered.
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
9 years ago
Niels Thykier
1e99c780da
britney.py: Fix the hint tester
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
3b610160ad
britney.py: Update nuninst after writing the "accepted" stats
...
Otherwise "pre" and "now" will always show exactly the same numbers.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
9c3d0afaf5
britney.py: Remove sort_actions, we no longer need it
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
bbc6c34ca5
britney.py: Make iter_packages repeat until no more actions work
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
37c179f5f3
solver: Emit single items together and early
...
Technically, we simply sort by the "hint-size", but it for most parts
have the effect of putting single item earlier. Note this is /not/ a
perfect solution, but it is a simple heuristic exploiting the common
case.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
326cc0d98b
Rewrite the main run to use the solver and allow combined migrations
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
65f74c226d
Make try_migration support multiple actions
...
This made iter_packages_hint a thin wrapper around try_migration, so
it was inlined into its only caller "do_all".
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
13d4d4801b
britney: Factor out a try_migration method
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
6db0ed5ac8
britney: Move table lookup out of get_dependency_solvers
...
The callers of get_dependency_solvers need to do those table lookups
anyway. By moving it out, it is now possible to reuse the results.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
681a7b8cd7
Log when compiling Installability tester
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
49a7323ecb
installability/builder.py: Reuse local variable
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
a9ee64470e
Always use pkg ids in the InstallabilityTester API
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
2914a8a51b
britney.py: Verify nuninst before updating control files
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
7736b53c60
Drop now unused register_reverses and RDEPENDS
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
3d5d328738
Use inst_tester to compute smooth updatable binaries
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
5123bc2317
Remove the now unused RCONFLICTS field
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
289807463e
Rewrite computation and testing of "affected" packages
...
Rely on the Installability tester to locate all of the affected
packages plus their transitive reverse dependencies. As the
InstallabilityTester is suite agnostic, the set of affected packages
now includes (versions of) packages not in testing, which is filtered
out during the check.
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
8eb1abede3
InstTester: Clarify some documentation
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
58edb64c99
Update nuninst correctly for arch:any -> arch:all migrations
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
f3a8181bda
britney.py: Fix statement without an effect
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Niels Thykier
7c5fdc8aca
britney.py: Use "is" rather than "==" for None comparisons
...
Signed-off-by: Niels Thykier <niels@thykier.net>
9 years ago
Ivo De Decker
606dbcb470
ignore arch all when looking for up-to-date bins
...
If we have an up-to-date arch all package available for this architecture,
that doesn't mean this architecture has an up-to-date build. We need an
architecture specific up-to-date package for that.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
9 years ago
Ivo De Decker
984b07b58e
Don't remove outdated binaries for fucked arches if they are in unstable
...
For fucked architectures, binaries from older versions are allowed to be in
testing, so we only remove them if they are gone from unstable.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
9 years ago
Ivo De Decker
3326f948db
Cleanup old binaries even when they are still in unstable
...
Old binaries in testing are usually old versions of libraries that where
smooth-updated. These should only be kept in testing as long as they are
needed to install other packages in testing. When they are no longer needed,
they can be removed, even if the old library is still in unstable (where it
might be needed for reverse dependencies which are not in testing).
Signed-off-by: Ivo De Decker <ivodd@debian.org>
9 years ago
Ivo De Decker
88bf620896
Add option to ignore cruft
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
9 years ago
Ivo De Decker
85f2f629bb
sort reason in excuses for easy diffing
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
9 years ago
Cyril Brulebois
d2fa0fb07c
excuses: New try for block-udeb → d-i RM.
...
Signed-off-by: Cyril Brulebois <kibi@debian.org>
10 years ago
Cyril Brulebois
d2bdcfc237
Revert "excuses: Point to the d-i release manager when block-udeb is involved."
...
This reverts commit 6adee798cd
.
Patching the wrong location considered unhelpful.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
10 years ago
Cyril Brulebois
6adee798cd
excuses: Point to the d-i release manager when block-udeb is involved.
...
Signed-off-by: Cyril Brulebois <kibi@debian.org>
10 years ago
Niels Thykier
5f98e6b37b
Create a clone_nuninst function for iter_packages{,_hint}
...
Signed-off-by: Niels Thykier <niels@thykier.net>
10 years ago