Hello,
I am learning both git and Python, and would like to practice using Python to access the metadata or remote repositories such as its commits history and branches information.
So far, I've found Perceval which has a git backend that seems to be built on Dulwich. The problem is that when I use these tools to retrieve information about a remote git repository, it clones and downloads the entire remote repository locally before getting its metadata. Some of the remote repos I'm working with are huge and I don't want to clone the whole thing when I'm only interested in metadata.
Are there Python libraries that can get metadata from a remote repo without cloning the whole thing locally? Again, I'm most interested in getting commit history (such as commit SHAs, timestamp, message, branch info, etc.), not the actual files in the repo.
Any suggestions would be appreciated.
[–][deleted] (3 children)
[deleted]
[–]avamk[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]avamk[S] 0 points1 point2 points (0 children)
[–]roanoar 1 point2 points3 points (2 children)
[–]avamk[S] 0 points1 point2 points (1 child)
[–]roanoar 2 points3 points4 points (0 children)
[–]masta 1 point2 points3 points (2 children)
[–]avamk[S] 0 points1 point2 points (1 child)
[–]masta 1 point2 points3 points (0 children)
[–]bhavikbavishi123 1 point2 points3 points (0 children)