public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] revdep-rebuild bikeshedding
@ 2013-01-16 20:43 Paul Varner
  2013-01-16 20:52 ` Rich Freeman
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Paul Varner @ 2013-01-16 20:43 UTC (permalink / raw
  To: gentoo-dev

All:

Time for some bikeshedding :)

For the gentoolkit-0.3.0 series, I removed any filtering of emerge
options set in EMERGE_DEFAULT_OPS for revdep-rebuild.  This has caused
some people to complain because some of the flags in their
EMERGE_DEFAULT_OPTS are not suitable for a revdep-rebuild run.

I am not going to go back to filtering any of the emerge options,
however, I just added support for a make.conf variable called
REVDEP_DEFAULT_OPTS which currently gets appended to the list of options
after the EMERGE_DEFAULT_OPTS and before the command line options.

Here is where the bikeshedding begins:
1. What variable name do we prefer? REVDEP_DEFAULT_OPTS or
REVDEP_EMERGE_DEFAULT_OPTS
2. What behavior do we want? append to EMERGE_DEFAULT_OPTS or replace
EMERGE_DEFAULT_OPTS

Regards,
Paul


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] revdep-rebuild bikeshedding
  2013-01-16 20:43 [gentoo-dev] revdep-rebuild bikeshedding Paul Varner
@ 2013-01-16 20:52 ` Rich Freeman
  2013-01-16 20:57 ` Ian Stakenvicius
  2013-01-17 10:25 ` Sergey Popov
  2 siblings, 0 replies; 5+ messages in thread
From: Rich Freeman @ 2013-01-16 20:52 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jan 16, 2013 at 3:43 PM, Paul Varner <fuzzyray@gentoo.org> wrote:
> 2. What behavior do we want? append to EMERGE_DEFAULT_OPTS or replace
> EMERGE_DEFAULT_OPTS

Replace is probably better.  You can always manually append if you
want to, but it is much harder to remove unless portage has logic to
handle a inverse of every option and processing them in order (ie
--with-bdeps=y --with-bdeps=n works out to a no, and vice-versa).  If
you just replace it you'll eliminate a bunch of issues.

Rich


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] revdep-rebuild bikeshedding
  2013-01-16 20:43 [gentoo-dev] revdep-rebuild bikeshedding Paul Varner
  2013-01-16 20:52 ` Rich Freeman
@ 2013-01-16 20:57 ` Ian Stakenvicius
  2013-01-16 21:52   ` Albert Hopkins
  2013-01-17 10:25 ` Sergey Popov
  2 siblings, 1 reply; 5+ messages in thread
From: Ian Stakenvicius @ 2013-01-16 20:57 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 16/01/13 03:43 PM, Paul Varner wrote:
> All:
> 
> Time for some bikeshedding :)
> 
> For the gentoolkit-0.3.0 series, I removed any filtering of emerge 
> options set in EMERGE_DEFAULT_OPS for revdep-rebuild.  This has
> caused some people to complain because some of the flags in their 
> EMERGE_DEFAULT_OPTS are not suitable for a revdep-rebuild run.
> 
> I am not going to go back to filtering any of the emerge options, 
> however, I just added support for a make.conf variable called 
> REVDEP_DEFAULT_OPTS which currently gets appended to the list of
> options after the EMERGE_DEFAULT_OPTS and before the command line
> options.
> 
> Here is where the bikeshedding begins: 1. What variable name do we
> prefer? REVDEP_DEFAULT_OPTS or REVDEP_EMERGE_DEFAULT_OPTS

+1 on REVDEP_DEFAULT_OPTS , but if things are going to be verbose
might as well make them completely verbose with
REVDEP_REBUILD_DEFAULT_EMERGE_OPTS

> 2. What behavior do we want? append to EMERGE_DEFAULT_OPTS or
> replace EMERGE_DEFAULT_OPTS

+1 on the replace.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iF4EAREIAAYFAlD3FDIACgkQ2ugaI38ACPC3gQEAvUlApXInabHifnIXlqsUJhJX
syeaaDkOXLzSO1L3vskA/2xX2YxAMnnmtFkv+QLBi+Kx+fLi60ZE/0QD1Zd5LH/3
=h5CO
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] revdep-rebuild bikeshedding
  2013-01-16 20:57 ` Ian Stakenvicius
@ 2013-01-16 21:52   ` Albert Hopkins
  0 siblings, 0 replies; 5+ messages in thread
From: Albert Hopkins @ 2013-01-16 21:52 UTC (permalink / raw
  To: gentoo-dev



On Wed, Jan 16, 2013, at 03:57 PM, Ian Stakenvicius wrote:
[...]
> +1 on the replace.

+1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] revdep-rebuild bikeshedding
  2013-01-16 20:43 [gentoo-dev] revdep-rebuild bikeshedding Paul Varner
  2013-01-16 20:52 ` Rich Freeman
  2013-01-16 20:57 ` Ian Stakenvicius
@ 2013-01-17 10:25 ` Sergey Popov
  2 siblings, 0 replies; 5+ messages in thread
From: Sergey Popov @ 2013-01-17 10:25 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

17.01.2013 00:43, Paul Varner wrote:
> Here is where the bikeshedding begins:
> 1. What variable name do we prefer? REVDEP_DEFAULT_OPTS or
> REVDEP_EMERGE_DEFAULT_OPTS

REVDEP_REBUILD_DEFAULT_OPTS seems fine, IMO.

> 2. What behavior do we want? append to EMERGE_DEFAULT_OPTS or replace
> EMERGE_DEFAULT_OPTS

replace is better

-- 
Best regards, Sergey Popov
Gentoo Linux Developer
Desktop-effects project lead


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-17 10:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 20:43 [gentoo-dev] revdep-rebuild bikeshedding Paul Varner
2013-01-16 20:52 ` Rich Freeman
2013-01-16 20:57 ` Ian Stakenvicius
2013-01-16 21:52   ` Albert Hopkins
2013-01-17 10:25 ` Sergey Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox