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
Liam Newman
c1a77ada5d
Merge branch 'master' into draft-pr
2019-10-08 10:55:51 -07:00
Martin van Zijl
b1c0e41c5c
Merge branch 'master' into issue_376_issue_events
2019-10-08 12:31:30 +13:00
Joey Berglund
b163e68950
Merge branch 'master' into master
2019-10-07 08:41:56 -05:00
Joey Berglund
88b006e957
Update GHRepository.java
2019-10-07 08:39:38 -05:00
Liam Newman
2719867a86
Fix up Label Description and tests
2019-10-04 22:23:53 -07:00
Liam Newman
0240412ad2
Merge remote-tracking branch 'github-api/master' into label-description
2019-10-04 21:44:06 -07:00
Liam Newman
5feffdf544
Minor fixups after merge from master
...
Rerecorded WireMock files with newer framework
2019-10-04 21:29:08 -07:00
Liam Newman
4e56b8bb78
Merge branch 'master' into issue_330_statistics
2019-10-04 21:12:35 -07:00
Joey Berglund
a42024bdbc
Update GHRepository.java
2019-10-04 16:28:28 -05:00
Martin van Zijl
b20c2babec
Added support for projects.
...
Fixes issue #425
2019-10-04 10:11:18 -07:00
Liam Newman
22f61d6225
Merge branch 'master' into issue_376_issue_events
2019-10-04 00:41:15 -07:00
Liam Newman
e81e228f03
Merge branch 'master' into issue_330_statistics
2019-10-04 00:01:36 -07:00
Liam Newman
1076f89954
Merge branch 'master' into label-description
2019-10-03 23:56:27 -07:00
Martin van Zijl
c7af56d0ed
Changes per review on GitHub.
...
- Moved statistics methods from GHRepository to new class GHRepositoryStatistics
- Updated StatisticsTest to suit.
- For ContributorStats, put the "wait-till-ready" loop in the accessor method.
I'm planning to do something similar for the rest.
2019-10-04 16:23:26 +13:00
Sharath Babu
563507ca21
add setPrivate functionality on repos
2019-10-03 14:38:26 -07:00
Liam Newman
716947bbb1
Merge branch 'master' into draft-pr
2019-09-27 10:38:23 -07:00
Liam Newman
23c07316ee
Merge branch 'master' into label-description
2019-09-25 17:28:23 -07:00
Martin van Zijl
a50a011eb3
Issue #381 - Escape branch URL.
...
This is using the "old" HTTP.UTF_8 Charset, since the new
StandardCharsets doesn't compile.
2019-09-25 16:59:58 -07:00
Liam Newman
e22c6d3a94
Merge branch 'master' into issue_330_statistics
2019-09-25 16:57:36 -07:00
Liam Newman
22575c9a01
Add test for archive method
2019-09-25 16:48:54 -07:00
João Eiras
2934922cb5
Implemented GitHub.doArchive
...
doArchive() will mark a repository as archived.
Issue #472
2019-09-25 16:30:44 -07:00
Liam Newman
9042ff46c7
Clean up Previews
2019-09-25 15:47:07 -07:00
Liam Newman
3d04765f51
Merge branch 'master' into issue_330_statistics
2019-09-24 18:19:35 -07:00
Martin van Zijl
3452a08de3
Added more detail to unit tests.
...
Added another accessor method.
2019-09-20 16:27:32 +12:00
Martin van Zijl
ad281adc97
Unit tests and fixes.
...
Fixed issue with getCodeFrequency() where it would occasionally throw
an exception when the statistics were still being generated.
Added comment about throwing an exception as a possibility when
202 is returned.
2019-09-14 10:39:59 +12:00
Liam Newman
c7c8cd76c6
Merge branch 'master' into label-description
2019-09-08 23:58:18 -07:00
Vincent Behar
e133afec86
Add support for draft pull requests
...
See https://developer.github.com/v3/pulls/#input
and https://help.github.com/en/articles/about-pull-requests#draft-pull-requests
Note that it requires the use of a github api preview: https://developer.github.com/v3/previews/#draft-pull-requests
2019-07-11 17:12:20 +02:00
Liam Newman
13eb91f8dd
Preserve api compatibility for createLabel()
2019-05-16 18:44:39 -07:00
Anatoly Danilov
615e4cf24e
Create PR is possible without the owner of the repo to modify PR.
...
Use case: when fork is done into private organization then the original repo maintainer can't have any access there hence this field has to be set to `false` explicitly
2019-02-20 09:25:35 +03:00
Immanuel Washington
ec99636ef0
Adding Label description property
...
Label in the GitHub API has an optional field description which had not been implemented.
2018-11-25 02:10:06 -05:00
Martin van Zijl
9d955d252a
Add statistics API.
...
Fixes issue #330
2018-11-16 18:24:30 +13:00
Kohsuke Kawaguchi
3ad66f8937
Merge pull request #468 from KostyaSha/fixMemLeak
...
Fix memory leak.
2018-11-06 07:56:15 -08:00