Skip to content

Conversation

kiliit
Copy link

@kiliit kiliit commented Sep 12, 2015

This comes together with a pull request on Gogs. (Api extentions: Server)

repo_commits.go Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

I think it is better to have a seperation between the webhooks and the commit models. It would be easier to extend them in the future.

And payload author is not exactly the same as a commit signature.

You could have commits from local users that does not have a user on gogs. And payload author lacks the when field.

What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm.. you're right!

@kiliit kiliit closed this Nov 26, 2015
guyzmo pushed a commit to guyzmo/go-gogs-client that referenced this pull request May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants