purge-stale-projects.sh: Keep projects without remote #180

Merged
Jan Lindemann merged 1 commit from jan/fix/20261117-purge-stale-projects-sh-keep-projects-without-remote into master 2026-11-17 13:32:50 +01:00 AGit
Owner

purge-stale-projects.sh: Keep projects without remote

purge-stale-projects.sh moves every local git project that is missing from the personal project list on devgit.janware.com into 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.

#### purge-stale-projects.sh: Keep projects without remote `purge-stale-projects.sh` moves every local git project that is missing from the personal project list on `devgit.janware.com` into 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.
purge-stale-projects.sh: Keep projects without remote
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m5s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m34s
CI / Packaging test (pull_request) Successful in 0s
ec00ab9b17
purge-stale-projects.sh moves every local git project that is missing from
the personal project list on devgit.janware.com into 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.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.2
Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-11-17 13:22:10 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!180
No description provided.