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

nextcloud20: init #99596

Merged
merged 4 commits into from Oct 7, 2020
Merged

nextcloud20: init #99596

merged 4 commits into from Oct 7, 2020

Conversation

@Ma27
Copy link
Member

@Ma27 Ma27 commented Oct 4, 2020

Motivation for this change

Adds nextcloud20 to our package-set. For this change, a few customizations were needed. Please review this commit-by-commit for more details.

To allow users to upgrade to the latest major (even on stable NixOS), the addition of the package (and the nginx changes) should be backported to 20.09 (cc @NixOS/backports ), the changes to the upgrade-path should be left out though[1].

[1] https://nixos.org/manual/nixos/stable/index.html#module-services-nextcloud-maintainer-info

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • 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 nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Copy link
Member

@lheckemann lheckemann left a comment

LGTM, just a nit.

nixos/modules/services/web-apps/nextcloud.nix Outdated Show resolved Hide resolved
@Ma27 Ma27 requested a review from ajs124 Oct 5, 2020
Ma27 added 3 commits Oct 4, 2020
Please note that this is only for 21.03 since `nextcloud19` is intended
to be the default for the already feature-frozen 20.09 (the bump itself
is supposed to get backported however).
See #97666 for further context.
This is a breaking change from `nextcloud20`. However, the affected test
is still passing with an unused database password and socket
authentication.
@Ma27 Ma27 force-pushed the Ma27:nextcloud20 branch from d06d918 to 9cbe30e Oct 6, 2020
@lheckemann lheckemann merged commit 41c0f49 into NixOS:master Oct 7, 2020
19 of 20 checks passed
19 of 20 checks passed
tests tests
Details
action
Details
nextcloud20, nextcloud20.passthru.tests on x86_64-darwin
Details
Evaluation Performance Report Evaluator Performance Report
Details
Wait for ofborg
Details
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./pkgs/t
Details
grahamcofborg-eval-lib-tests nix-build --arg pkgs import ./. {} ./lib/tests/release.nix
Details
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./nixos/
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./nixos/
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./nixos/
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./pkgs/t
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./pkgs/t
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="9cbe30e"; rev="9cbe30e129c8ddaa2159532c3174a346761a8358"; } ./pkgs/t
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
nextcloud20, nextcloud20.passthru.tests on aarch64-linux Success
Details
nextcloud20, nextcloud20.passthru.tests on x86_64-linux Success
Details
@Ma27 Ma27 deleted the Ma27:nextcloud20 branch Oct 7, 2020
@Ma27
Copy link
Member Author

@Ma27 Ma27 commented Oct 8, 2020

Ported to 20.09 (to make sure that people can upgrade to latest nextcloud whenever they want) excluding the upgrade-path patch: 8597315, 452603b, 5553758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.