Kohsuke Kawaguchi
3d03659508
[maven-release-plugin] prepare release github-api-1.85
github-api-1.85
2017-02-28 21:06:08 -08:00
Kohsuke Kawaguchi
0374d2de48
Merge pull request #346 from stephenc/close-the-connections
...
Ensure that connections are closed for error responses
2017-02-27 12:33:18 -08:00
Stephen Connolly
2627dc5ee4
Ensure that connections are closed for error responses
...
- This was endless fun to trace, but I found it at last. This should
stop the `WARNING: A connection to https://api.github.com/ was leaked.
Did you forget to close a response body?` messages in the logs when
using the OkHttpConnector.
2017-02-23 12:52:29 +00:00
Kohsuke Kawaguchi
1f4325e7db
Merge pull request #329 from stephenc/patch-1
...
Correct algebra in #327
2017-01-16 18:31:33 -08:00
Stephen Connolly
f2e7b40425
Correct algebra in #327
2017-01-10 10:15:04 +00:00
Kohsuke Kawaguchi
4ee3086b6d
[maven-release-plugin] prepare for next development iteration
2017-01-09 16:50:15 -08:00
Kohsuke Kawaguchi
a3a715c3ba
[maven-release-plugin] prepare release github-api-1.84
github-api-1.84
2017-01-09 16:50:08 -08:00
Kohsuke Kawaguchi
6cad4a3c33
static import for conciseness
2017-01-09 16:43:03 -08:00
Kohsuke Kawaguchi
b9b6f4fd44
INFO level logging is harmful as it's reported to stdout by default
2017-01-09 16:42:03 -08:00
Kohsuke Kawaguchi
17d1994a53
[maven-release-plugin] prepare for next development iteration
2017-01-09 16:38:02 -08:00
Kohsuke Kawaguchi
13184e72e1
[maven-release-plugin] prepare release github-api-1.83
github-api-1.83
2017-01-09 16:37:56 -08:00
Kohsuke Kawaguchi
911e8d21a7
Made the test case runnable, at least for me
2017-01-09 16:26:58 -08:00
Kohsuke Kawaguchi
5b69a2925f
Merge pull request #324
2017-01-09 16:18:48 -08:00
Kohsuke Kawaguchi
d1c900a620
Marking the fact that these APIs are still in preview and subject to change
2017-01-09 16:18:40 -08:00
Kohsuke Kawaguchi
6bfeb54f3c
Just exposing permission type enum until there's more to this relation than one property
2017-01-09 16:14:30 -08:00
Kohsuke Kawaguchi
198fede915
Merge pull request #325
2017-01-09 16:06:14 -08:00
Kohsuke Kawaguchi
1212ae3eb3
Touch up for uniformity
...
- Prefer typed 'URL' over 'String' that is URL
- Mark API as @Preview to communicate that this is subject to change
More branch protection stuff needs to be added. See https://developer.github.com/v3/repos/branches/
2017-01-09 16:06:05 -08:00
Kohsuke Kawaguchi
1266dcc0c7
Merge pull request #327 from stephenc/expose-rate-limit-headers
...
Expose Rate Limit Headers
2017-01-10 08:57:07 +09:00
Stephen Connolly
6fcddf4a47
Some usage patterns require more pro-active rate limit queries
2017-01-05 10:25:40 +00:00
Stephen Connolly
dfea424b94
Expose the API url used by the GitHub
2017-01-05 09:36:58 +00:00
Stephen Connolly
9d03435aa1
Expose Rate Limit Headers
...
Exposes the rate limit header responses so that consumers of the API can proactively tune their usage
2017-01-05 09:21:32 +00:00
Jeffrey.Nelson
26c20a7a22
add branch protection attributes
2016-12-22 11:55:01 -06:00
Kohsuke Kawaguchi
470da06ecf
Cleaning up javadoc warnings
2016-12-17 08:17:20 -08:00
Kohsuke Kawaguchi
a746a310bc
[maven-release-plugin] prepare for next development iteration
2016-12-17 07:50:55 -08:00
Kohsuke Kawaguchi
3dbb516084
[maven-release-plugin] prepare release github-api-1.82
github-api-1.82
2016-12-17 07:50:48 -08:00
Kohsuke Kawaguchi
32177283b3
Fixed issue #317
...
There's no need for the library to replicate a logic when GitHub does
that (and does that correctly.)
Looking at the commit history, I couldn't see why this was added in the
first place.
2016-12-17 07:30:14 -08:00
Kohsuke Kawaguchi
3a66e90b7a
Fixed issue #319
...
getApiUrl() is unreliable given that we collapse issue & PR into one
object.
2016-12-17 07:28:28 -08:00
Kohsuke Kawaguchi
a454fb10ec
Tree traversal from commit & its associated tests
2016-12-17 07:21:31 -08:00
Kohsuke Kawaguchi
b5386a35ee
Defining better traversal methods for apps that walk trees
2016-12-17 07:09:29 -08:00
Kohsuke Kawaguchi
11651da411
not always a blob, for example it could be a tree.
2016-12-17 07:04:31 -08:00
Kohsuke Kawaguchi
88d52c44ad
Recording parent GHRepository
2016-12-17 07:03:40 -08:00
Kohsuke Kawaguchi
2d7d4bbd4e
Merge pull request #320 with some additional changes
2016-12-17 06:56:41 -08:00
Kohsuke Kawaguchi
e6ee278fde
Another version that directly reads BLOB without going through an intermediate object.
2016-12-17 06:55:44 -08:00
Kohsuke Kawaguchi
6380cf9ed0
Added a method to retrieve the actual bytes of BLOB
...
... which is probably more useful than the getContent() method
2016-12-17 06:47:24 -08:00
Kohsuke Kawaguchi
2e78dc52c7
Merge pull request #323 from jglick/bad-json
...
Fix syntactically malformed test JSON
2016-12-17 06:24:43 -08:00
Jesse Glick
ccb42d3249
[JENKINS-36240] Added GHRepository.getPermission(String).
2016-12-16 18:02:28 -05:00
Jesse Glick
c5009ab44b
Fix syntactically malformed test JSON.
2016-12-16 15:04:10 -05:00
Jeff Nelson
9d15cd43a3
Merge pull request #1 from kohsuke/master
...
catchup
2016-12-14 12:12:57 -06:00
Kanstantsin Shautsou
0780e10fa2
Added ghRepo.getBlob(String) method
...
Signed-off-by: Kanstantsin Shautsou <kanstantsin.sha@gmail.com >
2016-12-13 15:28:08 +03:00
Kohsuke Kawaguchi
0731f63237
Added order parameter
2016-11-26 14:45:03 -08:00
Kohsuke Kawaguchi
a29896042b
Merge pull request #315 from davidxia/dxia/patch1
...
Fix typos in javadocs
2016-11-26 14:38:45 -08:00
David Xia
68ebc08c9d
Fix typos in javadocs
...
Replace "pagenated" with "paginated".
2016-11-26 00:44:52 -05:00
Kohsuke Kawaguchi
a1df526f93
[maven-release-plugin] prepare for next development iteration
2016-11-21 08:53:42 -08:00
Kohsuke Kawaguchi
0023ecefa4
[maven-release-plugin] prepare release github-api-1.81
github-api-1.81
2016-11-21 08:53:38 -08:00
Kohsuke Kawaguchi
511f156603
Added the membership API for the authenticated user.
2016-11-19 15:26:04 -08:00
Kohsuke Kawaguchi
3f223b1ba0
Support assignees when creating a new issue
2016-11-19 14:50:47 -08:00
Kohsuke Kawaguchi
a1528a1a63
API to add/set/remove assignees from an issue
2016-11-19 14:48:43 -08:00
Kohsuke Kawaguchi
b8bfddbf3a
Code simplification
2016-11-19 14:30:35 -08:00
Kohsuke Kawaguchi
47fc813027
Assignees of the repository.
...
(Personally this concept makes no sense for me, so I don't know what this API really does. I'm just following their API docs)
2016-11-19 14:29:27 -08:00
Kohsuke Kawaguchi
c7f2228a44
[maven-release-plugin] prepare for next development iteration
2016-11-16 22:52:14 -08:00