librelist archives

« back to archive

zfsnap 2.0.0-beta1 released

zfsnap 2.0.0-beta1 released

From:
Alex Waite
Date:
2014-04-19 @ 10:54
The first beta release of the new 2.x line was tagged a few days ago.
This is a major step forward for zfsnap, and hopefully will serve as a
solid base to further extend functionality.

Please take the time to test the code and report any issues. 2.x
development has primarily taken place on Debian and FreeBSD so far, so
any testing on other platforms is most appreciated.

Hot code freshness can be had on github: https://github.com/zfsnap/zfsnap

---Alex

NEWS file excerpt:

Though some backwards incompatible syntax changes were made to the
zfsnap command itself, the snapshot name format remains completely
unchanged and backward compatible.

Syntax Changes:
  - Renamed from zfSnap to zfsnap
  - Split functionality into two commands: `zfsnap destroy` and
`zfsnap snapshot`
    - It is no longer possible to delete and create snapshots in the same call.
  - Merged "Pool Options" and "Generic Options"; they no longer need
to be kept separate
  - '-e' flag  (return number of errors as return value) was dropped
  - '-zpool28fix' flag was dropped; it is now the default behavior
  - Numerous TTL tweaks (see TTL section)
Portability:
  - GNU/kFreeBSD now supported
  - Solaris-like systems no longer need GNU Utilities installed
  - POSIX compliant (except for use of "local" variables)
    - /Should/ now run on any *nix that supports ZFS
Performance:
  - Ported key functionality to pure sh, resulting in noticeable speedups
    - No more `sed`, `grep`, or `find` in code-base
  - Significantly decreased number of subshells spawned
TTLs:
  - 'y' and 'm' are now *calendar* year and month (not 365 days and 30
days respectively)
    - See Manpage for more info
  - All TTLs are now validated
  - Integers supplied to '-a' without a TTL modifier are now considered invalid
    - No longer automatically converted into a TTL
  - New 'forever' TTL that will never expire
  - Leap years are now handled properly
Future-proofing:
  - Unix time no longer used internally
    - Supports dates (and expiration dates) past 2038
Reliability:
  - Wrote 240+ tests
  - Validates user input (like TTLs) and snapshot names better
License:
  - Relicensed from Beerware to BSD-3-Clause
Random:
  - Bash completion
  - Many bugs fixed and small features added

zfsnap 2.0.0-beta1 released

From:
Alex Waite
Date:
2014-04-21 @ 20:51
The first beta release of the new 2.x line was tagged a week or so
ago. This is a major step forward for zfsnap, and hopefully will serve
as a solid base to further extend functionality.

Please take the time to test the code and report any issues. 2.x
development has primarily taken place on Debian and FreeBSD so far, so
any testing on other platforms is most appreciated.

Hot code freshness can be had on github: https://github.com/zfsnap/zfsnap

---Alex

NEWS file excerpt:

Though some backwards incompatible syntax changes were made to the
zfsnap command itself, the snapshot name format remains completely
unchanged and backward compatible.

  Syntax Changes:
    - Renamed from zfSnap to zfsnap
    - Split functionality into two commands: `zfsnap destroy` and
`zfsnap snapshot`
      - It is no longer possible to delete and create snapshots in the
same call.
    - Merged "Pool Options" and "Generic Options"; they no longer need
to be kept separate
    - '-e' flag  (return number of errors as return value) was dropped
    - '-zpool28fix' flag was dropped; it is now the default behavior
    - Numerous TTL tweaks (see TTL section)
  Portability:
    - GNU/kFreeBSD now supported
    - Solaris-like systems no longer need GNU Utilities installed
    - POSIX compliant (except for use of "local" variables)
      - /Should/ now run on any *nix that supports ZFS
  Performance:
    - Ported key functionality to pure sh, resulting in noticeable speedups
      - No more `sed`, `grep`, or `find` in code-base
    - Significantly decreased number of subshells spawned
  TTLs:
    - 'y' and 'm' are now *calendar* year and month (not 365 days and
30 days respectively)
      - See Manpage for more info
    - All TTLs are now validated
    - Integers supplied to '-a' without a TTL modifier are now
considered invalid
      - No longer automatically converted into a TTL
    - New 'forever' TTL that will never expire
    - Leap years are now handled properly
  Future-proofing:
    - Unix time no longer used internally
      - Supports dates (and expiration dates) past 2038
  Reliability:
    - Wrote 240+ tests
    - Validates user input (like TTLs) and snapshot names better
  License:
    - Relicensed from Beerware to BSD-3-Clause
  Random:
    - Bash completion
    - tcsh completion (only command and ZFS fs support; no flags)
    - Many bugs fixed and small features added