Add typical Syncthing files to default exclusion #6524
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For increasing default interoperability between Syncthing & Nextcloud if users may want to sync a (sub-)directory with both tools without thinking about that those hidden files synced by Nextcloud might break Syncthing.
I want to propose this change:
If you think this change is too problematic or have some other reason, feel free to reject.
For context
Syncthing is another file synchronization client. However, it is based on peer-to-peer connections in a cluster of devices than on syncing everything with a central server. Hence I think there are non-niche use cases where it makes sense to use both together (e.g. Nextcloud allows me fast access to (just some of) my files from everywhere & allows easy sharing those in any granularity; Syncthing allows syncing a directory from/to Android, requires no dedicated server & can utilize local connections).
Syncthing uses these three directories/files as follows:
.stfolder
: empty directory, used to determine that this directory is part of a Syncthing folder synchronization.stignore
: ignore file for local Syncthing client.stversions
: if enabled, Syncthing stores old versions of files here (on incoming change or deletion).stignore
, not synced because it is meant to be local onlyTODO for me: