[Mageia-sysadm] repoctl

Pascal Terjan pterjan at gmail.com
Fri Feb 10 20:33:16 CET 2012


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.
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?

>  - create a tool to check a mirror integrity, using sha1sum file, and
>   integrate this tool in MGA::Mirrors.
>  - use it in other tool to manage updates


More information about the Mageia-sysadm mailing list