Re: discussion of createrepo and repodata format future
Michael Schroeder <[email protected]> Sat, 7 Aug 2010 17:43:38 +0200
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 06, 2010 at 02:24:47PM -0400, seth vidal wrote: > is this an issue for opensuse? I know it's one for fedora b/c of wanting > folks to be able to search for pkgs based on summary/description info in > their own language. Yes, it's an issue for the update repositories. It's not an issue for the DVDs, as they still use the old "susetags" format which already as the translations in different files since many years. > > If rpms get deleted they also vanish from the metadata. But we tend > > to keep the old rpms for reference, so usually only the number of packages > > at the start of the xml data changes and new packages get appended. > > > yah - the above is where we got into trouble in fedora - b/c the sheer > volume of updates is a bit crushing if we tried to tack them on the end > of the xml. This is part of the reason to looking at pure-sqlite repos > so we could do all updates as just insert/deletes + repomd.xml > regeneration. Hmm, I thought that those sqlite databases are generated from scratch. Don't you suffer from fragmentation issues if you just do insert/deletes? Our libzypp folkes experimented with a single sqlite database that contains the data of all repositories, and while it was fast in the beginning it got slower and slower the more the database was changed. (That may be fixed in current sqlite versions, though. Or maybe I remember it wrong.) Cheers, Michael. -- Michael Schroeder [email protected] SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}