On 03/15/11 03:43 PM, Shawn Walker wrote:
----- [email protected] wrote:
Greetings all,
Short form of question:
When a user in a NGZ types "pkg publisher" and the system repo is
proxying a file repo, would the preferred output look like this:
pkg5-nightly origin
online
http://localhost:15000/pkg5-nightly/3c123f1fc33935c8355e4b6f1c4361087d310c97/
(note that's all one line) or this:
pkg5-nightly origin
online http://localhost:15000/pkg5-nightly/<hash1>
Other suggestions on what the urls should look like would be
appreciated.
So to be clear,<hash1> is the literal text the second option would show?
Yes (though I'm open to suggestions on what the literal text is, but it
has to be something that clearly isn't a normal url)
More background:
The user/admin in the NGZ will never be able to manipulate these urls
since they're for system publishers. If we went with the second
option, we'd provide an option to 'pkg publisher' which enabled
printing the full url so debugging could take place outside of pkg.
It seems simpler just to print the whole thing and be done with it. I'd say
most of the pkg(1) subcommands probably have too many options already.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss