Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH 3/3] repoman: Enable testing dev profiles by default
Date: Sat, 03 Mar 2018 12:01:12
Message-Id: 1520078464.2703.0.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH 3/3] repoman: Enable testing dev profiles by default by Ulrich Mueller
1 W dniu sob, 03.03.2018 o godzinie 12∶48 +0100, użytkownik Ulrich Mueller
2 napisał:
3 > > > > > > On Sat, 3 Mar 2018, Michał Górny wrote:
4 >
5 >
6 > > parser.add_argument(
7 > > '-d', '--include-dev-profiles', choices=('y', 'n'), metavar='<y|n>',
8 > > - default='n',
9 > > + default='y',
10 > > help='include dev profiles in dependency checks')
11 >
12 > It seems counter-intuitive for a simple binary option to require an
13 > argument. What is wrong with specifying -d to enable the option, and
14 > simply not specifying it to disable?
15 >
16
17 What is wrong is that a number of developers have historically not
18 specified the option and broke stuff. Plus, it's infinitely silly to
19 require people to explicitly specify the option to enable required
20 behavior.
21
22 --
23 Best regards,
24 Michał Górny

Replies