purge-stale-projects.sh: Keep projects without remote #180
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/fix/20261117-purge-stale-projects-sh-keep-projects-without-remote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
purge-stale-projects.sh: Keep projects without remote
purge-stale-projects.shmoves every local git project that is missing from the personal project list ondevgit.janware.cominto purged/git/, assuming each local project mirrors a server-side repository. A project without a remote mirrors nothing, so it cannot be stale, yet it is moved away just the same.Skip a project when its Git repository has no remote, and log that it is left alone. Projects with a remote keep the existing behaviour and are purged only when they no longer appear in the server's list of personal projects.