dbschenker / contribution-checker

A tool to identify certain authors in repositories and analyze their commits. Helpful to check if and to which degree an organization's members have contributed to third-party projects.
Apache License 2.0
3 stars 1 forks source link

Cache remote repositories #4

Closed mxmehl closed 1 year ago

mxmehl commented 1 year ago

Remote repositories should be cached somehow, so that they don't need to be checked out again with each invocation of the checker. We could check them out to a well-defined space (e.g. ~/.local/state/contribution-checker/repos) and then just run a git pull if the checkout already exists.

https://github.com/platformdirs/platformdirs could be used to get the corresponding cache directory for all systems.