Re: discussion of createrepo and repodata format future

seth vidal <[email protected]> Mon, 09 Aug 2010 14:04:37 -0400
Newsgroups gmane.linux.rpm.metadata
Message-ID <1281377077.1345.495.camel@oliver>
On Sat, 2010-08-07 at 17:51 +0200, Michael Schroeder wrote:
> Hmm, but *bin/* dependencies are already in primary, right? (At
> least for the xml version.) So that doesn't hurt.
> 
> AFAIK you also have lots of dependencies for stuff in /usr/lib,
> thats why you need to transfer the complete filelist.

Actually, ours are worse than that:

*bin/*, of course
/etc, of course
/usr/lib/
/usr/share <- this is where the real annoyances come from - this is
mostly font requirements.


> Would it make sense to find out which directories are used in
> the dependencies and also add them to the primary data like
> the *bin/* files?

It varies from release to release - but in general the ones
in /usr/share would make adding them to primary untenable.


> The idea is that you have to download that part of the filelist
> anyways if you want to do depsolving (i.e. for yum install/update).

This is why I was pushing for per-subdir sets of filelists mapped back
to pkgs. So someone looking for /usr/lib/something can just download a
subdir of /usr/lib/* rather than ALL of the whole filelists for that
repo.

-sv