On Mon, Jan 26, 2009 at 01:17:40PM -0500, Bill Nottingham wrote:
Richard W.M. Jones (rjones(a)redhat.com) said:
> > *All* of that is in the RPM header. It's not pulling anything out of the
> > file payload.
>
> So? createrepo would need to parse a bit more of the RPM.
1) Having createrepo have to parse the entire cpio metadata to
look for a particular file would be insanely slow
2) I just picked a random package I maintain. The ChangeLog is
1.4MB uncompressed, 326k compressed. Even if that's larger than
typical, imagine scaling that out across 7000 source packages,
and then the size of the resulting XML to download...
In gcc ChangeLogs are 5.2MB bzip2 -9ed, glibc has 6.5MB of uncompressed
ChangeLogs (haven't checked how big they are compressed). Putting that
all into metadata is going to grow it a lot.
Jakub