[Mageia-sysadm] repoctl

nicolas vigier boklm at mars-attacks.org
Fri Feb 10 20:47:28 CET 2012


On Fri, 10 Feb 2012, Pascal Terjan wrote:

> On Fri, Feb 10, 2012 at 19:18, nicolas vigier <boklm at mars-attacks.org> wrote:
> > Hello,
> >
> > I started work on a new tool to manage package repositories :
> > http://svnweb.mageia.org/soft/repoctl/trunk/
> >
> > This tool allow to :
> >  - move / delete / list packages from repositories
> >  - lock a repository before modifying it
> >  - generate hdlists for repositories that have been modified
> >  - generate a file with sha1sum of important files before mirroring
> >
> > You can see the command available with repoctl --help.
> >
> > Things planned next :
> >  - make a package and install this tool on valstar to start using it
> >  - update youri to use it when moving packages to the repository
> >  - remove update of hdlists and mirroring from youri, and replace this
> >   by a repoctl call by cron every 4 or 5 minutes, so that hdlists are
> >   not generated 3 times if 3 packages are uploaded in 3 minutes
> 
> This means we can no longer know when a package is available.

If we know when the package was finished, and the last time the mirror
was updated, we can know if it is available.

> Currently they wouldn't be generated 3 times, as the 2 other packages
> would be finished while genhdlist is still running for the first one,
> and it would run once for both.
> What is the point of making upload slower?

Hmm, so I was wrong and it was not a good idea.



More information about the Mageia-sysadm mailing list