Nilesh Patra pushed to branch master at Debian Med / community / helper-scripts
Commits: 4d3df0c3 by Nilesh Patra at 2021-05-13T13:15:26+05:30 Add script to change CI config team-wide - - - - - 1 changed file: - + fix-salsa-conf.sh Changes: ===================================== fix-salsa-conf.sh ===================================== @@ -0,0 +1,17 @@ +#!/bin/bash + +# List all med-team repos and save them in a file +salsa --group med-team list_repos > all_repo_details.txt + +#List out all names +grep 'Name:[[:space:]]' all_repo_details.txt > all_repo_names.txt + +# Prefix with med-team +sed -i 's|Name:[[:space:]]|med-team\/|g' all_repo_names.txt + +# Change ci config of every repo +for f in `cat all_repo_names.txt` +do + salsa update_repo --ci-config-path debian/salsa-ci.yml $f + echo "Changed ci config for $f" +done View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/-/commit/4d3df0c3ef025a10088f878cc2f9430341177077 -- View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/-/commit/4d3df0c3ef025a10088f878cc2f9430341177077 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
