* [gentoo-portage-dev] [PATCH 0/2] Use consistent list of booleans & validate verify-commit-signature
@ 2020-07-02 15:50 99% Wynn Wolf Arbor
0 siblings, 0 replies; 1+ results
From: Wynn Wolf Arbor @ 2020-07-02 15:50 UTC (permalink / raw
To: gentoo-portage-dev
Hi,
Whilst configuring a bunch of overlay repositories via repos.conf, I
discovered that not all boolean options take the same values. Some only
take 'true' and 'false', others are documented only as 'yes' or 'no',
but take 'true', 'false', 'yes', and 'no'. This is inconsistent and can
lead to very confusing outcomes, so I decided to write a patch.
I came across https://bugs.gentoo.org/703698 whilst working on this, and
since my work was tangentially related, decided to fix that as well.
Wynn Wolf Arbor (2):
repos.conf: Use consistent list of values for boolean options
git: Verify boolean values passed to sync-git-verify-commit-signature
lib/portage/repository/config.py | 4 +--
lib/portage/sync/modules/git/__init__.py | 11 ++++++++
lib/portage/sync/modules/git/git.py | 2 +-
lib/portage/sync/modules/rsync/rsync.py | 2 +-
man/portage.5 | 45 +++++++++++++++-----------------
5 files changed, 36 insertions(+), 28 deletions(-)
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-07-02 15:50 99% [gentoo-portage-dev] [PATCH 0/2] Use consistent list of booleans & validate verify-commit-signature Wynn Wolf Arbor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox