Page MenuHomeFreeBSD

sysutils/zap: Update to version 0.5.0

Authored by jrm on Nov 14 2016, 6:28 PM.



sysutils/zap: Update to version 0.5.0


  • Use getops for option handling.
  • Create snapshots again when a scrub is in progress.
  • Let the -r flag be specified for individual datasets.
    • To handle parsing the '-r' flags, the create function was broken off into two functions: create_parse() and create(). create() creates one snapshot per call.
  • Use upper case for global variables.
  • Created helper functions pool_ok and pool_scrub.
  • Minor changes to warning messages.
  • POSIX sh does not support local, so initialize variables intended to be local to a function.
Test Plan

portlint -C: OK
testport: OK (poudriere: 9.3-RELEASE-p48, i386)
testport: OK (poudriere: 9.3-RELEASE-p48, amd64)
testport: OK (poudriere: 10.3-RELEASE-p10, i386)
testport: OK (poudriere: 10.3-RELEASE-p10, amd64)
testport: OK (poudriere: 11.0-RELEASE-p1, i386)
testport: OK (poudriere: 11.0-RELEASE-p1, amd64)

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jrm retitled this revision from to sysutils/zap: Update to version 0.5.0.
jrm updated this object.
jrm edited the test plan for this revision. (Show Details)
jrm added reviewers: swills, AMDmi3.
swills edited edge metadata.


This revision is now accepted and ready to land.Nov 14 2016, 6:34 PM
This revision was automatically updated to reflect the committed changes.