John Rice wrote:
Shawn Walker wrote:
The only other option I can think of is to somehow express to the API
that a preferred authority only for the duration of the transaction.
This sounds like the right approach. We could pass an authority to
plan_install() so it can enforce this preferred authority restriction
for the transaction, and just give it a simple list of package names
without the package stem. Can you discuss this with Brock to see if we
can do it that way.
The following bug should cover the above case:
2014 ability to specify preferred authority for operation desired
http://defect.opensolaris.org/bz/show_bug.cgi?id=2014
As I understand it, it's actually possible for multiple authorities to
be in an authority/0 response. As such, I plan on supporting multiple
in a p5i file.
Ok if that's the case then I need a few extra things:
After further research, I was incorrect in stating that multiple
authorities could be in an authority/0 response. The information for a
single authority will be in the response, although pointers to other,
"related" repositories may be included. Which would suggest that the
client attempt auto-discovery of their information and include it in the
result of parse_authority_info.
I'll have to get back to you on the API specifics after I have a better
idea of how the data needs to be structured.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss