Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Wynn Wolf Arbor <wolf@××××××.systems>
Subject: Re: [gentoo-portage-dev] [PATCH 0/2] Use consistent list of booleans & validate verify-commit-signature
Date: Thu, 02 Jul 2020 22:17:38
Message-Id: e88f9477-bfcd-31f5-25b3-798bdc56d094@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 0/2] Use consistent list of booleans & validate verify-commit-signature by Wynn Wolf Arbor
1 On 7/2/20 8:50 AM, Wynn Wolf Arbor wrote:
2 > Hi,
3 >
4 > Whilst configuring a bunch of overlay repositories via repos.conf, I
5 > discovered that not all boolean options take the same values. Some only
6 > take 'true' and 'false', others are documented only as 'yes' or 'no',
7 > but take 'true', 'false', 'yes', and 'no'. This is inconsistent and can
8 > lead to very confusing outcomes, so I decided to write a patch.
9 >
10 > I came across https://bugs.gentoo.org/703698 whilst working on this, and
11 > since my work was tangentially related, decided to fix that as well.
12 >
13 > Wynn Wolf Arbor (2):
14 > repos.conf: Use consistent list of values for boolean options
15 > git: Verify boolean values passed to sync-git-verify-commit-signature
16 >
17 > lib/portage/repository/config.py | 4 +--
18 > lib/portage/sync/modules/git/__init__.py | 11 ++++++++
19 > lib/portage/sync/modules/git/git.py | 2 +-
20 > lib/portage/sync/modules/rsync/rsync.py | 2 +-
21 > man/portage.5 | 45 +++++++++++++++-----------------
22 > 5 files changed, 36 insertions(+), 28 deletions(-)
23
24
25 Thanks! I've merged both patches, with a couple of additional lower()
26 calls for case insensitivity:
27
28 https://gitweb.gentoo.org/proj/portage.git/commit/?id=141ef203661248a2c29945f8c6770ce0c242eaf0
29 https://gitweb.gentoo.org/proj/portage.git/commit/?id=33b08baff4825bf84f639cf213de92ed36f76771
30 --
31 Thanks,
32 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature