|
|
|
|
|
by spapas82
2104 days ago
|
|
For anybody interested I've built a python lib to read the latest commit from a git repo:
https://github.com/spapas/python-git-info/ This is a pure python implementation that started simple (just read a couple of files from the .git folder) but after a little I understood that for non trivial repos you'll need to deal with pack for files. Because I had already published the package I actually completed the pack parsing work but I have to confess that it's way too complex and I wouldn't have started the project if I knew better... In any case the source is there if you want to take a look! |
|