On 09/16/10 03:36 PM, Jack Schwartz wrote:
Hi Shawn.
Thanks for your reply. Further questions follow.
On 09/15/10 03:08 PM, Shawn Walker wrote:
On 09/15/10 02:55 PM, Jack Schwartz wrote:
Hi everyone.
Just curious: is it normal or expected to have a P5I file which has an
empty or missing "origins" list?
Yes.
When processing a P5I file, I'm wondering if it is proper to try the
repo the file came from as a default origin if the "origins" entry is
missing. (Of course it would be an error if the P5I file came from
somewhere other than a repository.)
It doesn't know the repo the file came from, so that would be difficult.
If you're talking about the .p5i links in the web interface, the issue
is that the administrator hasn't configured their repository correctly.
So are you saying that the "Yes" above is in-general, but P5I files from
repositories should have a non-blank origins list?
The origins list being empty is fine as long as the the target image the
.p5i is being used with already knows about the related publisher and
repository.
Assuming the repo the P5I came from is known, would plugging the repo in
as a default for a missing origin be correct handling, or is this
treating an error condition that should not be encountered?
I would only "plug in" the repository that the .p5i came from as an
origin if the image you're going to use the .p5i with doesn't already
have origin information for the related publisher.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss