[repo-coord] Re: Repo information inside rpm?
Axel Thimm
Axel.Thimm at atrpms.net
Mon Aug 16 13:31:22 CEST 2004
On Mon, Aug 16, 2004 at 01:06:18PM +0200, Morten Kjeldgaard wrote:
> Axel Thimm wrote:
>
> >In general I'd suggest any information that is required before of
> >after the rpm builds (choosing platforms to build on, choosing repos
> >to be shoved in), should be external to the specfile/rpm. Perhaps
> >you'd like to propose a standard on such an external file format?
>
> I suppose it would be possible, if each build recieved a unique id.
> I could envision the following:
>
> 1. The user receives a unique id number from a centralized server
> somewhere (called "build-id" in the following).
>
> 2. The id is entered in the the "repo" string in the Distribution: field
> as discussed earlier, i.e. * .... id=452345251 ... *
>
> 3. The user builds the RPMs, in whichever way he/she prefers and is used
> to.
>
> At this point, I am pretty vague about how to use the build-id in
> practice. But there are several possibilities, for example:
How about a buildid = CVS/subversion release (e.g. a possibly dotted
sequence of numbers that will properly sort in rpm-manner) and using
that buildid as the first component of the release tag? See for
instance the kernel rpm in the Fedora Core distributions.
> 4. The user can run a program on the RPM which extracts information and
> sends it to the centralized server. This information can in principle be
> updated by the user, via a web-interface or some program.
>
> But before going any further, let me then propose:
>
> A) We agree on the Distribution: tag as the place to put the meta
> information. We use the keyworded form as proposed by Dag, since it allows
> the maximum amount of freedom: packagers kan employ their own keywords for
> their own purpose, and specific keywords for a standard purpose (for
> example the build-id).
>
> B) Given A) the ideas on how to implement and use the build-id can simmer
> and cook in the community, and we can possibly try out different options
> in a test scenario.
>
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/repo-coord/attachments/20040816/243e416d/attachment.bin
More information about the repo-coord
mailing list