LoopPerfect / buckaroo

The decentralized package manager for C++ and friends 🏝️
https://buckaroo.pm
MIT License
933 stars 33 forks source link

adds git fallback in cacheOrApi to fix #373 #374

Closed nikhedonia closed 4 years ago

nikhedonia commented 4 years ago

should fix #373 by gracefully falling back to FindCommit if API call fails. In theory we could decide to not even try the API if we are in SSH mode, however the API is significantly faster then git so IMHO worth a try. I presume querying the API to determine if the repository is public is slower then trying to get the file and failing