diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2023-02-08 17:38:15 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2023-02-09 18:53:23 +0300 |
commit | 6be5440ff6d88db80bf862d04504c74610f7ed7a (patch) | |
tree | 407d50db197d37bab1c682261fe40149901638a4 /calm/package.py | |
parent | d64ec03daa585e6df68b72b45e98c96ecc703241 (diff) |
Fix invalid packageset after process_relarea
If post-stale removal package set validation fails, don't change the
packageset during process_relarea(). This makes it similar to
process_uploads, in that the packageset can't be changed to something
invalid.
(Scenario: vaulting is requested via 'vault' command, which triggers
process_relarea(), which applies any requested vaultings during it's
stale evaluation. If that fails to validate, the packageset is broken
and any subsequent uploads will fail until after another relarea scan
takes place)
Fixes: 0939d5bd86f4 ("Add 'calm-tool vault'")
Diffstat (limited to 'calm/package.py')
0 files changed, 0 insertions, 0 deletions