Commit Graph

17 Commits

Author SHA1 Message Date
Marvin Pohl 8decb35652 Use the HEAD sha, when reporting a PR issue 2021-07-05 13:16:15 +02:00
Marvin Pohl d55b1dc9ea Fixed not being able to specify a context for the reporter. 2021-06-22 19:34:30 +02:00
Marvin Pohl b4d11a7058 Status reporter now sends status to head repository if the current build is from a pull request. 2021-05-16 01:37:03 +02:00
Marvin Pohl 8d8626b38c Fixed up implementation for buildbot 3.0.0 2021-03-09 20:48:02 +01:00
mrstanwell a47f7a512b Conform to code in GitLabStatusPush v2.9.4.
I don't fully understand the impact of these API changes, but without
them the status from buildbot upon a successful build was causing gitea
to mark commits with a yellow circle instead of a green checkmark.
Since GiteaStatusPush was based on GitLabStatusPush in the first place,
I tried making it look more like its ancestor -- and now the commit status
in gitea is working correctly.
2021-01-08 18:17:18 -06:00
mrstanwell cd82223a81 Provide checkConfig(), to support buildbot 2.9.x.
Apparently, as of buildbot 2.9.x, [reporters need to provide their own
checkConfig() implementation when a service has custom args not supplied
to the superclass](https://github.com/buildbot/buildbot/pull/5571).  If
we don't do this, checkconfig will fail.
2021-01-05 13:53:26 -06:00
Benjamin Füldner 80f3aab446 Correct missing dollar sign to match end of line correctly in repo_name regex. 2020-05-27 14:12:42 +02:00
Benjamin Füldner 27b2449f29
Remove .git from repo_name regex to get a valid repository name. (#8) 2020-05-15 16:54:01 +02:00
Marvin Pohl 7b04082c7c Updated senderror unittest and removed invalid array access. 2019-03-09 16:48:41 +01:00
Marvin Pohl babf10f923 Merge branch 'master' into gdaow-master 2019-03-09 15:46:45 +01:00
Marvin Pohl 1820400e26 Fixed code for buildbot 2.0.0 2019-03-09 15:46:18 +01:00
kaou f42f2f44ae Fixed repository regular expression, fixed error message getter 2019-01-21 20:04:39 +00:00
Marvin Pohl df5fa87d2d Set context properly for reporter 2018-09-27 20:57:39 +02:00
Marvin Pohl d7f34fc6dd Ignoring sourcestamps with no revision in the reporter. 2018-09-27 20:50:21 +02:00
Marvin Pohl 7322dd3853 Fixed incorrect authorization header for reporter 2018-09-27 20:28:58 +02:00
Marvin Pohl 4661da0060 Added owner and repo name detection in ssh url 2018-09-27 20:12:09 +02:00
Marvin Pohl 78ccfc074b Added GiteaStatusPush reporter 2018-09-27 14:46:35 +02:00