[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: short koji repo question

On Wed, 2007-10-03 at 22:36 +0200, Oliver Falk wrote:
> Hi!
> Is there any good reason, why koji doesn't also create the sqlite
> database with createrepo (passing -d option)?

createrepo in koji also uses the --update flag if a previous repo
exists.  This causes it to parse the existing repodata and reuse it for
all packages that haven't changed.  This is a *huge* increase in speed,
since only 1 or 2 packages have changed between repo regens in the
normal case.

I'm not sure if --update will work with sqlite database, but if not, I'd
like to see that support added before changing the createrepo call.

> For slow arches, it would speed up the init phase of the build-root...
> For the fast arches, well it would also be faster I think...
> If someone is going to change/try that. Let me know the progress. I
> tried that on our Alpha Koji, but encountered a problem...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]