This commit is contained in:
Joey Hess 2019-02-07 16:12:07 -04:00
parent 27fe59fd3c
commit b6df092f56
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 15 additions and 0 deletions

View file

@ -1 +1,3 @@
For batch commands like fromkey and setpresentkey, when some operations in a batch succeed and others fail, it's hard to know which ones were done. It would be good if the operations had an option to output the status to stdout or to a file, maybe in json format. It would also be good if there was a --keep-going option to try each operation even if some early ones fail. Currently, when some operations fail, the set of doable operations that gets done depends on the input order, and there is no reliable way to know which ones succeeded.
> Limiting this to fromkey, [[done]] --[[Joey]]

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2019-02-07T20:09:22Z"
content="""
Failure is always an option :) but if the failure is due to disk IO error
or disk full or memory error or whatever, it doesn't much matter which
particular item in the batch caused the error because you're going to want
to redo from start anyway.
I'll close this, if you find other commands whose batch interface can be
improved open more todos.
"""]]