diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2022-06-28 14:53:14 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2022-06-28 14:54:42 +0200 |
commit | 20739359fa936c0851a4c0f37667526d98c22761 (patch) | |
tree | dab91a932c83d1678a914a5451d01c034f2e3e28 /.clang-format | |
parent | db131677bee45c86031d37d7b451e6ece692efb2 (diff) |
policy: Do not override negative pins with 1 due to phasing
If a package is already pinned to a negative value, we should not
override this with a positive 1. This causes packages to be installable
that were pinned to -1, which is not intended.
For this, implement phasing as a ceiling of 1 for the pin instead
of a fixed 1 value. An alternative would have been to fix it to
NEVER_PIN, but that would mean entirely NEW packages would not be
installable while phasing which is not the intention either.
LP: #1978125
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions