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

sanoid: 2.0.3 -> 2.1.0 #123644

Merged
merged 1 commit into from May 28, 2021
Merged

Conversation

michaeladler
Copy link
Member

Motivation for this change

This removes several cherry-picked (upstream) patches, so it reduces the maintenance cost of this package. Also, latest is greatest ;)

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 (Arch)
  • 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.

@lopsided98 FYI since you are the maintainer

@r-rmcgibbo
Copy link

Result of nixpkgs-review pr 123644 at 4f365e7d run on x86_64-linux 1

2 packages built successfully:
  • sanoid
  • tests.trivial
3 suggestions:
  • warning: unused-argument

    Unused argument: fetchpatch.
    Near pkgs/tools/backup/sanoid/default.nix:1:33:

      |
    1 | { lib, stdenv, fetchFromGitHub, fetchpatch, makeWrapper, zfs
      |                                 ^
    
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/tools/backup/sanoid/default.nix:20:3:

       |
    20 |   installPhase = ''
       |   ^
    
  • warning: unclear-gpl

    gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.

    Near pkgs/tools/backup/sanoid/default.nix:48:5:

       |
    48 |     license = licenses.gpl3;
       |     ^
    

Signed-off-by: Michael Adler <therisen06@gmail.com>
@lopsided98
Copy link
Contributor

Thanks for this PR! It's been on my todo list for a while. I will hopefully be able to test it over the weekend.

I have become frustrated with trying to get other sanoid related PRs (#83904, #98455, #104420) merged, but hopefully a simple update will be easier.

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff LGTM. Ping me on matrix if I forget to merge it.

Copy link
Contributor

@lopsided98 lopsided98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deployed this to one of my systems yesterday and everything seems to be working correctly.

@lopsided98
Copy link
Contributor

@SuperSandro2000 thanks for the reviews on the other sanoid PRs as well!

@SuperSandro2000 SuperSandro2000 merged commit 1b96999 into NixOS:master May 28, 2021
@michaeladler michaeladler deleted the update-sanoid branch May 29, 2021 21:55
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

4 participants