[Rpm-metadata] groups.xml and repoview
Michael A. Peters
mpeters at mac.com
Tue Feb 14 15:46:05 UTC 2006
On Tue, 2006-02-14 at 01:59 -0800, Michael A. Peters wrote:
> Hi.
>
> I'm running a new repository for tetex packages.
> I'm trying to add a group file - createrepo seems to like it, but
> repoview pukes.
>
> The group file:
>
> http://www.tetexrpm.org/test/groups.php
>
> (get it with wget - I'm using php to generate it because the needed info
> is in a database)
>
> I wget that page, change the name to groups.xml, and throw it in the
> directory containing the rpms.
>
> createrepo -g groups.xml /path/to/repo
>
> seems to work fine - but then running repoview on it, repoview pukes.
If I comment out these two lines from repoview:
if self.repodata.has_key('group'):
self._getGroups()
it seems to work just fine.
More information about the Rpm-metadata
mailing list