On 06/10/11 00:13, Brock Pytlik wrote:
Webrev:
http://cr.opensolaris.org/~bpytlik/ips-18441-v1/

Bug:
18441 pkg needs a freeze mechanism

These changes provide the freeze mechanism I outlined previously. The biggest changes I know of from the original use cases I sent out are that: 1) If pkg unfreeze <blah> doesn't match any frozen packages, no error is reported. I decided that seems reasonable since pkg unfreeze details each package that was unfrozen, so no output means no packages were unfrozen. 2) Publishers can be part of the patterns used for matching, but a package is only frozen to a version, not to a publisher.

I think that covers the major changes.

Thanks,
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
Here's an updated webrev.
http://cr.opensolaris.org/~bpytlik/ips-18441-v2/

In a previous comment, I was asked about wildcarded versions. For now, these are not supported. I spent time investigating this and we don't have the existing infrastructure to support this properly. I believe that using wildcards in the version for freeze would be an uncommon use of a what is likely already an uncommon operation. I'll file an RFE to track the desire for this functionality.

Thanks,
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to