[repo-coord] Repo information inside rpm?

Dag Wieers dag at wieers.com
Fri Aug 13 14:58:27 CEST 2004


On Fri, 13 Aug 2004, Morten Kjeldgaard wrote:

> I am sitting here thinking it would be extremely useful to have some repo
> information stored in the RPM header. I have my eyes on the Distribution tag,
> which I think is somewhat useless, and could be put to much better use if we
> decide on some kind of standard. I propose something like this:
> 
> Distribution: *<repo>:<distribution>:<release>:<lang>:<arch>:<component>*

I don't object to the idea. I have three remarks though.

1. I wouldn't use a URL to identify a repository. apt.sw.be is temporary 
for me and I don't want that in any of my packages anyway.

2. I'm now using the Distribution tag for the full name of the 
distribution. Which I think on its own is useful. The Vendor may be 
better for this purpose ? Or a mixture that is still human readable ?
 
I would also prefer a scheme that doesn't require a specific position, 
something like:

	Vendor: name=rpmforge, url=http://rpmforge.net/, repo=dag, dist=fc2

Or use the different headers for each type of information:

	Distribution: repo=dag, dist=fc2
	Vendor: name=rpmforge, url=http://rpmforge.net/
	Packager: name=Dag Wieers, email=dag at wieers.com, url=http://dag.wieers.com/

I like the idea that it can be processed easier by programs, but would 
love to have it also more human readable and not positional. I'm sure 
rpm.pbone.net would love this too.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



More information about the repo-coord mailing list