tag: output the original ID and new snapshotID (#5144)

* tag: output the original ID and new snapshotID

tag: print changed snapshot information immediately

* print changed snapshot immediately after it has been saved
* add message type to the changedSnapshot
* add a summary type which will share the JSON output of the numer of changed snapshots
* updated verbosity of the changed snapshot in text mode to only work when verbosity > 2
* also use the terminal status printer for a standard handling for stdout messages
This commit is contained in:
Srigovind Nayak
2025-01-14 23:27:47 +05:30
committed by GitHub
parent e6f9cfb8c8
commit 115ecb3c92
4 changed files with 82 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
Enhancement: Restic tag command returns the modified snapshot information
Restic `tag` command now returns the modified snapshot information in the
output. Added `--json` option to the command to get the output in JSON format
for scripting access.
https://github.com/restic/restic/issues/5137
https://github.com/restic/restic/pull/5144