On 11/29/11 12:16, Vladimir Marek wrote:
Not entirely true, idr-create needs list of binaries you deliver. It was
my first reaction - this is wrong thing to do. But, since pkg has no api
to work with repositories (so that we could gmake publish and then change
the repository so that it's IDR) and since userland can't build IDRs by
any other means, idr-create is the best thing we have at the moment.
Um. What is it that idr-create is actually doing that it needs individual
filenames,
I believe it downloads the official package and replaces the binaries
you specify with files taken from your repository. Why? I believe
historic reasons.
That's so incredibly pointless, since IPS already takes care of only downloading
the binaries that changed.
The goal is to have IDR pkg repository. The repository differs from what
'gmake publish' produces (and I am not 100% sure about the details). One
example is that IDR repository has it's own publisher. So either we need
ON gate, Userland gate, Desktop gate etc. to have direct way of creating
IDRs with the correct publisher. Something like 'gmake idr' (but of
course one IDR can contain several components so running just singe
'gmake idr' will not be enough). Or we will use regular build process
and pkg repository (gmake publish in userland, not sure about ON) _and_
we need some tool to convert the just created pkg repository into IDR.
For example to change 'userland' publisher to 'idrXXXX' publisher. Do we
have any API to change pkg repository publisher? I'm not aware of it.
Only directly edit manifest file.
The publisher is not included in the manifest of the unpublished package.
At least ON, X & Userland allow setting the publisher name to use at build
time (this is how we set publishers like x-nightly for gk builds vs xnv-devel
for individual developer builds) - is that not good enough?
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss