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
46b89a48db
Merge Pull request #369
2017-09-08 14:06:22 -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
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
Jesse Glick
3a40af8871
[JENKINS-36240] /repos/:owner/:repo/collaborators/:username/permission no longer requires korra preview.
2017-06-12 10:28:25 -04: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
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
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
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
Jesse Glick
ccb42d3249
[JENKINS-36240] Added GHRepository.getPermission(String).
2016-12-16 18:02:28 -05: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
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
1c162c6390
Merge pull request #304
2016-11-16 18:19:26 -08:00
Kohsuke Kawaguchi
def3a28fb5
Restoring backward compatibility of names
2016-11-16 18:18:45 -08:00
Stephen Connolly
e544c7a65a
Fix the push event payload
2016-11-14 12:52:22 +00:00
Stephen Connolly
4daf6ba057
Add offline support to the API to make parsing events easier
...
- When we receive events from a webhook, it is non-trivial to determine which GitHub instance the event came from
or for that matter even if the event actually came from GitHub or GitHub Enterprise.
- In order to ensure that the logic for parsing events does not get replicated in clients, we need to be
able to call GitHub.parseEventPayload(Reader,Class) without knowing which GitHub the event originates from
and without the resulting objects triggering API calls back to a GitHub
- Thus we add GitHub.offline() to provide an off-line connection
- Thus we modify some of the object classes to return best-effort objects when off-line
- Add support for more of the event types into GHEventPayload
- Add tests of the event payload and accessing critical fields when using GitHub.offline()
2016-11-08 12:56:52 +00:00
Jason Song
955e9899af
Fix fields of GHRepository
2016-11-04 00:09:59 +08:00
Kohsuke Kawaguchi
4965fd5f4c
Noting possible TODO for the future
2016-10-24 19:15:38 -07:00
Ben Sheats
5334cb8688
url encode hashes in ref names
2016-10-21 11:40:01 -04:00
Kohsuke Kawaguchi
a9fb4546e1
Constants for preview media types
2016-08-05 20:56:11 -07:00
Kohsuke Kawaguchi
cabbbf7f02
Handle 404 that represents "no license"
2016-08-05 20:50:39 -07:00
Kohsuke Kawaguchi
59324b0082
Add preview media type header explicitly
2016-08-05 20:47:08 -07:00
Kohsuke Kawaguchi
6a356c82a5
Fixed up tests
2016-08-05 20:44:45 -07:00
Kohsuke Kawaguchi
0cf4211aa5
Merged GHLicense & GHLicenseBase
...
Elsewhere in this library, whenever there are multiple forms of the same
object, we map that to the same class and use lazy data retrieval to
fill missing fields.
2016-08-05 20:36:46 -07:00
Duncan Dickinson
bb1cecb95b
PR-284: license API support
...
Had to do git-diff | git-apply to avoid whitespe changes to GHRepository
2016-08-05 20:11:33 -07:00
Kohsuke Kawaguchi
1ce54a7925
Bug fix in toString()
2016-06-02 23:55:55 -07:00
Kohsuke Kawaguchi
1bfe7dd99b
Issue #264 : wait for the repo to finish forking
2016-06-02 23:50:18 -07:00
Kohsuke Kawaguchi
27e855ddbd
Issue 262: added support for branch protection API
2016-06-02 23:40:37 -07:00
Kohsuke Kawaguchi
cde501af8d
More meaningful toString() method
...
Produce toString without dilligently adding it to every single class.
Rely on heuristics to cut down the number of fields to show.
2016-06-02 22:38:38 -07:00
Kohsuke Kawaguchi
3c5592c1c8
Following the convention with GHMyself.getEmails2()
...
This way the method is more discoverable with IDE auto-completion
2016-06-02 22:05:24 -07:00
noctarius
beae9fd6ec
Added support for the extended stargazers API in Github V3 API
2016-04-14 07:22:17 +02:00
Kohsuke Kawaguchi
a31395ed80
Signature fix for Java5
2016-03-18 19:15:52 -07:00
Ruben Dijkstra
f9014dbab3
Convert to legacy Throwable.initCause()
2016-03-12 21:58:27 +01:00
Daniel Beck
33d95d3e3a
Fix error when creating email service hook
2016-01-20 23:30:10 +01:00
Kohsuke Kawaguchi
d5809e375c
Simplification via enum handling in 'req.with'
2015-12-10 06:33:49 -08:00
Kohsuke Kawaguchi
2440a676bd
Added more comprehensive API to list pull requests
...
This fixes issue #234
2015-12-10 06:26:04 -08:00
Kohsuke Kawaguchi
2603b5a402
Added stargazers and stars
2015-12-03 17:55:06 +01:00
Kohsuke Kawaguchi
dbddf5b9eb
Implemented pagenation size support.
2015-12-03 17:41:43 +01:00
Kohsuke Kawaguchi
723bb89e10
Merge pull request #219 from if6was9/cross-fork-compare
...
#218 enable cross fork compare
2015-12-01 15:04:50 +01:00
Kohsuke Kawaguchi
f86896943d
Merge pull request #224 from Shredder121/directory-content-trailing-slash
...
Remove trailing slash when requesting directory content
2015-12-01 14:53:56 +01:00
Vitaly Parfonov
b037f75fb0
Add information about mirror url if it exist. Like https://github.com/apache/tomee
2015-11-19 12:09:34 +02:00
Ruben Dijkstra
092e9062c8
Remove trailing slash when requesting directory content
2015-10-06 18:23:51 +02:00