git-annex/doc/todo/universal_batch_mode.mdwn
2019-02-12 00:35:16 +00:00

3 lines
691 B
Markdown

It would help if there was a universal batch mode, where git-annex command lines are given as lines in an input file, and are executed as a batch. git-annex could intelligently group, reorder and parallelize the execution, as long as the overall effect of the batch is unchanged. (I.e. commands affecting different keys/paths could be run in parallel; commands repeatedly doing the same thing could be collapsed; git command batching could span different git-annex commands; etc.) I find myself implementing something like that in python on top of git-annex, but it would be much more efficient and robust if supported natively. Maybe, the DataLad project would also find this useful?