Julien Cristau
042ce9200f
doc: add missing end quote
2019-09-27 21:43:11 +02:00
Ivo De Decker
75287427a5
Document allow-archall-maintainer-upload and allow-uninst hints
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-21 12:32:03 +00:00
Ivo De Decker
93b46dde0d
Allow new uninstallables from allow-uninst hint
...
When an allow-uninst hint is added for an unversioned binary package, items
are allowed to migrate, even if they make that binary package uninstallable
(on the architecture specified in the hint, if one was specified, or on all
architectures otherwise).
Using this hint should avoid using force-hint to allow specific breakage.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-14 11:52:19 +00:00
Ivo De Decker
988b33d0ba
Add allow-uninst hint
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-14 11:07:38 +00:00
Ivo De Decker
4defca4cc1
Abort when do_all fails without transaction to rollback
...
When do_all fails, and there is no transaction to rollback, we will probably
leave a broken state behind. This codepath probably isn't triggered unless
something else is broken.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-14 10:51:41 +00:00
Ivo De Decker
4de569114a
Fix excuses output for package with urgent hint
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-04 19:51:34 +00:00
Ivo De Decker
4a3f98657d
Remove unimportant message from excuses
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-04 17:34:34 +02:00
Ivo De Decker
13b62f8da5
Remove obsolete addhtml()
2019-09-04 12:02:52 +00:00
Ivo De Decker
f202601b81
fix codestyle issue in test_autopkgtest.py
...
This issue only shows up in the bullseye test.
2019-09-04 12:02:52 +00:00
Ivo De Decker
2bde180d18
fix codestyle issues in policies/__init_.py
2019-09-04 11:44:15 +00:00
Ivo De Decker
a1debec1a8
fix codestyle issues in excusefinder.py
2019-09-04 11:44:15 +00:00
Ivo De Decker
3f9092f94b
fix codestyle issues in excuse.py
2019-09-04 11:44:14 +00:00
Ivo De Decker
57f9c98241
Fix some verdict descriptions
2019-09-04 11:44:14 +00:00
Ivo De Decker
4cbb691dfe
Remove broken depends code in _should_upgrade_src
...
The code that was supposed to check uninstallability of existing binaries was
broken:
- it only checked arch: all on nobreakall archs, not arch any
- it checked if the new binary was in testing (this never happens)
- it doesn't work when binaries from both unstable and tpu are needed
Note that _excuse_unsat_deps() now handles nobreakall correctly.
2019-09-04 11:44:14 +00:00
Ivo De Decker
ccd30f96fd
switch depends to detailed excuse info
...
don't show information about unsatisfiable depends that is not blocking
migration:
* arch all not on nobreakall arch
* arch any or arch all on breakarch
2019-09-04 11:44:13 +00:00
Ivo De Decker
a4f7e7433e
switch impossible depends to detailed excuse info
2019-09-04 11:44:13 +00:00
Ivo De Decker
03856a3876
switch missing builds to detailed excuse info
...
Also remove the list of old binaries from the excuse.
2019-09-04 11:44:13 +00:00
Ivo De Decker
e25ca70427
switch removal to detailed excuse info
...
Also, set verdict to REJECTED_PERMANENTLY explicitly. This was already done
implicitly, because that is the default and it was never set to anything else.
2019-09-04 11:44:13 +00:00
Ivo De Decker
8cff83a8c6
remove obsolete message in bugs policy
2019-09-04 11:44:13 +00:00
Ivo De Decker
68b051d36d
switch bugs policy to detailed excuse info
...
Also, simplify the logic.
2019-09-04 11:44:13 +00:00
Ivo De Decker
48801054a2
switch autopkgtest policy to detailed excuse info
2019-09-04 11:44:13 +00:00
Ivo De Decker
8c44a78948
switch block policy to detailed excuse info
2019-09-04 11:44:12 +00:00
Ivo De Decker
3d0fdae9d1
switch build-dep policy to detailed excuse info
2019-09-04 11:44:12 +00:00
Ivo De Decker
e245891d36
add reason for missing build
2019-09-04 11:44:12 +00:00
Ivo De Decker
bb2512c948
add extra info to buildd policy
2019-09-04 11:44:12 +00:00
Ivo De Decker
cda4655b83
switch newer in testing to detailed excuse info
...
Also, set verdict to REJECTED_PERMANENTLY explicitly. This was already done
implicitly, because that is the default and it was never set to anything else.
2019-09-04 11:44:12 +00:00
Ivo De Decker
90cb743410
switch rdep invalidation to detailed excuse info
2019-09-04 11:44:12 +00:00
Ivo De Decker
e144cbc743
switch wrong versions in should_upgrade_srcarch to detailed excuse info
2019-09-04 11:44:12 +00:00
Ivo De Decker
56dad96c2b
switch unimportant info in should_upgrade_srcarch to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
4b40b11b07
switch force info to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
409deee905
switch missing builds to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
63a9d786a8
switch no binaries to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
3576ed6667
switch buildd policy to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
deb27e7ec0
switch built-using policy to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
76f33a5fc2
switch piuparts policy to detailed excuse info
2019-09-04 11:44:11 +00:00
Ivo De Decker
370bf52d56
switch age policy to detailed excuse info
2019-09-04 11:44:10 +00:00
Ivo De Decker
b70d1d09d7
keep track of verdict when invalidating deps
2019-09-04 11:44:10 +00:00
Ivo De Decker
abaa4c7205
render html excuse based on 'text'
...
The html rendered is horrible, but we're stuck due to the broken grep-excuses
in stretch.
2019-09-04 11:44:10 +00:00
Ivo De Decker
065dbd26ee
Add functions for details excuse info
2019-09-04 11:44:10 +00:00
Ivo De Decker
aa02edcbfb
ci: switch sid tests to bullseye and allow failure
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-03 23:50:00 +02:00
Ivo De Decker
19392f63c2
fix codestyle issues in policy_.py
2019-09-03 23:50:00 +02:00
Ivo De Decker
5890cb914e
Fix codestyle issues is britney.py
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 22:22:04 +00:00
Ivo De Decker
7fdbfcbeb2
Check version of cruft removal item
...
If the cruft removal item has a different version than the binary currently in
testing, then the cruft item was replaced since it was added, or it was added
in error. In this case, the item should not be processed.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 22:21:52 +00:00
Ivo De Decker
e3af8993be
compute_groups: rename badly named source_name
...
When the item is a cruft removal item, the variable contains the binary name,
not the source name. So rename it to item_package and set source_name, to the
source in both cases.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 19:51:03 +00:00
Ivo De Decker
fdf273ad05
Log initial list of cruft items added to the list of items
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 19:04:44 +00:00
Ivo De Decker
c7cfb4e09f
Log new cruft items added to the list of items
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 19:03:41 +00:00
Paul Gevers
747c67854a
tests: use yaml.safe_load as yaml.load is deprecated
2019-08-25 20:47:14 +02:00
Paul Gevers
2fc265be91
Save the state of policies on every non-dry run, not only during migration runs
...
The autopkgtest policy is really sending requests during every non-dry run,
we want to capture that state.
2019-08-24 21:46:59 +02:00
Ivo De Decker
b21b129527
Enable smooth updates again, the freeze is over.
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-08-17 20:09:53 +00:00
Ivo De Decker
edbef619e3
gitlab-ci: add buster test and move doc and pages build
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-08-08 23:12:05 +00:00