purge-stale-projects.sh: Support --vcs

Support option --vcs. CVS is retired, but worked well as a test case
for mixing multiple version-control systems in one tree.

purge-stale-projects.sh is still pretty ugly and will have to go, but
its API might still serve as a working template.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-29 13:27:28 +01:00
commit c3c6cdc446
2 changed files with 73 additions and 55 deletions

View file

@ -267,7 +267,7 @@ clean-all-dirs:
purge: $(SSH_WRAPPER_SH)
ifneq ($(PURGE_SH),/bin/bash purge-not-found)
$(PURGE_SH)
$(PURGE_SH) --vcs git
endif
$(PROJECTS_TXT):