Douglas Barbosa Alexandre
9437b8a2e4
Import GitHub repositories respecting the API rate limit
...
While Octokit auto pagination set the page size to the maximum 100, and
seek to not overstep the rate limit. When the rate limit is reached its
raises an exception, and stop doing new requests.
Here we use a custom pattern for traversing large lists, so we can
check if we’ll reach the rate limit and wait the API to reset the rate
limit before making new requests.
2016-06-06 12:12:18 -03:00
..
2016-05-08 15:33:34 -06:00
2016-04-06 19:56:34 +02:00
2016-05-23 13:10:42 -04:00
2016-05-30 11:37:14 +02:00
2016-05-22 23:31:33 +02:00
2016-05-31 19:33:46 -03:00
2016-05-17 13:23:17 +01:00
2016-05-10 11:10:51 +02:00
2016-03-30 12:50:19 +02:00
2015-11-30 18:36:34 +02:00
2016-06-06 12:12:18 -03:00
2016-05-31 19:33:46 -03:00
2015-12-15 00:53:52 -02:00
2016-05-10 11:10:51 +02:00
2014-09-29 12:05:17 +03:00
2016-06-03 10:34:20 +02:00
2015-12-04 12:32:13 +01:00
2016-01-14 11:30:28 +01:00
2016-05-15 19:47:41 +01:00
2016-06-01 08:45:14 +02:00
2016-04-11 18:01:51 -05:00
2016-04-11 17:25:18 -05:00
2016-05-19 01:35:04 -05:00
2015-11-24 10:57:21 +01:00
2016-04-21 14:49:15 +02:00
2015-11-18 13:31:18 +01:00
2015-05-13 09:41:55 +02:00
2016-04-27 22:12:55 -07:00
2014-10-06 00:14:46 +02:00
2016-02-12 17:20:59 +01:00
2014-10-30 18:29:18 +02:00
2016-06-01 12:10:08 +02:00
2015-02-24 15:07:24 +01:00
2016-02-11 18:30:05 -05:00
2016-01-07 10:45:39 -08:00
2015-12-02 18:48:39 +01:00
2015-08-26 11:30:38 -07:00
2014-06-26 23:24:17 +03:00
2016-05-16 12:22:17 +01:00
2015-04-09 15:34:55 -04:00
2016-06-01 12:55:00 +02:00
2016-05-10 18:23:25 -06:00
2016-03-08 23:49:30 -05:00
2016-04-13 13:12:05 +03:00
2015-11-03 17:11:09 -05:00
2015-02-02 20:36:54 -08:00
2015-06-26 15:55:56 +02:00
2016-05-09 01:17:14 -07:00
2014-10-06 00:14:46 +02:00
2016-03-17 00:24:12 -03:00
2015-11-03 17:11:09 -05:00
2016-02-05 08:39:44 +01:00
2016-05-20 15:58:36 -05:00
2015-06-10 01:31:27 -04:00
2016-04-21 12:47:32 -05:00
2016-04-28 21:28:39 +02:00
2015-04-24 12:29:36 +02:00
2015-09-01 08:50:20 -07:00
2015-09-08 20:23:01 -04:00
2016-03-25 13:05:15 +01:00
2014-10-31 17:22:16 -07:00
2016-06-03 10:59:43 +02:00
2016-05-26 13:58:01 +02:00
2014-10-06 00:14:46 +02:00
2016-05-10 18:23:25 -06:00
2016-04-20 22:42:52 +02:00
2016-04-13 16:07:04 +02:00
2016-02-12 17:20:59 +01:00
2015-03-24 18:35:57 -07:00
2014-10-06 00:14:46 +02:00
2016-05-31 21:32:53 +03:00
2016-04-29 09:26:52 +02:00
2015-12-28 18:50:29 -02:00
2016-05-13 04:46:56 -03:00
2016-05-26 17:14:00 +02:00
2016-05-08 22:50:30 +02:00
2016-04-06 13:47:05 +02:00
2016-04-01 11:13:48 +02:00
2016-03-17 20:55:59 -03:00
2016-06-03 10:37:09 -06:00
2015-11-09 15:54:13 +01:00
2014-10-06 00:14:46 +02:00
2016-03-11 15:25:22 -05:00
2015-08-26 11:30:38 -07:00
2015-11-03 17:11:09 -05:00
2015-10-14 18:50:35 +03:00
2016-05-13 22:42:07 +02:00
2016-05-23 09:11:21 +02:00
2016-03-10 12:37:14 +01:00
2015-05-03 00:43:46 +03:00
2013-06-06 10:10:51 +09:00
2016-05-25 10:57:00 -04:00
2016-02-11 18:10:14 +01:00