public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage Sets
@ 2006-08-29 11:57 Alec Warner
  2006-08-29 14:22 ` Kevin F. Quinn
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Alec Warner @ 2006-08-29 11:57 UTC (permalink / raw
  To: gentoo-dev, gentoo-portage-dev

So I have implemented merging of sets (more or less) in a local portage
branch.  However there are some use cases for which the appopriate
action is ambiguous.

Use Case #1:
Set1 = { postfix, gentoolkit, lsof, bind-utils, vixie-cron }

A set of standard tools to be on a machine.  Assume a new install (ie
none of the packages in Set1 are installed).  Is it an error if one of
the packages in the set is masked or unavailable?  In this case I would
say yes; if you instead just skip the masked package (say postfix in
this case because it's convenient ) vixie-cron will pull ssmtp instead
of postfix.

Of course this will also occur if postfix is after vixie-cron in the
set; but for our purposes we will assume the administrator put them in
this order such that postfix will get pulled in.

One could also say that the user should have used emerge -pv set1 and
noticed that ssmtp is being pulled in instead of postfix.

Use Case #2:

Set1 = cat /var/lib/portage/world (the world set)

Assume the world file has 100 packages in it, two which are masked, and
three of which there are no ebuilds in the tree for.  If missing
packages cause an error (which in use case 1 they should imho) then the
user cannot update world without unmasking things properly.  The
packages for which ebuilds are missing in the tree is in fact a portage
bug(I think), and will probably need to be fixed.

Other use cases for sets would be appreciated, as far as behavior.  It
would probably be best to provide some sort of switch.

Unmerging sets is also a fun one, I'm not sure if it's entirely
appropriate yet.
-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2006-08-29 19:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 11:57 [gentoo-dev] Portage Sets Alec Warner
2006-08-29 14:22 ` Kevin F. Quinn
2006-08-29 14:37   ` Chris White
2006-08-29 14:44     ` Simon Stelling
2006-08-29 17:41       ` Mike Frysinger
2006-08-29 18:22         ` Wernfried Haas
2006-08-29 18:42           ` Mike Frysinger
2006-08-29 16:22   ` Alec Warner
2006-08-29 15:04 ` Chris White
2006-08-29 15:25 ` Ciaran McCreesh
     [not found]   ` <44F471A5.3020405@gentoo.org>
2006-08-29 17:20     ` Ciaran McCreesh
2006-08-29 17:45   ` Mike Frysinger

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