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
Kohsuke Kawaguchi
c62bc8d5da
subsumed by GHRepository.queryCommits()
2014-05-10 11:58:22 -07:00
Kohsuke Kawaguchi
1e0129f2d8
A few more properties while we are at it
2014-05-09 18:36:46 -07:00
Kohsuke Kawaguchi
2e1d4381b0
looks like this property was renamed
2014-05-09 18:34:51 -07:00
Kohsuke Kawaguchi
a409b4f49c
Merge branch 'pull-86'
...
Conflicts:
src/main/java/org/kohsuke/github/GHOrganization.java
src/main/java/org/kohsuke/github/Requester.java
src/test/java/org/kohsuke/AppTest.java
2014-05-09 18:30:59 -07:00
Kohsuke Kawaguchi
926776204b
Implemented the builder pattern to my liking
2014-05-09 18:28:34 -07:00
vr100
d2ac81d7ba
Using builder pattern to list commits in a repo
2014-04-23 09:45:11 +05:30
Francois Berthault
2e5a9479a8
create a Release & Branch
2014-04-21 10:45:10 +02:00
Kohsuke Kawaguchi
a74cfd453a
Added support for getting issues by milestone and state.
...
rework AppTest to work better for people other than kohsuke
This patch was originally from @evanchooly. Reworked to avoid whitespace
changes.
2014-03-28 09:57:04 -07:00
Kohsuke Kawaguchi
6a903d65a7
Fixed a bug in the databinding of the 'private' field.
...
Luca pointed out this bug in
ae7a616e92
2014-03-28 09:47:27 -07:00
vr100
15c5c9615e
Added pagesize parameter to 'Get commits by author and branch' api
2014-03-20 15:00:34 +05:30
vr100
8f24f55eb7
Added apis to list commits by author and list the repos of an organization (including the private ones)
2014-03-19 11:06:11 +05:30
Matt Farmer
811b96bcbe
Implement the ability to retrieve content from a particular ref.
2013-11-28 10:02:37 -05:00
Matt Farmer
b0c30759c8
Properly wrap content on directory listing retrieval.
2013-11-28 00:33:07 -05:00
Matt Farmer
54037e6e10
Add the ability to specify a branch name with GHContent updates.
2013-11-28 00:29:49 -05:00
Matt Farmer
fc260d4a37
Implement the ability to create content via content api.
2013-11-28 00:21:25 -05:00