Eli Perkins
881ecc161c
Use Octokit::Client for both .com and Enterprise
...
Octokit:EnterpriseAdminClient is only meant to be used for GHE admin
panel endpoints, such as Admin Stats, Management Console, etc.
This repairs GHE functionality by passing the API endpoint parameters
into Octokit::Client and letting it handle the rest.
2016-11-22 13:07:48 -05:00
Olle Jonsson
d4dfc99127
OctoFetcher: Moved repositories fail explicitly
2016-11-10 20:37:46 +01:00
Olle Jonsson
d122e00a1a
OctoFetcher#iterate_pages: extract method
2016-11-10 19:32:24 +01:00
Andrew Waage
134d10bab0
some rubocop updates
2016-10-20 11:49:02 -07:00
Andrew Waage
77ecafa978
using retriable gem
2016-10-19 14:30:43 -07:00
Andrew Waage
4f9cfdd337
spacing
2016-10-07 18:50:58 -07:00
Andrew Waage
7b8c667447
style
2016-10-07 18:37:36 -07:00
Andrew Waage
074b467251
added specs and refactor a bit
2016-10-07 16:58:38 -07:00
Andrew Waage
aa0d7e8d17
exponentially back off sleep if the Octokit::Forbidden error is seen
2016-10-07 16:28:02 -07:00
Olle Jonsson
e72edb0d83
Merge pull request #433 from olleolleolle/fix/reinstate-max-thread-at-25
...
On GitHub MAX_THREAD_NUMBER is 25
2016-10-06 00:36:16 +02:00
Olle Jonsson
8632bcf254
On GitHub MAX_THREAD_NUMBER is 25
2016-10-06 00:23:11 +02:00
Olle Jonsson
70aaba9aa2
OctoFetcher: inline helper function, drop class extensions
2016-10-05 23:12:40 +02:00
Olle Jonsson
828d639348
Spec: Test a url helper function ( #428 )
2016-10-01 19:23:48 +02:00
Olle Jonsson
d8b34169a3
Linting
2016-09-29 23:09:04 +02:00
Olle Jonsson
1177f09ca5
Drop Hashie dependency
2016-09-29 23:09:04 +02:00
Andrew Waage
2405b4fb3c
fixed bug in each_with_object
2016-09-29 23:09:04 +02:00
Andrew Waage
ef9867c122
fixing rubocop and removing original fetcher
2016-09-29 23:09:04 +02:00
Andrew Waage
0e948fb125
max thread 1
2016-09-29 23:09:04 +02:00
Andrew Waage
2cafff7abb
changing max threads to 4
2016-09-29 23:09:04 +02:00
Andrew Waage
41271b1ecb
cleaned up caching and added to options parser
2016-09-29 23:09:04 +02:00
Andrew Waage
a17931f3d4
fixing specs
2016-09-29 23:09:04 +02:00
Andrew Waage
b523a95a5f
one more place for stringify keys
2016-09-29 23:09:04 +02:00
Andrew Waage
7f7a7f957c
using strings instead of symbols
2016-09-29 23:09:04 +02:00
Andrew Waage
2347cc4220
added specs for the new octo_fetcher. Also had to refactor a bit to deal with hashes and arrays instead of objects
2016-09-29 23:09:04 +02:00
Andrew Waage
df64ab5ba1
first pass at caching. still WIP. Need to parameterize some things
2016-09-29 23:09:04 +02:00
Andrew Waage
df510ef183
fixed some bugs and how errors were rescued
2016-09-29 23:09:03 +02:00
Andrew Waage
52233f44f7
changed the rescued exceptions
2016-09-29 23:09:03 +02:00
Andrew Waage
61cd09f206
moved parse_url_for_vars to private method
2016-09-29 23:09:03 +02:00
Andrew Waage
53377388ee
clean up
2016-09-29 23:09:03 +02:00
Andrew Waage
a8e6c5406e
created a new fetcher with octokit. functionality should remain same
2016-09-29 23:09:03 +02:00