[PATCH 0/2] Use consistent list of booleans & validate verify-commit-signature

Wynn Wolf Arbor <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
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(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.