Re: Repo information inside rpm?
Dag Wieers <[email protected]> Fri, 13 Aug 2004 14:58:27 +0200 (CEST)
| Newsgroups | gmane.linux.redhat.rpm.atrpms.repo-coordination |
|---|---|
| Organization | 3TI Web Hosting Services |
| Message-ID | <[email protected]> |
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 protected], 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, [email protected], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]