bssw-psip / reposcanner

A compact repository data mining toolkit
Other
4 stars 0 forks source link

Need to fix offline commit collection for repositories with non-standard branch names #23

Open rmmilewi opened 3 years ago

rmmilewi commented 3 years ago

Right now there are a number of ECP repos that CommitInfoMiningRoutine fails on because they don't have a standard 'master' branch, which causes Pygit2 to hit an error when we ask for head.target. For example, https://github.com/AMReX-Codes/amrex doesn't have a "master" branch but instead has a "development" branch, and it appears like they got rid of their original "master" branch, which Pygit2 fails to find.

We will need to add in some logic to handle these corner cases.