* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-03-26 23:11]:
> In the current code, you can run into a fair amount of trouble if you
> install a set of packages and then change the preferred authority.  The
> preferred authority specifies the location from where packages are
> obtained when the user doesn't explicitly declare an authority in the
> FMRI.
> 
> This wad should eliminate the most common problems that occur if you
> install from one repository, and then re-configure the client
> to install from a different preferred authority.
> 
> Webrev is here:
> 
>       http://cr.opensolaris.org/~johansen/pkg_auth2/

  Sorry I missed this last week.

  fmri.py:

  154,
  167,
  181.  Please use one of "not self.authority" or "self.authority ==
        None" (or equivalent).

  image.py:

  359.  Expand this comment, so we understand that the local copy of the
        manifest may not have had this information if the last
        installation of the package was with an older version of the
        client.

  833.  Need to explain the preferred/non-preferred matching in a
        docstring.

  980 - 987.  I think that if we had zero matches in pnames, then we
      would want to check the non-preferred matches, but not if we had
      one match.

  manifest.py:

  103.  Shouldn't this be "set name=fmri value=%s\n"?

  309ff.  Cool.

  - Stephen

-- 
[EMAIL PROTECTED]  http://blogs.sun.com/sch/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to