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
Resilio sync configuration fix and NixOS test #62948
Conversation
Since Resilio Sync is unfree, I was not sure if a test could be added. If not, I will remove the test from this PR. |
@GrahamcOfBorg test resilio |
dcdd632
to
e76d303
Compare
@GrahamcOfBorg test resilio |
If tests for non-free packages are not possible, I can do a new PR containing just the bug fix for the Resilio Sync module. |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/23 |
The Nixpkgs manual explains, "Note that we are not able to test or build unfree software on Hydra due to policy. Most unfree licenses prohibit us from either executing or distributing the software.". That doesn't mean we can't have a unfree test or that a unfree test isn't useful. It's usefulness would be limited due to no Hydra, but if run manually when making changes it's still useful. Does anyone want to please merge this? |
Hello, I was going to report the bug about |
@yesbox @netvl The best way to get this merge is to review the PR and once you are done post in https://discourse.nixos.org/t/prs-already-reviewed/2617 Though I guess I also have to rebase this to resolve conflicts in |
The resilio module places the directoryRoot configuration in the webui section. However, the generated configuration fails on the current version of Resilio Sync with: Invalid key context: 'directory_root' must be in global config section This change places this key in the global configuration section to solve this error.
This test verifies that Resilio Sync is running and that the authentication credentials specified in the configuration work.
e76d303
to
2b7cb30
Compare
Rebased, also updated the test script to Python. Ping |
Motivation for this change
This change bundles two commits:
directoryRoot
is used. The option was placed in the wrong section for current versions of Resilio Sync.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)