Package: devscripts Version: 2.17.12 Severity: wishlist Many persons/teams are writing custom scripts to configure the projects in their new Salsa group. https://salsa.debian.org/mehdi/salsa-scripts https://salsa.debian.org/jcowgill/multimedia-cli
It would be nice if devscripts provided such a tool so that we don't have to reinvent it each time. Those scripts are not only needed when you migrate but everytime that you create a new project since Gitlab does not offer any way to configure default integrations for new projects. Thus I would like this script to be able to extract the list of projects of a given group. It would then loop over all the projects and configures them appropriately. It should be idempotent and not break if the projects have already been configured. It should be usable also when the team's default configuration changes (say you want to remove a webhook or modify some of its parameters). Currently the integrations that most team want to enable are: - email on pushes (sends mails to tracker.debian.org) - tagpending hook or close hook (tags bugs as pending or close them when the commit message contains a "Closes: #xxx") - IRC notification (currently with irker, but KGB webhook is also a possibility) - a future "tagpatch" on new merge requests (tags bugs with patch and give link to MR, when a new merge request contains a "Closes: #xxx") It would be nice if there was a way to exclude some projects from this automatic configuration (either by assigning a tag to the project or by explicitly listing projects to skip). For very large groups, it might make sense for the script to add some sort of marker in configured projects so that it can easily identify new projects where the configuration must be applied. Cheers,