buildbot-transifex/buildbot_gitea
mrstanwell 051a9e51ec Add commits to the changes list in reverse order.
The gitea webhook list of pushed commits is in order from newest to
oldest.  If commits are appended to the changes array and returned, the
last commit in the array will be the oldest commit in the push.
However, buildbot treats the last change as the *most* recent.  This
means that unless you use 'alwaysUseLatest=True' in your Git step, the
Git step will not check out the newest commit in the push.  If you
happen to be using 'shallow=True', this will actually cause the Git
update step to fail because only the newest commit is available in a
shallow checkout.

This update inserts each commit in the gitea webhook call at the
beginning of the array, which means buildbot sees them in chronological
order.  A Git step with 'shallow=True' will now succeed.
2020-10-27 01:52:07 +01:00
..
test Added minimal unittests for GiteaAuth. 2019-12-20 10:44:52 +01:00
__init__.py Renamed module from gitea to builbot_gitea, added unit tests for pull requests and secret phrase 2018-09-05 14:14:31 +02:00
auth.py Bring auth.py to PEP-8 standard. 2019-12-20 10:44:16 +01:00
reporter.py Correct missing dollar sign to match end of line correctly in repo_name regex. 2020-05-27 14:12:42 +02:00
step_source.py Fixed unittest for Gitea source step 2018-09-27 16:53:16 +02:00
webhook.py Add commits to the changes list in reverse order. 2020-10-27 01:52:07 +01:00