Releases: mistifyio/go-zfs
Releases · mistifyio/go-zfs
v3.0.1
What's Changed
- Add mergify config by @mmlb in #86
- split after \t instead of any spaces by @timaebi in #68
- mergify: Remove ready-to-merge label when PR is closed by @mmlb in #87
- Add test cases for parsing fragmentation line by @Mic92 in #64
- Properly substitute command path in
Run()
error by @corhere in #90
New Contributors
Diffstat
.github/mergify.yml | 31 +++++++++++++++++++++++
tooling/release.sh | 39 +++++++++++++++++++++++++++++
utils.go | 9 ++++---
utils_notsolaris.go | 2 +-
utils_solaris.go | 2 +-
utils_test.go | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++
zfs_test.go | 8 ++++++
zpool.go | 3 ---
8 files changed, 157 insertions(+), 8 deletions(-)
Shortlog
Cory Snider (1):
Properly substitute command path in Run() error
Manuel Mendez (4):
Add mergify config
mergify: Remove ready-to-merge label when PR is closed
Add test for fragmentation parsing
Add script create GH release
Tim Aebi (2):
zpool: Split after \t instead of any space
zfs: Add test for creation property
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Highlight
The highlight of this release is go-zfs is now go mod enabled.
Added
- Rename, Mount and Unmount methods
- Parse more fields into Zpool type:
- dedupratio
- fragmentation
- freeing
- leaked
- readonly
- Parse more fields into Dataset type:
- referenced
- Incremental Send
- Parse numbers in exact format
- Support for Solaris (non-blockint, best-effort status)
- Debug logging for command invocation
- Use GitHub Actions for CI
- Nix shell for dev env reproducibility
- Direnv file for ease of dev
- Formatting/lint checks (enforced by CI)
- Go Module
- FreeBSD based vagrant machine
Changed
- Temporarily adjust TestDiff expected strings depending on ZFS version
- Use one
zfs list
/zpool list
call instead of manyzfs get
/zpool get
- ZFS docs links now point to OpenZFS pages
- Ubuntu vagrant box changed to generic/ubuntu2004
Fixed
GetProperty
returningVALUE
instead of the actual value
New Contributors
- @amitkris made their first contribution in #41
- @simt2 made their first contribution in #50
- @teselkin made their first contribution in #53
- @EdwardBetts made their first contribution in #63
- @justincormack made their first contribution in #72
- @crosbymichael made their first contribution in #73
- @thaJeztah made their first contribution in #74
Shortlog
Amit Krishnan (1):
Issue #39 and Issue #40 - Enable Solaris support for go-zfs Switch from zfs/zpool get to zfs/zpool list for better performance Signed-off-by: Amit Krishnan <kr>
Anand Patil (3):
Added Rename
Small fix to rename.
Added mount and umount methods
Brian Akins (1):
Add 'referenced' to zfs properties
Brian Bickerton (3):
Add debug logging before and after running external zfs command
Don't export the default no-op logger
Update uuid package repo url
Dmitry Teselkin (1):
Issue #52 - fix parseLine for fragmentation field
Edward Betts (1):
correct spelling mistake
Justin Cormack (1):
Switch to google/uuid which is the maintained version of pborman/uuid
Manuel Mendez (40):
rename Umount -> Unmount to follow zfs command name
add missing Unmount/Mount docs
always allocate largest Mount slice
add travis config
travis: update to go 1.7
travis: get go deps first
test: add nok helper to verify an error occurred
test: add test for Dataset.GetProperty
ci: swap #cerana on freenode for slack
ci: install new deps for 0.7 relases
ci: bump zol versions
ci: bump go versions
ci: use better gometalinter invocations
ci: add ccache
ci: set env earlier in before_install
fix test nok error printing
test: restructure TestDiff to deal with different order of changes
test: better unicode path handling in TestDiff
travis: bump zfs and go versions
cache zfs artifacts
Add nix-shell and direnv goodness
prettierify all the files
Add go based tools
Add Makefile and rules.mk files
gofumptize the code base
Use tinkerbell/lint-install to setup linters
make golangci-lint happy
Update CONTRIBUTING.md with make based approach
Add GitHub Actions
Drop Travis CI
One sentence per line
Update documentation links to openzfs-docs pages
Format Vagrantfile using rufo
Add go-zfs.test to .gitignore
test: Avoid reptitive/duplicate error logging and quitting
test: Use t.Logf instead of fmt.Printf
test: Better cleanup and error handling in zpoolTest
test: Do not mark TestDatasets as a t.Helper.
test: Change zpoolTest to a pure helper that returns a clean up function
test: Move helpers to a different file
vagrant: Add set -euxo pipefail to provision script
vagrant: Update to generic/ubuntu2004
vagrant: Minor fixes to Vagrantfile
vagrant: Update to go 1.17.8
vagrant: Run go tests as part of provision script
vagrant: Indent heredoc script
vagrant: Add freebsd machine
Matt Layher (1):
Parse more fields into Zpool type
Michael Crosby (1):
Add incremental send
Rikard Gynnerstedt (1):
remove command name from joined args
Sebastiaan van Stijn (1):
Add go.mod and rename to github.com/mistifyio/go-zfs/v3 (v3.0.0)
mikudeko (1):
Fix GetProperty always returning 'VALUE'
Full Changelog: v2.1.1...v3.0.0
v2.1.1: Merge pull request #32 from kvasdopil/freebsd-support
Fixed the argument order for get
commands