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

zfsnap: init at 2.0.0-beta3 #70234

Merged
merged 1 commit into from Jan 17, 2020
Merged

zfsnap: init at 2.0.0-beta3 #70234

merged 1 commit into from Jan 17, 2020

Conversation

woffs
Copy link
Contributor

@woffs woffs commented Oct 2, 2019

Motivation for this change

make zfs snapshots with timestamps and let them expire

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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.

@infinisil
Copy link
Member

Kind of looks unmaintained without any new commits in 3 years. Relevant is https://discourse.nixos.org/t/we-need-more-defined-guidelines-for-package-inclusion/3592

Still want this in nixpkgs?

@woffs
Copy link
Contributor Author

woffs commented Jan 16, 2020

Maybe you're right. If nobody else is interested in adding this software, I'll close this (and still continue to use it locally).

@infinisil
Copy link
Member

I pushed an update to the packaging of this to be more standard. Can you test this updated version to make sure it works for you? If it does we can merge this.

@worldofpeace
Copy link
Contributor

worldofpeace commented Jan 16, 2020

What's the distinction here with being called zfsnap2 and zfsnap?

@infinisil
Copy link
Member

Good point, there shouldn't be a reason to make it be zfsnap2, I changed it to just zfsnap

@worldofpeace
Copy link
Contributor

@infinisil last thing, you forgot to change the commit message.

@infinisil infinisil changed the title zfsnap2: init at 2.0.0-beta3 zfsnap: init at 2.0.0-beta3 Jan 17, 2020
@infinisil
Copy link
Member

Thanks. Okay so let's wait for @woffs to report whether the current version works for them.

Co-authored-by: Silvan Mosberger <contact@infinisil.com>
@woffs
Copy link
Contributor Author

woffs commented Jan 17, 2020

What's the distinction here with being called zfsnap2 and zfsnap?

zfsnap2 was a rewrite of zfsnap1 and has different cmdline options. See https://github.com/zfsnap/zfsnap/blob/master/README.md

Debian has zfsnap version 1.11 https://packages.debian.org/search?keywords=zfsnap
and I wanted to avoid confusion with this.

I pushed an update to the packaging of this to be more standard. Can you test this updated version to make sure it works for you? If it does we can merge this.

Thanks a lot for your work, I'll take this as new template. Taking zfs from PATH is reasonable, and I did not know installShellFiles yet.

Tests look good! 👍

I'll force-push again to remove the busybox whitespace-removal in all-packages.nix, which, although good to do, does not belong to this PR.

@woffs
Copy link
Contributor Author

woffs commented Jan 17, 2020

Thanks for reviewing and merging!

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

3 participants