Skip to content
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

radicale: update to version 2 #27826

Merged
merged 1 commit into from
Aug 30, 2017
Merged

radicale: update to version 2 #27826

merged 1 commit into from
Aug 30, 2017

Conversation

infinisil
Copy link
Member

@infinisil infinisil commented Aug 1, 2017

Motivation for this change

It has been long overdue for a radicale update, this PR does that. I also modified the test to work, it seemed to be disabled for not working.

ToDoDone: Backwards-compatibility

The 2.x releases of radicale are NOT backwards compatible. There should be two derivations for radicale1 and radicale2, while radicale = radicale2. To not mess with previously working radicale setups, there should be a package option for the radicale module, defaulting to radicale1 if systemVersion <= 17.03 and radicale2 otherwise. Users can then manually upgrade to 2.x by setting package = radicale2, adjusting the config and following the official guide for migration. This should be added to the release notes.

Edit: This has been done

Things done

I have been running this version for a few days now and haven't run into any problems.

  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@infinisil infinisil changed the title Radicale: update to v2, fixing and enabling test (WIP) Radicale: update to v2, fixing and enabling test Aug 1, 2017
@infinisil
Copy link
Member Author

Pinging @aneeshusa @edwtjo and @pSub as they are in the maintainers list.

@infinisil infinisil changed the title Radicale: update to v2, fixing and enabling test radicale: update to version 2 Aug 1, 2017
@infinisil infinisil force-pushed the radicale branch 3 times, most recently from 9c87e5c to 3ea1426 Compare August 3, 2017 03:13
This commit readds and updates the 1.x package from 1.1.4 to 1.1.6 which
also includes the needed command for migrating to 2.x

The module is adjusted to the version change, defaulting to radicale2 if
stateVersion >= 17.09 and radicale1 otherwise. It also now uses
ExecStart instead of the script service attribute. Some missing dots at
the end of sentences were also added.

I added a paragraph in the release notes on how to update to a newer
version.
@fpletz
Copy link
Member

fpletz commented Aug 30, 2017

Thanks!

@fpletz fpletz merged commit 7d1d019 into NixOS:master Aug 30, 2017
@aneeshusa aneeshusa mentioned this pull request Sep 18, 2017
8 tasks
@infinisil infinisil mentioned this pull request Sep 24, 2017
8 tasks
@infinisil infinisil deleted the radicale branch July 12, 2018 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants