Skip to content

feat: add remote configuration sources - #11

Merged
yslib merged 6 commits into
mainfrom
config-sources
Aug 7, 2026
Merged

feat: add remote configuration sources#11
yslib merged 6 commits into
mainfrom
config-sources

Conversation

@yslib

@yslib yslib commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • allow --config SOURCE to load local paths or HTTPS manifests
  • add --git REPOSITORY --git-worktree PATH with clone-or-reuse semantics and strict repository-local origin validation
  • preserve native non-UTF-8 configuration paths and document all source/path-context behavior

Design boundaries

  • source acquisition remains entirely in dot-cli; dot-core::ConfigFile is unchanged
  • HTTPS acquisition is in-memory and independent from dot-core Fetch Content
  • Git is invoked externally and existing worktrees are never updated or repaired

Validation

  • cargo fmt --all -- --check
  • cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
  • cargo test --locked --workspace --all-targets --all-features
  • cargo test --locked -p dot-cli --all-targets
  • native and wasm no-default dot-core checks
  • release dot-cli build

@yslib
yslib marked this pull request as ready for review August 7, 2026 02:52
@yslib
yslib merged commit 6ce9bf6 into main Aug 7, 2026
7 checks passed
@yslib
yslib deleted the config-sources branch August 7, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant