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

Replace int id with int64 in OrganizationsService #883

Merged
merged 2 commits into from
Mar 29, 2018

Conversation

mspiegel
Copy link
Contributor

@mspiegel mspiegel commented Mar 28, 2018

I think the OrganizationsService didn't get converted in the int -> int64 id migration.

Updates #597.

@googlebot googlebot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Mar 28, 2018
@dmitshur
Copy link
Member

You're right.

There's a few extra I found:

  • IssuesService.GetComment
  • IssuesService.EditComment
  • IssuesService.DeleteComment
  • RepositoriesService.EditKey
  • RepositoriesService.DeleteKey

Would you like to expand the scope of your PR and fix those instances as well? If not, np, we can do it as part of a separate PR.

Copy link
Member

@dmitshur dmitshur left a comment

Choose a reason for hiding this comment

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

LGTM.

@mspiegel
Copy link
Contributor Author

mspiegel commented Mar 28, 2018 via email

@gmlewis
Copy link
Collaborator

gmlewis commented Mar 29, 2018

Thank you, @mspiegel and @shurcooL!
LGTM.
Merging.

@gmlewis gmlewis merged commit 60131d1 into google:master Mar 29, 2018
dmitshur added a commit to shurcooL/issues that referenced this pull request Mar 29, 2018
gopherbot pushed a commit to golang/build that referenced this pull request Mar 30, 2018
When editing a comment, the current code used the issue number in place
of the comment ID. But the EditComment endpoint needs the comment ID.

The issue number is not needed at all in updateGithubComment because the
EditComment endpoint uses the repository and comment ID to uniquely
identify the comment.

References:

-	https://developer.github.com/v3/issues/comments/#edit-a-comment.
-	https://godoc.org/github.com/google/go-github/github#IssuesService.EditComment.

Updates golang/go#24598.
Updates google/go-github#883.
Updates google/go-github#597.

Change-Id: Iae9d967d7be7a75b1bcee7118a3c80fe8f2375b4
Reviewed-on: https://go-review.googlesource.com/103398
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
nbareil pushed a commit to nbareil/go-github that referenced this pull request May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indication that the PR author has signed a Google Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants