Kohsuke Kawaguchi
8b428f2c93
whitespace only changes for consistent indentation
github-api-1.64
2015-03-22 11:14:19 -07:00
Kohsuke Kawaguchi
10238dbcd3
Explaining why this code is the way it is.
2015-03-22 11:13:40 -07:00
Kohsuke Kawaguchi
6229e0928d
Revert "Set credentials file according to documentation"
...
This reverts commit 0bf81f4fb9 .
The point of this is to allow me to use a separate account to avoid
corrupting my event stream. GitHub.connect() does the standard handling
for those who are not me.
2015-03-22 11:11:03 -07:00
Kohsuke Kawaguchi
5c7b259fe9
Using the latest
2015-03-22 11:02:17 -07:00
Kohsuke Kawaguchi
cc84c867c0
I think our coverage is pretty good now
2015-03-22 11:01:02 -07:00
Kohsuke Kawaguchi
5bf252e12d
Added markdown support
...
Fixes issue #165
2015-03-22 11:00:57 -07:00
Kohsuke Kawaguchi
75512ff66a
Turns out the interning of GHUser wasn't working at all!
...
Fixes issue #166 .
2015-03-22 10:38:57 -07:00
Kohsuke Kawaguchi
6f4832476a
test case for #162
2015-03-22 10:21:16 -07:00
Kohsuke Kawaguchi
86b0d27299
added a method to read content.
...
This also fixes #162 .
2015-03-22 10:21:09 -07:00
Kohsuke Kawaguchi
5a8845f7f6
added a method to return the raw unprocessed body
2015-03-22 09:17:49 -07:00
Kohsuke Kawaguchi
709e47f32f
Added getDownloadUrl() method
2015-03-22 09:10:34 -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
72fc313135
improved error handling
2015-03-21 16:43:11 -07:00
Kohsuke Kawaguchi
39b32cee2e
Implemented /repositories
...
Fixed issue #157
2015-03-21 16:35:34 -07:00
Kohsuke Kawaguchi
bdcee7c052
Merge pull request #160 with some modifications
...
Strategy pattern is better for API rate limit handling as the current
behavior is quite valid for batch applications.
I'm not taking OkHttp version change so as not to introduce any unneeded
version requirement.
2015-03-17 07:44:36 -07:00
Kohsuke Kawaguchi
4093e53b5b
Implemented a strategy pattern to let the client determine API rate limit behavior.
...
The default is set to the backward compatible behaviour.
2015-03-17 07:43:51 -07:00
Kanstantsin Shautsou
a4c1c8de24
Provide reset date info for rate limit
2015-03-17 07:31:05 -07:00
Kohsuke Kawaguchi
7ed234c875
Standardize environment variable names
...
... that are more like typical environment variables. Reasonably unique and upper case.
Deprecate other methods. The point of a connector method is to make sure all clients of the same library uses the same environments, thereby eliminating the pain of setting credentials per app.
Allowing the app to specify the environment variable names defeat this purpose.
2015-03-15 13:17:57 -07:00
Kohsuke Kawaguchi
0359160ac6
Avoided using JDK6 method
2015-03-15 13:07:21 -07:00
Kohsuke Kawaguchi
2478dad9b5
Simplification
2015-03-15 13:04:50 -07:00
Kohsuke Kawaguchi
690292352b
Simplification
...
But this method is insane!
2015-03-15 13:02:28 -07:00
Kohsuke Kawaguchi
271d18cddc
simplification
2015-03-15 13:01:35 -07:00
Kohsuke Kawaguchi
e1465639e7
Merge pull request #156 from ashwanthkumar/endpoint-from-properties
...
Picking endpoint from the properties file and environment variables
2015-03-15 19:55:32 +00:00
Kohsuke Kawaguchi
ce7ca59339
Merge pull request #155
2015-03-15 12:49:30 -07:00
Kohsuke Kawaguchi
76610b25d7
Promoted GHTreeEntry to the top-level
2015-03-15 12:49:14 -07:00
Kohsuke Kawaguchi
dfce0bda7c
prefer list over raw array
2015-03-15 12:48:27 -07:00
Ashwanth Kumar
41c0dd9727
Fixing the indentation for enpointVariableName
2015-03-13 21:26:49 +05:30
Ashwanth Kumar
232c0389d3
Adding fromEnvironment to maintain backword compatibility
2015-03-13 21:26:19 +05:30
Oleg Nenashev
d95c8a4ab0
Merge pull request #161 from khoa-nd/master
...
Add method to get the list of languages using in repository
2015-03-13 17:58:01 +03: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
Kanstantsin Shautsou
0bf81f4fb9
Set credentials file according to documentation
2015-03-03 19:23:06 +03:00
Kohsuke Kawaguchi
dcc3b7f36b
[maven-release-plugin] prepare for next development iteration
2015-03-02 09:10:52 -08:00
Kohsuke Kawaguchi
d6722266f5
[maven-release-plugin] prepare release github-api-1.63
github-api-1.63
2015-03-02 09:10:49 -08: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
9aaf69cc9a
Added maling list
2015-03-02 08:14:15 -08:00
Ashwanth Kumar
a716a59489
Picking endpoint from the properties file and environment variables
...
Helps seemless switching between public github and enterprise without any code changes
2015-02-22 09:41:58 +05:30
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
aa43e265b7
[maven-release-plugin] prepare for next development iteration
2015-02-15 09:12:26 -08:00
Kohsuke Kawaguchi
67280951ff
[maven-release-plugin] prepare release github-api-1.62
github-api-1.62
2015-02-15 09:12:23 -08:00
Kohsuke Kawaguchi
c3a9f6f9f5
Fixed NPE.
...
issue #152
2015-02-15 09:06:04 -08: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
15163ffde0
Avoid multiple concurrent population
2015-02-15 08:56:57 -08:00
Kohsuke Kawaguchi
b898284821
Mentions thread-safety and state the goal.
...
Most of the objects are effectively immutable, so this should be an easy goal
Fixes issue #148 .
2015-02-15 08:56:29 -08:00
Kohsuke Kawaguchi
3bb7eb2e03
Added API to list contributors
2015-02-15 08:50:55 -08:00
Kohsuke Kawaguchi
11fcb9d456
Report the repository the push happened to
...
Fixes issue #144 .
2015-02-15 08:42:32 -08:00
Kohsuke Kawaguchi
29f826448a
Added a convenience method.
...
See: issue #134
2015-02-15 08:35:31 -08:00
Kohsuke Kawaguchi
a8cf4a7120
Added watch API support.
...
Fixes issue #130
2015-02-15 08:31:57 -08:00
Kohsuke Kawaguchi
60dce94a47
renamed to created RepositoryTest
2015-02-15 08:25:49 -08:00
Kohsuke Kawaguchi
c965b9cc24
follow up fix to the GHRepository.getApiTailUrl() change
2015-02-15 08:20:28 -08:00