Danek Duvall wrote:
> On Fri, Oct 10, 2008 at 10:07:50AM -0700, Jordan Brown wrote:
>> We're building SVR4 packages and then converting them into IPS.
> 
> "We" being your team, or the OpenSolaris folks converting the Solaris WOS?

My team, though the same principles apply to other cases.

>> I suspect we'll do this regardless for our own sanity, but it seems like 
>> the best way for it to be done would be for the IPS conversion process 
>> to understand this convention and extract the IPS metadata from the package.
> 
> It's not clear to me why the core importation process should grow to
> understand a non-standard package format.  The WOS conversion is still
> going to have to know about all the packages from the consolidations who
> won't put this special file in, so we can't just rely on the new format.

Presumably as more contributors become IPS-aware, the WOS conversion 
could have less and less per-component knowledge.

> If you have a more specific proposal, feel free to flesh it out.

I don't, really, because on this I'm at about 30,000 feet looking down 
at people who are saying "we need IPS metadata about these packages". 
I'm trying to solve some communications and synchronization problems 
from a high level, but I don't know any of the details.  Of course, 
should there be interest I'd go deeper and understand the details as 
necessary.

> I think that the folks who, in their spare time, have been looking at
> making the ON build spit out pkg(5) packages, have been looking at more or
> less the reverse process -- taking the richer pkg(5) metadata and building
> the SVr4 metadata files from that -- but their spare time has been limited,
> so I don't think prototyping has gone very far.

I've been thinking about having our build spit out IPS directly, but so 
far I haven't found a way to do that that I'm comfortable with.  It's 
probably just xenophobia, but the requirement for a somewhat separate 
"depot" and the lack of a way to pass around packages as just plain 
files makes me queasy.  (One could create and run a depot dynamically 
for the build and consider the depot's on-disk format to be the on-disk 
form of a wad of packages, but that seems like a lot of moving parts and 
a perversion of the intent.)

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to