Ticket #177 (new enhancement)
Allow optional packages in custom sets
| Reported by: | sputnick@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | pkgcore | Version: | 0.4.5 |
| Keywords: | Cc: |
Description
One feature that I like about Paludis' sets is that you can specify packages to be optionally in the set. By prefixing an atom with ?: in the set file, a package will not automatically be (re)installed except it's already in world. This allows one to only install and maintain parts of a set. There are also some more ways to specify hard and optional dependencies in sets.
Prime example are the sets provided by the genkdesvn overlay, which contain all packages belonging to a KDE module. By making all but the hard deps optional, you can choose the packages you really need by installing them explicitely (i.e. putting them in world), and still use the set for maintaining/upgrading these selected packages only.
