Created
August 25, 2023 17:25
This is a python script using the PyDriller library that allows to extract in a repository information like commits, project contributors, modifications, diffs and source code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pydriller import Repository | |
for commit in Repository('linkRepo').traverse_commits() : | |
print (commit.hash) | |
print (commit.author.name) | |
print (commit.author_date) | |
for modification in commit.modifications : | |
print(modification.file_name +' is changed ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment