lab132 / buildbot-gitea

Buildbot plugin for integration with gitea.
MIT License
62 stars 21 forks source link

Extend the webhook to easily support custom subclasses #3

Closed JamesWrigley closed 4 years ago

JamesWrigley commented 4 years ago

The design is based on the one used by Buildbot's own GitHubEventHandler.

pampersrocker commented 4 years ago

This looks good so far! Could you please add a test case for the class setting?

You could grab one of the existing json payloads, modify and add them and set a dummy event type in the header.

JamesWrigley commented 4 years ago

Done :)

pampersrocker commented 4 years ago

Thank you very much for your contribution!

This will be in v1.1.0