kopia lustrzana https://github.com/Langenfeld/py-gitea
![]() In a large repository, get_commits() will run into too many recursions. I added the possibility to define sha, page, limit (all from the API documentation) and the additional non-API parameter pages, which defines how many pages of commits shall be requested. The default for pages is -1, which will request pages indefinitely. I also added the commit message property the the Commit class/object. I also added the commit_date property that is read from the commiter structure below the commit structure because that date represents the actual commit time. In our case, the Commit.created property contains bogus values because we're importing from SVN. |
||
---|---|---|
.. | ||
__init__.py | ||
basicGiteaApiObject.py | ||
exceptions.py | ||
gitea.py | ||
giteaApiObject.py |