ishepard / pydriller

Python Framework to analyse Git repositories
http://pydriller.readthedocs.io/en/latest/
Apache License 2.0
840 stars 146 forks source link

No analysis without temporary clone? #183

Closed StephanSchmidt closed 3 years ago

StephanSchmidt commented 3 years ago

Is there a way to read the commit history of a remote repository without creating a temporary clone?

Or can this done without source files and a shallow copy?

ishepard commented 3 years ago

Hi @StephanSchmidt! Thanks for the question. I am not sure what you mean. You have 2 ways to analyse a Git repo, by manually cloning it before where you want and passing the path to Repository, or let pydriller cloning it in a temporary directory.

StephanSchmidt commented 3 years ago

I would like to read the commit log of a remote history without transffering the source files.

ishepard commented 3 years ago

Ah I see, no then it's not possible, the repository needs to be on local disk.

ishepard commented 3 years ago

If you don't need files, have a look at GHTorrent, it's a GitHub mirror with commits information.

StephanSchmidt commented 3 years ago

Thanks!