Skip to content

Added request reviewers function within GHPullRequest.#430

Merged
kohsuke merged 1 commit intohub4j:masterfrom
twcurrie:tcurrie/requestReviewer
May 1, 2018
Merged

Added request reviewers function within GHPullRequest.#430
kohsuke merged 1 commit intohub4j:masterfrom
twcurrie:tcurrie/requestReviewer

Conversation

@twcurrie
Copy link


public void requestReviewers(List<GHUser> reviewers) {
return new Requester(root).method("POST")
.with("reviewers", toLogins(reviewers))

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.

Sure, is this a blocker? (Are you even able to merge this?)

Choose a reason for hiding this comment

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

(Are you even able to merge this?)

No, I'm simply advocating for team_reviewers — I was going to open my own PR for https://developer.github.com/v3/pulls/review_requests/#create-a-review-request but then I saw this one.

I think we need @kohsuke to review and merge.

@markkolich
Copy link

@kohsuke any chance we can get this merged and released?

@kohsuke kohsuke merged commit 9d99ee9 into hub4j:master May 1, 2018
@kohsuke
Copy link
Collaborator

kohsuke commented May 1, 2018

Oy, you didn't even bother compiling this before submitting a PR...

@jgangemi
Copy link
Contributor

jgangemi commented May 1, 2018

how about adding travis or circle to build requests?

@twcurrie
Copy link
Author

twcurrie commented May 1, 2018

I built it locally. Your doc's are good but pretty lacking on contributing guidelines. Unless I missed them?

@twcurrie twcurrie deleted the tcurrie/requestReviewer branch May 1, 2018 19:35
@kohsuke
Copy link
Collaborator

kohsuke commented May 1, 2018

Yeah I'll add CodeShip.

@twcurrie it's no big deal, but the way I noticed it is that the code didn't even compile; no semi-colon at the end, a return statement with a value for a function whose return type is void, ...

@twcurrie
Copy link
Author

twcurrie commented May 1, 2018

Oh my, I'm clearly writing too much kotlin nowadays. It did compile in kotlin, but yes, obviously not in java...

Thanks for putting together this library - it's been a big help.

@jgangemi
Copy link
Contributor

jgangemi commented May 1, 2018

and this is why i dislike languages that try and be crafty by letting you omit things like a ;, but i digress and don't want to thread jack 😄

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.

4 participants