In case someone finds the cloned repositories no longer work (missing `rpms` in 
url), run in folder with said repositories:

```
ls -d * | xargs -i bash -c "cd {} || exit 255 ; git status &>/dev/null || exit 
1 ; git remote -v | grep ^origin | tr -s '\t' ' ' | cut -d' ' -f2 | grep -v 
rpms | sort -u | grep -q 'fedoraproject\.org' && echo git remote set-url origin 
\"ssh://$u...@pkgs.fedoraproject.org/rpms/\$(basename \$PWD)\""

```
In order to actually execute the change, remove 'echo' from command.

HIH,
-- 
Pavel Valena
Software Engineer, Red Hat
Brno, Czech Republic
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to