Kohsuke Kawaguchi
ea8df9bd61
javadoc fix
2017-09-09 08:13:51 -07:00
Kohsuke Kawaguchi
ad28ca4a90
Use string constant like other previews
2017-09-09 07:59:31 -07:00
Kohsuke Kawaguchi
aebbe86cfc
Keeping findbugs happy
2017-09-09 07:57:49 -07:00
Kohsuke Kawaguchi
612139f2ff
Merge pull request #375 from stephenc/tag-object-support
...
Add basic support for tag objects
2017-09-08 15:49:33 -07:00
Kohsuke Kawaguchi
240bcabb76
Merge pull request #351
2017-09-08 14:16:45 -07:00
Kohsuke Kawaguchi
cda27d5963
This field should be still final
2017-09-08 14:16:09 -07:00
Kohsuke Kawaguchi
2f8c3997f7
Restored signature of the previous enableProtection() method
2017-09-08 14:13:21 -07:00
Kohsuke Kawaguchi
46b89a48db
Merge Pull request #369
2017-09-08 14:06:22 -07:00
Kohsuke Kawaguchi
5c9cbee2f9
Merge pull request #332 from sebkur/fix_javadoc
...
Fix a bug in the Javadocs (due to copy and paste)
2017-09-08 10:39:58 -07:00
Kohsuke Kawaguchi
2e2813f363
Merge pull request #343 from kamontat/feature/latest-release
...
add latest release
2017-09-08 10:39:13 -07:00
Kohsuke Kawaguchi
7ceca0769f
Merge pull request #363 from PauloMigAlmeida/master
...
Add missing event types used by repository webhooks
2017-09-08 10:36:33 -07:00
Kohsuke Kawaguchi
4d277cc61f
Merge pull request #352 from stephenc/pr-reviews
...
Add support for PR reviews preview
2017-09-08 10:35:58 -07:00
Kohsuke Kawaguchi
e67fbb4621
Merge pull request #362 from KostyaSha/pingHook
...
Add ping hook method
2017-09-08 10:34:45 -07:00
Kohsuke Kawaguchi
29b5357ceb
Merge pull request #358 from jglick/no-preview-JENKINS-36240
...
[JENKINS-36240] /repos/:owner/:repo/collaborators/:username/permission no longer requires korra preview
2017-09-08 10:33:31 -07:00
Stephen Connolly
9dabec107b
Add basic support for tag objects
2017-09-01 12:52:15 +01:00
Jae Gangemi
23cd51a6da
- improved branch protection support
2017-08-08 16:17:58 -06:00
Paulo Miguel Almeida
4abe87036c
Add missing event types used by repository webhooks
2017-07-14 04:23:08 +00:00
Kanstantsin Shautsou
8d1b44db97
Add ping hook method
2017-07-10 02:39:03 +03:00
Jesse Glick
cb7620395a
[JENKINS-45142] Retry connections after getting SocketTimeoutException.
2017-06-28 17:09:54 -04:00
Jesse Glick
3a40af8871
[JENKINS-36240] /repos/:owner/:repo/collaborators/:username/permission no longer requires korra preview.
2017-06-12 10:28:25 -04:00
mdeverdelhan
c9b5074bc4
Fix the wrapping of retrieved commits (owner/repository)
2017-05-11 12:32:34 +02:00
Stephen Connolly
44d4d0d767
Add support for PR reviews preview
2017-03-30 12:17:06 +01:00
mdeverdelhan
64af13f40d
Add the Commit search API (still in preview)
2017-03-30 12:55:55 +02: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
kamontat
5554332b5b
add return null if latest release not found
2017-02-20 10:20:53 +07:00
kamontat
fd859815b0
fixed indent, rename to getLastestRelease
2017-02-20 09:36:28 +07:00
kamontat
166e26d101
add latest release
2017-02-19 23:57:44 +07:00
Sebastian Kürten
75f0c08ca4
Fix a bug in the Javadocs (due to copy and paste)
2017-01-23 12:21:13 +01:00
Stephen Connolly
f2e7b40425
Correct algebra in #327
2017-01-10 10:15:04 +00: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
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
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
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
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
Jesse Glick
ccb42d3249
[JENKINS-36240] Added GHRepository.getPermission(String).
2016-12-16 18:02:28 -05:00