Skip to content

Conversation

@shubhag
Copy link
Contributor

@shubhag shubhag commented Aug 26, 2020

This patch adds support for commits in push web hook for GitHub, bitbucket, gitlab, gogs, stash and gitea

@CLAassistant
Copy link

CLAassistant commented Aug 26, 2020

CLA assistant check
All committers have signed the CLA.

@bradrydzewski
Copy link
Contributor

bradrydzewski commented Aug 26, 2020

Thanks, this looks great. The only feedback I have is we should add the mappings to the Gogs and Gitea drivers as well to ensure all the drivers are in sync and have feature parity:

https://github.com/drone/go-scm/blob/master/scm/driver/gogs/testdata/webhooks/push.json#L6:L32
https://github.com/drone/go-scm/blob/master/scm/driver/gitea/testdata/webhooks/push.json#L6:L32

We should also map the commits for Stash, even though we have very limited data in the commit list (just the sha):
https://github.com/drone/go-scm/blob/master/scm/driver/stash/testdata/webhooks/push.json#L30:L42

@shubhag
Copy link
Contributor Author

shubhag commented Aug 26, 2020

Added support for gitea, gogs and stash

@bradrydzewski bradrydzewski merged commit 883401e into drone:master Aug 26, 2020
jstrachan pushed a commit to jstrachan/go-scm that referenced this pull request Dec 22, 2020
fix: add a Repositories.Create() function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants