cmds.projects.CmdCanonicalizeRemotes: Add command

CmdCanonicalizeRemotes / canonicalize-remotes and the respective
target in topdir.mk remove the /srv/git portion from all remotes'
URLs pointing to git.janware.com.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-04-13 12:13:01 +02:00
commit 281cdf4ec7
2 changed files with 57 additions and 0 deletions

View file

@ -229,3 +229,6 @@ echo-hash:
recache-vars:
rm -f $(TOPDIR)/make clean-cache cache
canonicalize-remotes:
$(PYTHON) $(JWB_SCRIPT_DIR)/jw-pkg.py projects canonicalize-remotes