Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

duplicated of json field #47

Merged
merged 2 commits into from
Apr 15, 2017
Merged

duplicated of json field #47

merged 2 commits into from
Apr 15, 2017

Conversation

appleboy
Copy link
Member

@tboerger
Copy link
Member

LGTM

@lunny
Copy link
Member

lunny commented Mar 16, 2017

Is the change compatible with Github's API?

@tboerger
Copy link
Member

Is the change compatible with Github's API?

Just look some lines above, the JSON field is already taken by the tag name.

Copy link
Member

@sapk sapk left a 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"`
Copy link
Member

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"`
Copy link
Member

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]>
@appleboy
Copy link
Member Author

@sapk @lunny @tboerger updated.

@sapk
Copy link
Member

sapk commented Apr 15, 2017

First LGTM ^^

@strk
Copy link
Member

strk commented Apr 15, 2017 via email

@appleboy appleboy merged commit 58bcff5 into go-gitea:master Apr 15, 2017
@appleboy appleboy deleted the patch-1 branch April 15, 2017 23:07
@appleboy
Copy link
Member Author

@sapk Could you update this https://github.com/go-gitea/go-sdk/blob/master/MAINTAINERS file in all repository of Gitea organization?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants