Shawn Walker wrote:
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
How likely is this to get fixed? Its currently P4 and we'd need it fixed
if Web Install/ Mime Type support is to make it into 2009.06.
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 think I'd still like multiple repos supported in the .p5i file as it
would be convenient for authors and also important if we want to support
the saving of selections from multiple repos into a single file to allow
easy reinstall of a set of user selected packages, by using a single
.p5i file on a new system.
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.
OK I have something working on the stub data and will hold off doing
more until you get back to me on the specifics. Michal and I are in the
US next week on the West coast. Would be good to get a conf call to
discuss the API and any outstanding issues. We should be available from
Tuesday Afternoon through to Thursday evening. Just let me know when
suits. I'll post the details of any discussion up here on pkg-discuss.
Cheers,
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss