Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gogs support #29

Merged
merged 12 commits into from
May 8, 2018
Merged

Add gogs support #29

merged 12 commits into from
May 8, 2018

Conversation

naiba
Copy link
Contributor

@naiba naiba commented May 7, 2018

Gogs is a painless self-hosted Git service. https://gogs.io

@naiba naiba mentioned this pull request May 8, 2018
Closed
@naiba
Copy link
Contributor Author

naiba commented May 8, 2018

@joeybloggs ping

@deankarn
Copy link
Collaborator

deankarn commented May 8, 2018

Sorry for the late reply, been a busy day @naiba

Thanks for the PR will try to get to it tomorrow :) it looks like some checks failed so will also need to look at that, probably just because if the gopkg.in imports.

@deankarn
Copy link
Collaborator

deankarn commented May 8, 2018

@naiba thank you for your work! I was wondering if you would be able to add some tests also?

@naiba
Copy link
Contributor Author

naiba commented May 8, 2018

@joeybloggs I'm already using it, and I don't want to add a test

@deankarn
Copy link
Collaborator

deankarn commented May 8, 2018

@naiba fair enough, I'll try and get it merged tomorrow and open a separate issue for anyone wanting to help add tests :)

Thanks again for your work on this!

@naiba
Copy link
Contributor Author

naiba commented May 8, 2018

@joeybloggs thank you. I hope to merge as soon as possible, because I need to use it.

@@ -43,7 +43,7 @@ const (
PullRequestDeclinedEvent Event = "pullrequest:rejected"
PullRequestCommentCreatedEvent Event = "pullrequest:comment_created"
PullRequestCommentUpdatedEvent Event = "pullrequest:comment_updated"
PullRequestCommentDeletedEvent Event = "pullrequest:comment_deleted"
PullRequestCommentDeletedEvent Event = "pull_request:comment_deleted"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this may have been a merge issue, but docs say it's pullrequest

gogs/gogs.go Outdated
webhooks.DefaultLog.Error("HMAC verification failed")
webhooks.DefaultLog.Debug("LocalHMAC:" + expectedMAC)
webhooks.DefaultLog.Debug("RemoteHMAC:" + signature)
webhooks.DefaultLog.Debug("Secret:" + hook.secret)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logging this is a huge security risk, will need to be removed

@deankarn
Copy link
Collaborator

deankarn commented May 8, 2018

Thanks Will try to merge once I'm off the train

@deankarn deankarn merged commit 16896cd into go-playground:v3 May 8, 2018
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.

2 participants