[Mageia-sysadm] package submit wrapper

Pascal Terjan pterjan at gmail.com
Wed Jan 12 23:14:59 CET 2011


On Wed, Jan 12, 2011 at 19:11, nicolas vigier <boklm at mars-attacks.org> wrote:
> Current version of repsys/mgarepo is running /usr/share/repsys/create-srpm
> when submitting a package.
>
> I think it would a good idea instead to use a small wrapper in an other
> path, maybe something like /usr/local/bin/submit_package :
>  - we can move create-srpm to /usr/share/mgarepo
>  - if we want later to use something else than create-srpm, it will be
>   easier to do it
>  - we can add a check for the user to be in the right group (mga-packagers).
>   Currently it is not working only because /home/schedbot/repsys/srpms
>   directory is owned by mga-packagers.

This part may actually be enforced in ssh config, like only people in
this group can connect, and can only run this command

>  - we can add other checks if needed
>
> What do you think ?

Seems a good idea


More information about the Mageia-sysadm mailing list