schnapps: Update to version 2.10.1
- support export to sdtout
- csv output is now supported for listing snapshots
- ability to disable encryption for particular export from cli
blocked by: turris/foris-controller/foris-controller-schnapps-module#10 (closed)
Merge request reports
Activity
requested review from @jschlehofer
assigned to @jschlehofer
CC: @mmatejek to make sure foris-controller will be able to work with it. Using ids as discussed in !869 (closed)
requested review from @sborek and removed review request for @jschlehofer
assigned to @sborek and unassigned @jschlehofer
changed milestone to %Turris OS 6.0
added Feature label
- Resolved by Josef Schlehofer
assigned to @jschlehofer and unassigned @sborek
assigned to @sborek and unassigned @jschlehofer
- Resolved by Simon Borek
- compile, install, run tested on Omnia HBL
From successful run tests:
-
export -
outputs an archive of corresponding size to stdout -
create
creates a snapshot that can be rolled back into -
rollback
seems to work -
list -c
outputs parsable CSV file -
export
exports unencrypted backups without GPG key set, encrypted looking backups with GPG key set
Failing run tests:
- with GPG key set calling e.g.
schnapps export -c 5 .
outputsexport takes target directory or '-' as an argument!
to stderr, exits with code 0, doesn't export anything- should export the snapshot unencrypted (according to syntax from help:
export [-c] [snapshot] (path|-)
) - shouldn't exit with code 0, because the run was unsuccessful, but this seems to be pretty general reaction of schnapps to invalid arguments, will add to turris/schnapps#42
- should export the snapshot unencrypted (according to syntax from help:
Edited by Simon Borek
assigned to @mhrusecky and unassigned @sborek
- Resolved by Simon Borek
export_sn()
apparently doesn't expect an additional argument toexport
(-c
in this case), which results in argument count and absolute index numbers mismatch inside the function.Edited by Simon Borek
- Resolved by Simon Borek
Should this be merged as is and fixed later?
mentioned in merge request turris/schnapps!38 (merged)
added 107 commits
-
521149ff...5fec470c - 106 commits from branch
develop
- 2d41c4de - schnapps: Update to version 2.10.1
-
521149ff...5fec470c - 106 commits from branch