Le 29/10/2018 à 21:35, Xavier a écrit : > Le 29/10/2018 à 12:27, Raphael Hertzog a écrit : >> On Sun, 28 Oct 2018, Xavier wrote: >>> Mattia explained me dep14. I found a way to do it: create branch from >>> master, update project to set default_branch to debian/master then >>> remove master. It works as expected. >>> >>> $ salsa update_repo node-mongodb --group js-team --rename-head >>> >>> $ salsa update_repo --all --rename-head --no-fail # all user projects >>> >>> Manpage updated: >>> https://salsa.debian.org/yadd/devscripts/blob/devscripts-salsa-890594/scripts/salsa.pl#L339 >> >> Nice, thanks! >> >> Now, this tool is really powerful and one could be wary of breaking >> things. It would be nice if there was a "--no-act" option that would not >> change anything but only display what would be done. >> >> It could be useful to see what repositories are currently not following >> the usual rules and double check that we really want to override their >> current configuration. > > Done: now you have a "check_repo" command that reports bad configured > repositories without modifying anything. > > https://salsa.debian.org/yadd/devscripts/blob/devscripts-salsa-890594/scripts/salsa.pl#L117
It can check: - kgb/irc channel - tagpending - description - default branch $? contains the number of failed packages. Examples: # Some js-team packages: $ salsa check_repo --team js-team --desc \ --kgb --irc-channel=debian-js \ --tagpending \ --rename-head \ node-tap node-mongodb node-tap: bad description: Repository imported from https://anonscm.debian.org/git/pkg-javascript/node-tap.git/ Default branch is master kgb missing Tagpending missing node-mongodb: Default branch is master kgb missing # All perl-team packages: $ salsa check_repo --team-id=2666 --desc \ --kgb --irc-channel=debian-perl \ --tagpending \ --all (takes a very long time)