public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations
@ 2007-01-17  0:06 Mike Frysinger
  2007-01-17  0:30 ` Ned Ludd
  2007-01-19  5:29 ` Mike Frysinger
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Frysinger @ 2007-01-17  0:06 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Diego 'Flameeyes' Pettenò

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

Diego is proposing a new flag to built_with_use to handle the corner case 
where you query a package that does not have the requested flag in IUSE

built_with_use [--missing <action>] ...

so in the case of version transitions, you can specify the <action> as either 
true, false, or die (only current option)

seems like a cleaner solution than forcing what can be a rats nest of 
has_version checks
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations
  2007-01-17  0:06 [gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations Mike Frysinger
@ 2007-01-17  0:30 ` Ned Ludd
  2007-01-19  5:29 ` Mike Frysinger
  1 sibling, 0 replies; 3+ messages in thread
From: Ned Ludd @ 2007-01-17  0:30 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Diego 'Flameeyes' Pettenò

On Tue, 2007-01-16 at 19:06 -0500, Mike Frysinger wrote:
> Diego is proposing a new flag to built_with_use to handle the corner case 
> where you query a package that does not have the requested flag in IUSE
> 
> built_with_use [--missing <action>] ...
> 
> so in the case of version transitions, you can specify the <action> as either 
> true, false, or die (only current option)
> 
> seems like a cleaner solution than forcing what can be a rats nest of 
> has_version checks
> -mike


I'd agree. The built_with_use is a thorn in the side with the existing
behavior. Adding --missing yes|no 0|1 would be nice.



-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux

-- 
gentoo-portage-dev@gentoo.org mailing list



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

* Re: [gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations
  2007-01-17  0:06 [gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations Mike Frysinger
  2007-01-17  0:30 ` Ned Ludd
@ 2007-01-19  5:29 ` Mike Frysinger
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2007-01-19  5:29 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Diego 'Flameeyes' Pettenò

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

On Tuesday 16 January 2007 19:06, Mike Frysinger wrote:
> built_with_use [--missing <action>] ...

this is implemented in cvs now ... give it a spin Diego
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

end of thread, other threads:[~2007-01-19  5:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17  0:06 [gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations Mike Frysinger
2007-01-17  0:30 ` Ned Ludd
2007-01-19  5:29 ` Mike Frysinger

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