sunghyo-jung
b8ad48997b
Rollback field name, add mapping files
...
`delete_branch_on_merge` is field of github repository,
So use it as same literal (ref. https://developer.github.com/v3/repos/ )
Use `getRepository` instead of `getTempRepository` at GHRepositoryTest
2020-02-17 18:42:30 +09:00
sunghyo-jung
77754b7246
Merge branch 'feature/delete_branch_automatically' of https://github.com/nobe0716/github-api into feature/delete_branch_automatically
2020-02-17 17:05:19 +09:00
sunghyo-jung
6d5bf49a51
Apply CamelCase on field delete_branch_on_merge
2020-02-17 17:03:43 +09:00
Noah J
f53b4e959c
Merge branch 'master' into feature/delete_branch_automatically
2020-02-14 01:44:39 +09:00
Liam Newman
ff3136df70
Move a few static helpers to GitHubClient
2020-02-12 23:48:33 -08:00
sunghyo-jung
d7bb171c1e
Add automatic deletion of branches that merged by PR
...
Add method to Toggle `delete_branch_on_merge`
Locate new fields below to merge options
2020-02-12 19:02:31 +09:00
James Vaughn
edc697dd73
fixed javadoc isues
2020-02-07 21:27:00 -06:00
James Vaughn
54a059ff68
updated signatures for addCollaborators methods
...
updated javadoc comments for addCollaborators methods
combined both modifyCollaborators methods into one method
updated addColloaborators test to match new method signature
2020-02-07 21:13:23 -06:00
James Vaughn
dddcf624e6
finished suggested formatting changes
2020-02-05 21:30:52 -06:00
James Vaughn
5a799400a9
fixed minor formatting issues
2020-02-04 21:10:29 -06:00
James Vaughn
d767575f76
Added test for addCollaborators
...
Mark old addCollaborators methods depricated
2020-02-02 22:02:56 -06:00
James Vaughn
6576beae76
Added missing methods to keep the API from breaking
...
added tests for addCollaborators()
2020-02-01 22:39:14 -06:00
James Vaughn
3e4f160c5d
ran mvn clean install then the build commmand and build was successful
2020-01-24 18:23:59 -06:00
James Vaughn
3bf8baee85
format fixed and validation passed
2020-01-23 18:32:37 -06:00
Vaughn
8792213594
tried formatting the file once again.
2020-01-23 15:16:36 -06:00
Vaughn
9ab8bdfe4a
formatted file
2020-01-23 14:45:24 -06:00
Vaughn
90301ae9ee
Added ability to specify permissions for collaborators
2020-01-23 13:37:35 -06:00
Liam Newman
0df48c37ac
Merge branch 'master' into issue_500_create_tag_method
2020-01-17 22:43:07 -08:00
Liam Newman
a3ba07d45f
Inline toIterable
2020-01-15 19:33:22 -08:00
Martin van Zijl
ff397dfa4d
Correction per "mvn install site".
2020-01-11 13:03:41 +13:00
Martin van Zijl
34d64c0dff
Added comment to JavaDoc as advised per GitHub Maven test.
2020-01-11 12:53:54 +13:00
Martin van Zijl
998bda9de7
Add createTag() method.
...
Fixes #500 .
2019-12-23 05:43:48 +13:00
Liam Newman
c699a84f42
Enforce 'Accept' request header values
...
The 'Accept' header on requests can change what data is returned, so we need to
only match requests with the correct value.
2019-12-19 17:56:32 -08:00
Liam Newman
16d8c2b221
Remove Symmetra preview
2019-12-19 13:50:18 -08:00
Gavin Mogan
dceecbef0a
Labels with description are not preview anymore
...
https://developer.github.com/v3/issues/labels/#create-a-label
2019-12-19 13:50:07 -08:00
Liam Newman
305267d07f
Rename methods for better clarity
2019-12-17 12:41:23 -08:00
Liam Newman
40f05e4dbb
Clean up request method calls
2019-12-17 10:02:55 -08:00
Liam Newman
0f9482864c
Move url to separate method
2019-11-26 15:26:46 -08:00
Liam Newman
60700d59fe
Force URI encoding for api paths starting with slash
2019-11-26 15:14:36 -08:00
Liam Newman
3296cef02d
Change requester to GET by default
2019-11-25 18:15:21 -08:00
Liam Newman
8c4b1ef74a
Fixed GHContent to allow spaces in path
...
URI path encoding whack-a-mole. This fix should cover a significant number of cases.
Also, fixed to NOT do URLEncode for URI path. The encoding is different between path and query.
Fixes #624
2019-11-25 18:06:19 -08:00
Liam Newman
2af4f61882
Cleanup imports
2019-11-18 11:35:45 -08:00
Liam Newman
da11702f68
Modify formatting to columnize
...
Turns out I do care about formatting a little. We have a lot of builders and chained methods.
I think it is easier to follow long chains when lined up veritcally.
2019-11-15 15:18:07 -08:00
Liam Newman
757b9b2118
Add JavaDocs
...
Do using IntelliJ JavaDocs plugin. Better to have something than nothing.
2019-11-14 13:24:28 -08:00
Liam Newman
a3b126282d
Remove package comments
2019-11-13 15:20:02 -08:00
Liam Newman
9d8460bb81
Enable automatic code formatter with CI validation
...
This may be controversial but it we're doing it. Having code formatting needs to be consistent
and a non-issue during code review. I'm willing modify the configuration if people see a strong
need, but formatting needs to be present and enforced.
2019-11-13 13:28:23 -08:00
Liam Newman
8943af9840
Cleanup tabs and whitespace
2019-11-13 12:47:19 -08:00
Martin van Zijl
c85d6107ec
Added method to set repository topics. Fixes #546 .
2019-11-07 13:41:14 +13:00
Liam Newman
5b53fba020
Merge pull request #581 from martinvanzijl/issue_546_list_repository_topics
...
Add method to list repository topics
2019-11-01 09:33:10 -07:00
Martin van Zijl
e3c9cec440
Fixed typo in comment: listTopics() not getTopics().
2019-11-01 13:48:20 +13:00
Martin van Zijl
2eb8ce632c
Merge branch 'master' into issue_546_list_repository_topics
2019-11-01 13:35:57 +13:00
Liam Newman
61f3a3219f
Fix tt incompatible tags
2019-10-31 15:41:09 -07:00
Martin van Zijl
a5b6302a69
Add method to list repository topics.
...
For #546 .
The method to update repository topics does not work yet. It may
not have been implemented in the underlying API.
2019-10-30 15:05:09 +13:00
Martin van Zijl
9f29d4619d
Fix for getting deployment by id.
...
Fixes #529 .
2019-10-30 13:13:06 +13:00
Liam Newman
81ea138f41
Test and fixes for draft pull request
2019-10-21 15:38:04 -07:00
Liam Newman
2970a58e95
Merge branch 'master' into draft-pr
2019-10-18 13:00:39 -07:00
Liam Newman
281c927971
Update GHIssueEvent PagedIterable
2019-10-11 13:11:08 -07:00
Liam Newman
f28edbcf8f
Simplify creation of PagedIterables from requests
2019-10-11 13:05:13 -07:00
Liam Newman
dec7a91b5b
Merge pull request #479 from martinvanzijl/issue_376_issue_events
...
Add issue events API
2019-10-11 11:44:03 -07:00
Martin van Zijl
2aa4022e2c
Updated per review.
...
- Created separate class for GHIssueEvent instead of nested classes.
- Renamed test class accordingly.
Other fixes:
- Changed id type to long.
- Updated test cases.
- Added toString() method.
2019-10-09 14:59:08 +13:00