-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
nixos/syncthing: declare ignore patterns (resolves #268282) #353770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I think you need to use one of these for the issue to close correctly when this is merged |
Could you please add an NixOS test for this feature and please remove the merge master commit.. |
Hi @ck3d, I resolved the merge conflicts and added a test case, can you take a look? |
LGTM |
Hi, can this be merged or is there something left to do? @ck3d @peterhoeg @jokogr |
this is a basic yet critical feature already provided by syncthing, please review this and merge it as soon as possible. |
Hi, sorry to bother you, but I wanted to ask for someone to review or merge this PR. If you have questions I'll try my best to answer them and make the changes needed to get this merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Syncthing can be configured to ignore certain files and directories via ignore patterns. This PR adds a new nix option to set these patterns declaratively.
This PR adds an option to declaratively add ignore patterns to a syncthing folder. Patterns are added as a list of strings which is send to the syncthing service via the rest api.
This resolves #268282.
Things done
I've been using this for a few months now and it works with no issues.
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.