Mailinglist Archive: opensuse-softwaremgmt (14 mails)

< Previous Next >
Re: [softwaremgmt] YUM patterns metadata
  • From: Jiri Srain <jsrain@xxxxxxx>
  • Date: Tue, 22 May 2007 13:12:57 +0200
  • Message-id: <200705221312.58405.jsrain@xxxxxxx>
Hi!

Dne úterý 22 květen 2007 13:02 Jan Kupec napsal(a):
> Hi!
>
> (posting also to zypp-devel, but pls. discuss it on opensuse-softwaremgmt)
>
> At http://svn.opensuse.org/svn/zypp/trunk/libzypp/zypp/parser/yum/schema
> you can find the current state of patterns metadata schema (patterns.rnc
> and rng).
>
> We never used patterns in YUM sources so far, so there is some space to
> make changes to it as we need. So please post comments, suggestions.
>
>
> Multiple pattern*.xml files or a single one?
>
> I have one suggestion to start with: let's keep patterns in one file by
> adding <patterns (maybe some attributes e.g. count)> element to
> encapsulate the <pattern> elements:
> ....
> start = element-patterns
> ....
> element-patterns = element patterns { pattern+ }
> ....

I think it makes more sense than having separate file for each pattern (or 
product), since sources providing patterns are (typically) not used for 
maintenance and thus no new patterns are appearing during the repository life 
cycle (which is not true for patches).

It also keeps consistence with packages.

Jiri

>
> Currently, there would be zero or multiple <data type="patter"> entries
> in repomd.xml.
>
>
> BTW: the same question applies to products as well
>
>
> Cheers,
>
> jano

-- 
Regards,

Jiri Srain
YaST Team Leader
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                             e-mail: jsrain@xxxxxxx
Lihovarska 1060/12                             tel: +420 284 028 959
190 00 Praha 9                                 fax: +420 284 028 951
Czech Republic                                 http://www.suse.cz
< Previous Next >
References