feat(services): add services_repo_force and compact refresh output

Force-reset repo clones on the automatic TTL refresh when enabled. Report refresh changes as one +/~/-/!TAG line per repo.
This commit is contained in:
imSp4rky
2026-08-26 22:15:39 -06:00
parent 97c939630c
commit 4964869258
8 changed files with 36 additions and 34 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ DIRTY_REPOS: list[str] = []
for _entry in raw:
if isinstance(_entry, str) and is_repo_spec(_entry):
try:
_resolved = resolve_service_repo(_entry)
_resolved = resolve_service_repo(_entry, force=config.services_repo_force)
except DirtyServiceRepo as e:
# local edits in the clone - record it and let check_load_errors() exit cleanly
DIRTY_REPOS.append(redact_path(str(e.path)))