On 01/16/2018 10:25 PM, Sebastiaan Couwenberg wrote: > Now that GitLab runners are available, pushing commits for projects that > contain a .gitlab-ci.yml triggers the pipelines which are not > appropriate for the Debian package repository (only for upstream). > > So I've written another script to change the CI config path to > debian/.gitlab-ci.yml and used it to update all our repositories on Salsa. > > A new setup-repository script is needed to configure this project > setting along with the 'Emails on push' and other default project > configuration for new repositories. > > There is still no KGB for GitLab, so we'll need to configure the Irker > (IRC gateway) for our projects in the mean time. This configuration will > need to be added to the setup-repository script too. Attached are two scripts to managed Salsa repositories, with the default options applicable for the debian-gis-team. salsa-configure-repositories.pl is used to tune the project configuration for all repositories in the debian-gis-team namespace. I used this to disable issues, set the custom CI path, configure Email on push & Irker services, etc. salsa-create-repository.pl is the new setup-repository script, it creates a project in the debian-gis-team namespace and configures it appropriately. These script will need to get a more permanent home in a git repository, perhaps the pkg-grass one that was automatically created on Alioth, or something new with a more appropriate name. Kind Regards, Bas
Attachment:
salsa-configure-repositories.pl
Description: Perl program
Attachment:
salsa-create-repository.pl
Description: Perl program