src/modules/client/pkg_solver.py

- this isn't so pretty:
        if da.attrs.get("root-image", "").lower() == "true":

  why not have the dependancy action class translate this property (if
  present) into a boolean so you could just do:

        if da.attrs.get("root-image", ""):

- api.py`__map_installed_newest() tracks require dependancies.  should
  this function be updated to track these new types of require
  dependancies?:


ed


On Fri, Sep 17, 2010 at 01:14:09PM -0700, Bart Smaalders wrote:
> This is the fix for:
> 
> 16327 New dependency types desired
> 
> It adds three new dependency types:
> 
> require-conditional - dependency on minimum version of specified package
>     if predicate package is installed at specified version or newer.
>     This
> require-any - dependency on minimum version of any of the specified
>     packages.
> 
> require-origin - specified package must be at this version or newer
>     in order to install this package; if root-image=true, dependency is
>     on version installed in / rather than image being modified.
> 
> http://cr.opensolaris.org/~barts/16327/
> 
> - Bart
> 
> 
> -- 
> Bart Smaalders                        Solaris Kernel Performance
> [email protected]     http://blogs.sun.com/barts
> "You will contribute more with mercurial than with thunderbird."
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to