[Yum-devel] Q: New <origin> attribute in repomd.xml?

Michael Andres ma at suse.de
Fri Mar 5 13:40:53 UTC 2010


On Friday 05 March 2010 13:41:22 Seth Vidal wrote:
> On Fri, 5 Mar 2010, Michael Andres wrote:
> Why not use the --distro and --content options to that effect?
>    <tags>
>      <content>head</content>
>      <distro>opensuse</distro>
>    </tags>
>
> they're already there.

It's not really content/distro related. It's more a unique identifier of a 
repo (any kind of repo).

Assume you add a repo from http://foo.bar, then you add http://foomirror.bar. 
Even if they are out of sync we'd like to detect that they actually refer to 
the same repo. Content and distro may change. We're looking for something 
that lasts longer. (like a package name that stays the same, even if the 
content changes). 

It's IMO cleaner to have a dedicated tag for this purpose, than using e.g. a 
<content> entry with a special syntax (like "origin=...").

-- 

cu,
    Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862  27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres             YaST Development            ma at novell.com
SUSE LINUX Products GmbH, GF:  Markus Rex,  HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+



More information about the Yum-devel mailing list