Kohsuke Kawaguchi
68dda3a46d
Merge pull request #175
2015-04-13 16:47:32 -07:00
Kohsuke Kawaguchi
2cd44f8c33
Added the pair method
2015-04-13 16:47:25 -07:00
Kohsuke Kawaguchi
9775954aff
Massaging the PR.
...
- need to retrieve the object in full to have all the fields properly populated
- documentation fix, as this method points to the root of the forking chain, not just an upstream.
2015-04-13 16:45:38 -07:00
Kohsuke Kawaguchi
8dcea59c74
Fixed javadoc errors
2015-04-13 16:36:14 -07:00
Jason Nichols
b926b6c67f
Added the source attribute to GHRepository
2015-04-02 14:54:13 -04:00
Kohsuke Kawaguchi
adba2e68db
Renamed for consistency with other methods
2015-03-22 15:54:53 -07:00
Kohsuke Kawaguchi
74fda40764
Implemented initial notification API support.
...
Fixes issue #119
2015-03-22 15:40:53 -07:00
Kohsuke Kawaguchi
5bf252e12d
Added markdown support
...
Fixes issue #165
2015-03-22 11:00:57 -07:00
Kohsuke Kawaguchi
77590b4eb3
eliminate the need for path manipulation and consolidate them to 'with'
2015-03-21 16:52:49 -07:00
Kohsuke Kawaguchi
ce7ca59339
Merge pull request #155
2015-03-15 12:49:30 -07:00
khoa-nd
374fdb37e1
Change type of language bytes from Integer to Long
2015-03-06 09:11:03 +07:00
khoa-nd
f78530636e
Add method to get the list of languages using in repository
2015-03-05 15:53:02 +07:00
Daniel
bad0d1bbcf
implementing github trees as described https://developer.github.com/v3/git/trees/#get-a-tree-recursively
2015-02-18 14:58:27 +01:00
Kohsuke Kawaguchi
e631e46dd1
Exposed this method.
...
I'm generally against having these inter-object short cut methods
(in this case it's getOwner().getName() but oh well.)
Fixes issue #149
2015-02-15 08:57:36 -08:00
Kohsuke Kawaguchi
3bb7eb2e03
Added API to list contributors
2015-02-15 08:50:55 -08:00
Kohsuke Kawaguchi
a8cf4a7120
Added watch API support.
...
Fixes issue #130
2015-02-15 08:31:57 -08:00
Kohsuke Kawaguchi
762a32eb6d
Added repository watch listing
2015-02-15 07:45:11 -08:00
Kohsuke Kawaguchi
541dac1aee
Use getApiTailUrl for consistency
2015-02-15 07:35:02 -08:00
Kohsuke Kawaguchi
d90adfa98e
Implemented label CRUD operations on GHRepository
...
Fixes issue #105
2015-02-15 06:55:35 -08:00
Kohsuke Kawaguchi
1dbcc4b776
Fixed the getReadme() method.
...
It was calling the wrong endpoint.
Fixed issue #99 .
2015-02-15 06:31:22 -08:00
Kohsuke Kawaguchi
1b4025300c
Merge remote-tracking branch 'origin/master'
2015-02-14 09:32:53 -08:00
Kohsuke Kawaguchi
edd9a2d5b6
Using newly added GHObject in more places.
2015-02-14 06:59:46 -08:00
Kohsuke Kawaguchi
21ea916e0d
Pull request #143 introduced wrong file permissions
2015-02-14 06:48:56 -08:00
Kohsuke Kawaguchi
f8fba41a30
Merge pull request #141 from alvaro1728/master
...
Trivial change to enable creating/updating binary content (files).
2015-02-14 09:42:55 -05:00
Surya Gaddipati
5d83894056
Add method for listing deployments
2015-01-02 16:46:56 -06:00
Surya Gaddipati
2f318152d8
Complete api implementation for setting/retriving deployment status on a deployment
2014-12-20 17:09:59 -06:00
Surya Gaddipati
bc518a9ae8
Complete implementation of create deployment api
2014-12-20 11:52:49 -06:00
Surya Gaddipati
a2fa526aa0
Add code for creating deployments for a repo
2014-12-19 12:47:00 -06:00
mendeza
7e959d6a87
Added binary content support - without tabs.
2014-12-18 21:15:29 -08:00
mendeza
5121fe1cbf
Added binary content support.
2014-12-18 21:03:28 -08:00
Michael O'Cleirigh
8eb9fba051
Allow pullRequest.getHead().getRepository().getCommit(headSha1) to work
...
The wrong .wrap method was used for pull requests initialized by state
(GHRepository.getPullReqests).
The wrong wrap call was introduced in 9fd34aec7f
This commit sets it back to the .wrapUp method which makes sure the pull request
substructure has the repo object set properly.
Without this change a NullPointerException is thrown on the last line of this
code because the repo object inside of the remoteRepository object is null:
GHRepository repo = github.getRepository(targetRepository);
List<GHPullRequest> openPullRequests = repo.getPullRequests(GHIssueState.OPEN);
for (GHPullRequest pullRequest : openPullRequests) {
GHCommitPointer head = pullRequest.getHead();
GHRepository remoteRepository = head.getRepository();
String commitId = head.getSha();
GHCommit headCommit = remoteRepository.getCommit(commitId);
2014-09-22 10:53:13 -04:00
Kohsuke Kawaguchi
3af5a8145a
Merge branch 'pull-117'
2014-08-30 14:03:58 -07:00
Kohsuke Kawaguchi
31bebd4a7a
Design pattern in this library demands that these methods be on GHRef
2014-08-30 14:03:34 -07:00
Matt Farmer
97a1c741de
Implement support for deleting a ref using the GitHub API.
2014-08-22 23:33:04 -04:00
Matt Farmer
077d693959
Add support for updating a ref using the API.
2014-08-22 23:30:22 -04:00
Nicolas De Loof
0efb206881
get repository full name (including owner)
2014-08-06 04:48:46 +02:00
Kohsuke Kawaguchi
3c8aa0c630
Convention dictates that the method name be "listXyz"
...
getCollaborators() only fetching the first page is a bug, so we should fix that too.
2014-07-02 21:24:17 -07:00
Kohsuke Kawaguchi
ba519f996a
Extracted non-formatting changes from pull request #98
...
The original commit has too many whitespace noise changes.
Reference: https://github.com/kohsuke/github-api/pull/98
2014-07-02 21:22:17 -07:00
Jesse Glick
4586baea27
Explain what a FNFE from delete() may just mean your token is lacking delete_repo.
2014-06-24 10:38:13 -04:00
Surya Gaddipati
e3d6e08b6a
Preserve api compatablity with previous version.
...
Support adding commitstatus without context.
2014-06-07 14:43:09 -05:00
Surya Gaddipati
16a6623095
Add support for adding context to commit status.
...
This groups statuses from multiple contexts to return single combined
status. More information here:
https://developer.github.com/changes/2014-03-27-combined-status-api/
2014-06-07 14:29:25 -05:00
Kohsuke Kawaguchi
08eafc4214
Merge pull request #94 from suryagaddipati/master
...
Add support for adding deploykeys to repo
2014-06-05 10:28:19 -07:00
Surya Gaddipati
3e4b06e959
Add support for retriving a single ref
...
Implements the following api method
https://developer.github.com/v3/git/refs/#get-a-reference
2014-06-04 15:11:27 -05:00
Surya Gaddipati
3e3c6f70ba
Add support for adding deploykeys to repo
...
Implements https://developer.github.com/v3/repos/keys/
2014-06-03 15:26:04 -05:00
Kohsuke Kawaguchi
a071f8bb86
Exposed more endpoints.
...
This fixes issue #64 .
2014-05-10 15:21:59 -07:00
Kohsuke Kawaguchi
f2c08bc1e8
Added ability to create a pull request.
...
This fixes issue #79 .
2014-05-10 15:05:48 -07:00
Kohsuke Kawaguchi
834ed7db0e
Merge branch 'pull-84'
2014-05-10 12:42:34 -07:00
Kohsuke Kawaguchi
7cbd7f999a
Pointless to define a builder that doesn't take parameters
2014-05-10 12:08:17 -07:00
Kohsuke Kawaguchi
4340c8cb00
Support pagination in releases just like tags
2014-05-10 12:00:44 -07:00
Kohsuke Kawaguchi
6f6583772d
Should support pagination
2014-05-10 11:59:46 -07:00