TheHipbot / hermes

Code Repository Manager
Apache License 2.0
4 stars 1 forks source link

Repo folder should not be created for non-existent repos #17

Open TheHipbot opened 5 years ago

TheHipbot commented 5 years ago

Currently, if hermes command is used to get a repo that does not exist there is an attempted clone which creates the folder in the repos folder, and there is a cache entry made for the non-existent repo. Instead clone can be attempted but if it fails then folder is removed and no cache entry created. Either that or we first test if the repo exists before doing any work.