Skip to content

feat(sync): add remote ignore patterns#70

Merged
acmore merged 2 commits into
mainfrom
feature-remote-sync-ignore
Apr 12, 2026
Merged

feat(sync): add remote ignore patterns#70
acmore merged 2 commits into
mainfrom
feature-remote-sync-ignore

Conversation

@acmore
Copy link
Copy Markdown
Owner

@acmore acmore commented Apr 12, 2026

Summary

  • add spec.sync.remoteIgnore for managed remote Syncthing .stignore patterns
  • write remote .stignore before configuring Syncthing so local-only artifacts are not pulled back to remote on later starts
  • keep removed spec.sync.remoteExclude rejected with guidance to use remoteIgnore
  • document remoteIgnore usage for profiling or other local-only outputs

Tests

  • go test ./internal/config ./internal/cli -run 'TestLoad.*Sync(RemoteIgnore|RemoteExclude)|TestWriteRemoteSTIgnoreInPod|TestBuildSTIgnoreContent|TestConfigureSyncthingPeer'
  • go test ./internal/config ./internal/cli
  • .venv/bin/pre-commit run --all-files --hook-stage manual okdev-gofmt

@acmore acmore merged commit d604de5 into main Apr 12, 2026
2 checks passed
@acmore acmore deleted the feature-remote-sync-ignore branch April 12, 2026 10:16
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