diff --git a/buildbot_gitea/reporter.py b/buildbot_gitea/reporter.py index f5b988a..5e32577 100644 --- a/buildbot_gitea/reporter.py +++ b/buildbot_gitea/reporter.py @@ -23,9 +23,12 @@ import re class GiteaStatusPush(http.HttpStatusPushBase): name = "GiteaStatusPush" - neededDetails = dict(wantProperties=True) ssh_url_match = re.compile(r"(ssh://)?[\w+\-\_]+@[\w\.\-\_]+:?(\d*/)?(?P[\w_\-\.]+)/(?P[\w_\-\.]+?)(\.git)?$") + def checkConfig(self, baseURL, token, startDescription=None, endDescription=None, + context=None, verbose=False, wantProperties=True, **kwargs): + super().checkConfig(wantProperties=wantProperties, **kwargs) + @defer.inlineCallbacks def reconfigService(self, baseURL, token, startDescription=None, endDescription=None, diff --git a/setup.py b/setup.py index dab68dc..6a43c7a 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup(name='buildbot-gitea', long_description_content_type="text/markdown", packages=['buildbot_gitea'], requires=[ - "buildbot (>=2.0.0)" + "buildbot (>=2.9.0)" ], entry_points={ "buildbot.webhooks": [