[tools] mrepo RPMS.all meta data missing

Dag Wieers dag at wieers.com
Wed Jul 18 13:40:49 CEST 2007


On Mon, 16 Jul 2007, Benjamin James VanderSluis wrote:

> I apologize if this comes up all the time,
> but I couldn't find anything on the list
> since the release of 0.8.4...
> 
> inept:~ # mrepo --version
> mrepo 0.8.4
> Written by Dag Wieers <dag at wieers.com>
> 
> platform posix/linux2
> python 2.5 (r25:51908, Nov 27 2006, 19:14:46)
> [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]
> 
> build revision $Rev: 4991 $
> 
> I've upgraded to mrepo 0.8.4 from an older version of yam.
> Now when I generate the repository I get a directory
> for the 'all' repository, but it contains only rpms, and
> no meta data. There is a FIXME line in /usr/bin/mrepo
> 
>   ### FIXME: Repository 'all' got lost when introducing Repo class
> 
> but I'm not very proficient in python and cannot find where things
> are going wrong. Any way I suspect if the problem was simple enough
> for me to fix, it would simply be fixed and no FIXME would be present.

The reason why having an RPMS.all with metadata is generally not 
advisable, is that we like to efficiently generate metadata only for those 
repositories (and packages) that have been changed. None of the tools can
create metadata efficiently on a per package basis. (updating instead 
rewriting the metadata from scratch)

Once you have one repository with ALL packages with uptodate metadata, you 
are forced to generate metadata for all your packages (not just those 
packages in the repository you changed). This makes a huge different in 
performance and stress on the system.


> My server is running opensuse 10.2 and here is a copy of my mrepo.conf

Are you interested to submit a full template for OpenSUSE (and maybe other 
distributions you are using) ?


> Also, is there a way to use absolute file names in the iso directive as
> before?
> I like the organization I had before and putting in links everywhere to
> maintain it is at least a minor annoyance.

That's a valid question. I can certainly add this capability. I wasn't 
aware this was previously possible :)

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


More information about the tools mailing list