Skip to content

Add issue events API#479

Merged
bitwiseman merged 10 commits into
hub4j:masterfrom
martinvanzijl:issue_376_issue_events
Oct 11, 2019
Merged

Add issue events API#479
bitwiseman merged 10 commits into
hub4j:masterfrom
martinvanzijl:issue_376_issue_events

Conversation

@martinvanzijl
Copy link
Copy Markdown
Contributor

Fix for issue #376 (add issue events API).

Added the following methods:

  • GHIssue.listEvents()
  • GHRepository.listIssueEvents()
  • GHRepository.getIssueEvent(int id)

Copy link
Copy Markdown
Member

@bitwiseman bitwiseman left a comment

Choose a reason for hiding this comment

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

Cool, thanks! This looks reasonable to me. Can you add some tests?

Comment thread src/main/java/org/kohsuke/github/GHRepository.java Outdated
@martinvanzijl
Copy link
Copy Markdown
Contributor Author

I've uploaded my latest progress.

I want to make the unit tests more robust by creating an issue within the test itself, editing it and making sure the appropriate events are created. I also want to test the fields of the GHIssueEvent object itself.

@bitwiseman
Copy link
Copy Markdown
Member

Cool just tell me when you're ready for review.

@martinvanzijl
Copy link
Copy Markdown
Contributor Author

@bitwiseman
I've updated the unit tests. Can you please review?

@bitwiseman bitwiseman merged commit dec7a91 into hub4j:master Oct 11, 2019
@martinvanzijl martinvanzijl deleted the issue_376_issue_events branch October 13, 2019 02:26
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.

2 participants