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
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
e2e2329301
Noting issue #60 that this method can return null
2015-02-15 07:16:18 -08:00
Kohsuke Kawaguchi
9afad71b0f
Newly created user object resets root to null.
...
Fixes issue #111 .
Test case from KostyaSha
2015-02-15 07:13:33 -08:00
Kohsuke Kawaguchi
7bbe0f7e8a
Allow the client to explicitly control proxy
...
Fixes issue #109 .
2015-02-15 07:02:50 -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
18696fca2d
[maven-release-plugin] prepare for next development iteration
2015-02-14 10:28:55 -08:00
Kohsuke Kawaguchi
c40100b6da
[maven-release-plugin] prepare release github-api-1.61
github-api-1.61
2015-02-14 10:28:51 -08:00
Kohsuke Kawaguchi
6396818740
MRELEASE-812 botched 1.60
2015-02-14 10:27:13 -08:00
Kohsuke Kawaguchi
6df5a0d47b
Added a test
github-api-1.60
2015-02-14 10:13:25 -08:00
Kohsuke Kawaguchi
15c18c5547
Improved the search API
2015-02-14 10:08:46 -08:00
Kohsuke Kawaguchi
4b6981c2e7
Added issue-search capability
2015-02-14 09:53:29 -08:00
Kohsuke Kawaguchi
1b4025300c
Merge remote-tracking branch 'origin/master'
2015-02-14 09:32:53 -08:00
Kohsuke Kawaguchi
983c871bff
More compilation error fix
2015-02-14 09:30:50 -08:00