Kohsuke Kawaguchi
2341f789ab
Merge branch 'master' into pull-17
2012-09-05 19:13:32 -07:00
Kohsuke Kawaguchi
8a95847b0a
Renaming to better represent what it does.
2012-09-05 19:13:10 -07:00
Kohsuke Kawaguchi
435363a246
moved the pagenation API over to Poster
2012-09-05 19:08:29 -07:00
Kohsuke Kawaguchi
d6d73f5165
A step toward using Poster in place of the retrieve* methods.
...
I was trying to add the flavor of the retrieve method that reads into an existing instance, when I realized that there are just too many orthogonal axes here to rely on overloaded methods.
That calls for a builder pattern, which we already have --- it's called Poster, but it can actually already handle GET and other HTTP requests.
So I'm retiring the retrieveXYZ methods and moving the code into Poster. This is the first step.
2012-09-05 18:53:06 -07:00
Honza Brázdil
fff3272e42
make url methods return URL and add getApiUrl
2012-08-31 15:27:06 +02:00
Honza Brázdil
803198620d
Nested GHIssue.PullRequest must be static
2012-08-31 15:24:14 +02:00
Honza Brázdil
9017fe70d5
We need to preserve api
2012-08-31 14:50:08 +02:00
Honza Brázdil
ce47762fbf
Added milestone attribute to GHIssue
2012-08-31 14:37:02 +02:00
Honza Brázdil
6aabaea96c
Clean up GHIssue and GHPullRequest and make them relevant to api v3.
...
Added SmallUser representing reference to user.
Added DetailedPullRequest - when retrieving pull request by id, it has more attributes then pull requests obtained by GHRepository.getPullRequests()
2012-08-31 12:37:00 +02:00
Honza Brázdil
587278f282
we need to maintain the binary compatibility, so I reverted getComments and added listComments that exposes PagedIterable.
...
inspired by 8f95c4f179
2012-08-28 19:09:18 +02:00
Honza Brázdil
cc3793cbcd
Comments are paged
2012-08-28 18:59:09 +02:00
Honza Brázdil
58d10df5e3
Fix GHIssue.getState() No enum constant
2012-08-28 18:59:09 +02:00
Honza Brázdil
ae2d01a878
fix GHPullRequest.getLabels() NPE
2012-08-28 18:59:09 +02:00
Kohsuke Kawaguchi
1c15751949
Removing pointless '3' suffix in the method names.
2012-06-12 14:21:43 -07:00
Kohsuke Kawaguchi
82acf4f107
Now that everything is V3 API, there's no need for such enum.
2012-06-12 14:20:52 -07:00
Kohsuke Kawaguchi
b5f7208b0d
Removed v2 API usage and switched to v3.
...
https://github.com/kohsuke/github-api/issues/8
2012-06-12 14:07:27 -07:00
Kohsuke Kawaguchi
bb3bfe4be8
added support for the issue comments
2011-06-24 17:56:51 -07:00
Kohsuke Kawaguchi
561f8397ee
adding more operations
2011-06-24 17:45:10 -07:00
Kohsuke Kawaguchi
5e2a27ab75
fall out from issue/pull-request unification
2011-06-24 17:43:43 -07:00
Kohsuke Kawaguchi
898a190312
unifying issue and pull request.
2011-06-24 17:31:05 -07:00
ermau
70d18631b0
Added basic GitHub issue support
2011-05-27 19:09:16 -04:00