mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-14 04:55:07 +00:00
feat(services): load service plugins from git repos
Allow directories.services entries to be git repo specs (URL/owner-repo/ @branch) alongside local paths: clone + TTL-pull as cache, list-order priority with a duplicate-ignored summary, a refresh-services command that force-syncs and reports the per-service diff, and a dirty-clone guard that protects local edits on the automated path. Adds binaries.Git and a redact_paths config toggle.
This commit is contained in:
@@ -52,6 +52,9 @@ Route binary calls through the helpers in `unshackle.core.utils.subprocess`:
|
||||
dirs: install root → `<unshackle>`, venv → `<venv>`, home → `~`). `key` fields are also redacted
|
||||
unless `config.debug_keys`. Pass user data via `context=`/`request=`/kwargs so it is sanitized.
|
||||
Net effect: a shared JSONL leaks no account URLs, machine paths, or usernames.
|
||||
Set `redact_paths: false` in `unshackle.yaml` to show full absolute paths instead of `<unshackle>`/
|
||||
`<venv>`/`~` tokens (config-only, no CLI flag). Affects `redact_path` everywhere it is used —
|
||||
the debug log and the service load-summary detail. Secret/URL redaction is unaffected.
|
||||
- **Service calls are intentionally not logged** (no per-request POST/GET to services). Manifest
|
||||
parsing (`manifest_*_parse`) is the seam for request-level visibility.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user