-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
LGTM |
Is the change compatible with Github's API? |
Just look some lines above, the JSON field is already taken by the tag name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As described here https://developer.github.com/v3/repos/releases/. It is TagName that should be rename and not title.
gitea/release.go
Outdated
@@ -16,7 +16,7 @@ type Release struct { | |||
ID int64 `json:"id"` | |||
TagName string `json:"name"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "tag_name"
gitea/release.go
Outdated
@@ -16,7 +16,7 @@ type Release struct { | |||
ID int64 `json:"id"` | |||
TagName string `json:"name"` | |||
Target string `json:"target_commitish"` | |||
Title string `json:"name"` | |||
Title string `json:"title"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep "name" here
Signed-off-by: Bo-Yi Wu <[email protected]>
First LGTM ^^ |
On Sat, Apr 15, 2017 at 08:49:12AM -0700, Antoine GIRARD wrote:
First LGTM ^^
Does it mean you're a maintainer now ? Because I don't see you
yet in the MAINTAINERS file ?
Take my LGTM if yours isn't good (I'm trusting you)
|
@sapk Could you update this https://github.com/go-gitea/go-sdk/blob/master/MAINTAINERS file in all repository of Gitea organization? |
see https://github.com/go-gitea/go-sdk/blob/master/gitea/release.go#L17-L19