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

Re: redhat abe



On Fri, 28 Jan 2005, Ralf Corsepius wrote:

> On Fri, 2005-01-28 at 16:12 +0100, Dag Wieers wrote:
> > On Fri, 28 Jan 2005, Ralf Corsepius wrote:
> > 
> > > Try aptate from apt4rpm (http://apt4rpm.sourceforge.net - Try the
> > > version from CVS-head, the released tarballs are troublesome) and feel
> > > free to ask me on PM in case of problems :-)
> > 
> > Afaics, aptate just calls genbasedir, yum-arch or createrepo. Each of them 
> > largely doing the same thing and reading 14GB worth of packages.
>
> Not quite. aptate uses a cache to check for which rpms have been added
> to a repository since the last time it has been run, and then
> incrementally builds the apt-repositories.

Could we have this functionality added to genbasedir ? genbasedir already 
does some caching afaik.


> Give it a try, initially building the repositories (setting up the
> cache) takes a lot of time, but updating repositories, after a couple of
> packages have been added to it is fast.

What does the implementation do exactly ? Does it use mtime ? How does it 
add or replace a single package ?


> As far as yum is concerned, you are right. yum repositories are re-built
> instead of being incrementally built, however even they are only built
> if a package had been added or removed from the repository.

Well, in most cases I rebuild 1 package for all distributions, so it 
affects all repositories.

--   dag wieers,  dag wieers com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


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