[Yum-devel] yum on an olpc machine (slooooooooooow)

Konstantin Ryabitsev icon at fedoraproject.org
Sun Dec 17 22:28:33 UTC 2006


On 12/16/06, seth vidal <skvidal at linux.duke.edu> wrote:
> The thing I like about having the xml around though is that it is human
> readable in a pinch. The sqlite is not.

I support the idea of just using sqlite dbs as the new format, and I
don't think non-human-readability is an issue. Repodata always
reflects the repository, so I think any sane human would just look at
the packages themselves rather than sift through megs of XML tags to
find what is available in this or that repository. Ultimately, RPMs
are non-human-readable either, so we don't take anything away by not
keeping the repodata machine-readable only.

Instead of "diffing," I suggest that createrepo doesn't just throw
away old repo data, but uses the old db to record a list of repository
changes in changes.sqlite.bz2. The client can then download that file
and "rerun" the transactions against its copy of the main db to get
up-to-date.

Cheers,
-- 
Konstantin Ryabitsev
Montréal, Québec


More information about the Yum-devel mailing list