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
dbddf5b9eb
Implemented pagenation size support.
2015-12-03 17:41:43 +01:00
Oleg Nenashev
79c5b2edd5
FindBugs: Fix over 100 issues and enforce FindBugs
2015-07-20 12:28:41 +03:00
Kohsuke Kawaguchi
b0c54ef0f1
Restored backward compatibility with the former signature
2015-07-17 13:27:20 +03:00
Julien HENRY
cce02aec3d
Add delete and update for GHIssueComment
2015-06-16 09:27:55 +02:00
Kohsuke Kawaguchi
d070f9deb0
TAB -> WS
2015-04-13 18:25:44 -07:00
Kohsuke Kawaguchi
11566891dc
Restored backward compatibility
...
The signature of the method can change for the future, but it still has
to return Label instances for older binaries
2015-03-02 08:33:00 -08:00
Kohsuke Kawaguchi
29f826448a
Added a convenience method.
...
See: issue #134
2015-02-15 08:35:31 -08:00
Kohsuke Kawaguchi
e2e2329301
Noting issue #60 that this method can return null
2015-02-15 07:16:18 -08:00
Kohsuke Kawaguchi
d90adfa98e
Implemented label CRUD operations on GHRepository
...
Fixes issue #105
2015-02-15 06:55:35 -08:00
Kohsuke Kawaguchi
4b6981c2e7
Added issue-search capability
2015-02-14 09:53:29 -08:00
Kohsuke Kawaguchi
b6e48cc4f9
Use GHObject as much as we can
2015-02-14 08:27:20 -08:00
Kohsuke Kawaguchi
372d5ff758
Fixed a test regression
...
Presumably due to the behaviour change on GitHub API?
2014-10-08 12:07:09 -07:00
Roberto Tyley
e2220bb3b3
Fix setting labels and assignee on PullRequests
...
Setting labels and assignee on Pull requests failed silently, because
the API endpoint being hit contained '/pulls/' rather than '/issues/'.
"Every pull request is an issue, but not every issue is a pull request.
For this reason, “shared” actions for both features, like manipulating
assignees, labels and milestones, are provided within the Issues API."
https://developer.github.com/v3/pulls/#labels-assignees-and-milestones
2014-09-03 23:34:58 +01:00
Roberto Tyley
893152cdf3
Fix GHIssue.setLabels() - *don't* set 'assignee' instead!
2014-03-08 16:05:33 +00:00
Ricardo Pescuma Domenecci
a2df4217fd
Updated issue label with ifts fields
2013-09-28 12:43:01 -03:00
Aaron Crickenberger
5410ba3b1d
Force issues-based API route for PR comments
...
pulls/:number/comments is used for review_comments
2013-05-01 13:59:45 -07:00
Kohsuke Kawaguchi
beec605e2c
[FIXED issue #34 ] API route for pull requests uses 'pulls'
2013-04-23 09:28:00 -07:00
Honza Brázdil
e658a7fa6b
send authentication header on all requests
2012-09-12 18:04:59 +02:00
Honza Brázdil
0e226a8f78
When using lazy population, this is not deprecated
2012-09-06 14:23:51 +03:00
Kohsuke Kawaguchi
1dd875adac
adding lazy population to GHUser and got rid of GHSmallUser
2012-09-05 19:25:56 -07:00
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