Allow to use custom snapshot command - #240
Conversation
|
Interesting! Thanks! (Thanks also for the screenshot and for keeping the change as self-contained as possible.) Good catch on the ABC class method! Some comments: I believe (Nitpicky, sorry!) I think that it'd be better if I think that the "docs" (on the right side of the config UI) should be clarified for the default case — something to the effect of "if left blank runs normal procedure". The description for the env variable is also IMO slightly too concise. Maybe something like: (Maybe "built-in git-commit procedure" instead of "normal git-commit procedure?) Further, I believe that it would be better for the field in the UI to be labelled fully "Snapshot custom command" (and also in the "docs"). (Yes, it's the "snapshot" section, so it should be obvious, but given that people often just quickly glance through, it's better to be explicit. It's also more consistent with the previous cases, (e.g. "snapshot path") where we repeat "snapshot".) Sorry about the nit-picks! |
5446ee3 to
3be6d97
Compare
|
@aplaice Thanks for review and suggestions! Updated. I did a bit differently in case of the command, because the command overrides just one aspect of taking a snapshot, but using the wording "snapshot custom command" would imply (to me) that it overrides it completely.
|
aplaice
left a comment
There was a problem hiding this comment.
Thanks very much!
"snapshot custom command" would imply (to me) that it overrides it completely.
Yeah, you're right. Good call! Thanks!
I'll leave this open for a short while in case anybody has further thoughts, and then merge!


No description provided.