http://cr.opensolaris.org/~dduvall/pkg-misc3/
This is intended to fix
669 Need method to print package licenses before installation
1144 "pkg list -as" fails when unable to write to the pkg directory
and ends up fixing part of
208 pkg info, pkg list display no output for pkgs in the repository and not
installed
In particular, "pkg info" has grown a --license option (for 669), and a -r
option (also for 669, but that's part of what 208 wants). But I'm not
adding "-s <server>" to "pkg info", and I'm not adding a remote version of
what is now "pkg contents".
I'd like folks' thoughts on the loop I copied from image.py to client.py.
That should be refactored, but given that it's slightly different in the
two places, I'm not sure what the best way is. I've got some ideas, but
they may be a bit too crazy.
Also, right now "pkg info <pkgname>" where <pkgname> is in the catalog, but
not installed on the system returns nothing at all. If you specify -r, it
pulls the info from the repo, and if you specify a package name which
doesn't exist in the catalog, it'll tell you to relax. Ideas on what the
behavior should be here? Perhaps a message like
No package matching <blah> is installed on the system.
Suggest specifying -r to retrieve information from the server.
Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss