Duncan Mac-Vicar Prett | 5 Jun 14:33 2007
Picon

tags in .repo files


Hi,

is there any tag defined for .repo files for tags?

Should this go in the .repo file used to add the repository, or do you think 
it belongs to the metadata itself (repomd.xml).

In the second case, the tags would be refreshed together with a source 
refresh.

Cheers,

--

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
seth vidal | 5 Jun 15:27 2007

Re: tags in .repo files

On Tue, 2007-06-05 at 14:33 +0200, Duncan Mac-Vicar Prett wrote:
> Hi,
> 
> is there any tag defined for .repo files for tags?
> 
> Should this go in the .repo file used to add the repository, or do you think 
> it belongs to the metadata itself (repomd.xml).
> 
> In the second case, the tags would be refreshed together with a source 
> refresh.

.repo tags? What .repo tags?

I'm not sure I understand what you're talking about.

-sv
Duncan Mac-Vicar Prett | 5 Jun 15:34 2007
Picon

Re: tags in .repo files


.repo = repo files

a file with:

[repoid]
baseurl=http://...
etc...

I want to assign tags to that repo, like, "updates,kernel,cool,unstable"

--

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
Paul Nasrat | 5 Jun 19:24 2007
Picon

Re: tags in .repo files

On Tue, 2007-06-05 at 15:34 +0200, Duncan Mac-Vicar Prett wrote:
> .repo = repo files
> 
> a file with:
> 
> [repoid]
> baseurl=http://...
> etc...
> 
> I want to assign tags to that repo, like, "updates,kernel,cool,unstable"

What actual problem are you trying to solve with this tagging?

I'd probably advise writing a plugin to deal with tagging the software,
as by itself there is little benefit, but shared tags could be useful.

Again really depends on the problem.

Paul
Duncan Mac-Vicar Prett | 6 Jun 10:09 2007
Picon

Re: tags in .repo files

On Tuesday 05 June 2007 19:24:09 Paul Nasrat wrote:
> On Tue, 2007-06-05 at 15:34 +0200, Duncan Mac-Vicar Prett wrote:
> > .repo = repo files
> >
> > a file with:
> >
> > [repoid]
> > baseurl=http://...
> > etc...
> >
> > I want to assign tags to that repo, like, "updates,kernel,cool,unstable"
>
> What actual problem are you trying to solve with this tagging?

The openSUSE build service allows project owners and the community to tag 
repositories and packages via the web interface and the web api. The 
resulting repositories are dumped as rpm-md repositories. Package management 
UIs should be able to get this tags so they can be displayed.

--

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
Paul Nasrat | 6 Jun 10:18 2007
Picon

Re: tags in .repo files

On Wed, 2007-06-06 at 10:09 +0200, Duncan Mac-Vicar Prett wrote:
> On Tuesday 05 June 2007 19:24:09 Paul Nasrat wrote:
> > On Tue, 2007-06-05 at 15:34 +0200, Duncan Mac-Vicar Prett wrote:

> > > I want to assign tags to that repo, like, "updates,kernel,cool,unstable"
> >
> > What actual problem are you trying to solve with this tagging?
> 
> The openSUSE build service allows project owners and the community to tag 
> repositories and packages via the web interface and the web api. The 
> resulting repositories are dumped as rpm-md repositories. Package management 
> UIs should be able to get this tags so they can be displayed.

You might want to look at modifyrepo and use that in conjunction with
your own schema for tags, see the yum security plugin from yum-utils cvs
and yum.update_md for an implementation of adding arbitrary metadata.

Paul
Duncan Mac-Vicar Prett | 6 Jun 12:01 2007
Picon

Re: tags in .repo files

On Wednesday 06 June 2007 10:18:59 Paul Nasrat wrote:
> You might want to look at modifyrepo and use that in conjunction with
> your own schema for tags, see the yum security plugin from yum-utils cvs
> and yum.update_md for an implementation of adding arbitrary metadata.
>
> Paul

Ok, so you suggest we add our own resource type to repomd.xml as we do with 
patches.xml, patterns.xml and as RedHat does with updateinfo.xml.

--

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
Paul Nasrat | 6 Jun 12:53 2007
Picon

Re: tags in .repo files

On Wed, 2007-06-06 at 12:01 +0200, Duncan Mac-Vicar Prett wrote:
> On Wednesday 06 June 2007 10:18:59 Paul Nasrat wrote:
> > You might want to look at modifyrepo and use that in conjunction with
> > your own schema for tags, see the yum security plugin from yum-utils cvs
> > and yum.update_md for an implementation of adding arbitrary metadata.
> >
> > Paul
> 
> Ok, so you suggest we add our own resource type to repomd.xml as we do with 
> patches.xml, patterns.xml and as RedHat does with updateinfo.xml.

I think that'd be the easiest way to handle it in the first instance,
it'd also potentially  allow for external tagging sources to apply to
repos (cf group merging behaviour).

Paul
Bill Coughenour | 12 Jun 23:19 2007
Picon
Picon

RPM Meta-data info

I'm new to RPM and I'm looking into the meta-data. Is there a way to add 
fields/tags to the meta-data?

Thanks,
Bill

Gmane