[Rpm-metadata] Exposing split media

Paul Nasrat pnasrat at redhat.com
Wed Nov 9 18:00:55 UTC 2005


On Wed, 2005-11-09 at 10:36 -0500, Paul Nasrat wrote:


> Also I guess we want the media URI to have concept of id and fragment,
> thinking about this some a full uri could be described as:
> 
> href=media:/ID/Fedora/RPMS/foo-1.2-3.noarch.rpm#3
> 
> So within the set I want to encapsulate ID and Fragment/Volume.
> 
> I think that works based on:
> 
> http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#fragment
> 
> Looking at that RFC also has lead me to another example of fragmented
> media, that of multipart MIME:
> 
> http://www.ietf.org/rfc/rfc2046.txt

Currently createrepo with -u creates a base attribute, I wonder if it's
too much abuse to do:

<location xml:base="media:/rawhideYYMMDD/#1"
href="Fedora/RPMS/perl-Inline-0.44-15.noarch.rpm"/>

Paul




More information about the Rpm-metadata mailing list