nfdi4plants / ARCCommander

Tool to manage your ARCs
MIT License
11 stars 9 forks source link

[Feature Request] arc get "dry run" #106

Closed Brilator closed 1 year ago

Brilator commented 2 years ago

Is your feature request related to a problem? Please describe. By default "arc get -r " will download the complete arc (including all large raw data). Depending on repo size, this might take long.

Describe the solution you'd like Maybe for ARCs < 5 GB, add a feature listing the directory sizes (something simple like du -sh *) and ask the user to confirm download first.

Describe alternatives you've considered

  1. Alternative: implement a dry run flag (similar to rsync).
  2. For training purposes (excluding arc execution, workflows, etc.) it might also be beneficial to allow cloning without the large files and just keeping them as lfs placeholders.
HLWeil commented 2 years ago

That's definitely an important topic to be disucssed. Especially alternative 2. is definitely planned as a practical feature of the ArcCommander. Not sure though whether I would require user input by default, as usually I expect most users to have an idea about the repo size.

(Also imagine you're starting a ginormous download before going into the weekend, only to return on monday and be greeted by your console asking whether you're sure you want to start it or not 😄)