Commit Graph
1001 Commits
Author SHA1 Message Date
Vincent Jacques 20107078d2 Fix copyrights (#181 #182 #184 #186 #187) 2013-08-21 16:08:02 +02:00
Vincent Jacques cbeea79a40 Update readme and doc for #184 2013-08-21 13:12:26 +02:00
Vincent Jacques 6a92d3ed63 Make PaginatedList.reversed return a new list (follow-up #184)
This will avoid surprises if both the list and its reversed version
are iterated.
2013-08-21 13:02:21 +02:00
Vincent Jacques 6dd8651faf Merge branch 'topic/ReversePagination' into develop 2013-08-21 12:29:20 +02:00
Vincent Jacques 7b5b3c8eb8 Update readme 2013-08-20 23:22:53 +02:00
Vincent Jacques ae3455c8d7 Add test coverage for #182 2013-08-20 23:17:19 +02:00
Vincent Jacques 07c0871281 Merge branch 'topic/HandleNonJsonResponses' into develop 2013-08-20 22:54:16 +02:00
Vincent Jacques 67a7daa22b Improve coverage for #187 2013-08-19 23:35:02 +02:00
Vincent Jacques d39c1ef099 Update readme 2013-08-19 14:36:36 +02:00
Vincent Jacques 20f1d36b80 Merge branch 'topic/AddParamsToRepositoryGetCommits' into develop 2013-08-19 14:27:10 +02:00
Vincent Jacques 629d012d8e Improve coverage 2013-08-19 14:26:39 +02:00
Vincent Jacques 9f7d251535 Update readme 2013-08-19 14:24:06 +02:00
Vincent Jacques 4b70da0789 Merge branch 'topic/ImproveRateLimiting' into develop 2013-08-19 14:13:12 +02:00
Vincent Jacques 34f45427da Be explicit about test coverage lacking in Notification.py 2013-08-19 14:07:35 +02:00
Vincent Jacques d4b84918ab Fix readme :-D 2013-08-19 14:02:16 +02:00
Vincent Jacques ee81044e5f Split manage.sh test 2013-08-19 13:58:59 +02:00
Vincent Jacques 45bdab1264 Merge branch 'topic/KnowYourParent' into develop 2013-08-19 13:55:41 +02:00
Vincent Jacques 9208b86b2b Update readme 2013-08-19 13:50:13 +02:00
Vincent Jacques df8df543c3 Merge branch 'develop' into topic/KnowYourParent 2013-08-15 08:20:01 +02:00
Adrian Petrescu e6520adb48 Adding since, until parameters to Repository.getCommits() 2013-08-06 21:14:39 -04:00
Ed Jackson 211e4633ee Minor enhancements to rate limiting information
If rate limiting information hasn't been retrieved already, it will be checked
rather than just assuming 5000 requests remaining of 5000.

Add an additional attribute `rate_limiting_resettime` to reflect github's new
X-RateLimit-Reset header. This integer value is a unix timestamp.

RateLimiting unit test updated accordingly.
2013-08-06 10:42:57 -05:00
davidbrai cb03b9e7d1 bugfix: returning real list instead of generator
Changed reversed(content) to content[::-1] in order to return
a real list and not a generator.
The code in PaginatedListBase.__grow does an iteration over
newElements when using `+=` and then returns them.
When using a generator, newElements would be empty when they are returned.
2013-08-03 16:49:10 +03:00
davidbrai 271f3f301e bug fix: empty nextUrl if no next/prev
Fixes a bug introduced in the previous commits.
Now testing a case where no lastUrl is returned.
Also fixing a regression where nextUrl wasn't erased properly.
2013-08-02 18:59:11 +03:00
davidbrai da6bd8c827 remove print #oops 2013-08-02 18:28:48 +03:00
davidbrai ef4cf44ebd support reverse iteration in PaginatedList
This uses the 'last' and 'prev' links in the HTTP headers.
The usage is repo.get_issues().reversed
2013-08-02 18:20:39 +03:00
Mark Roddy 304d387114 Handle github api response that isn't valid json 2013-07-19 20:24:50 -04:00
Vincent Jacques 0a1e1fa488 Merge branch 'topic/CompareToReferenceDoc' into develop 2013-07-17 09:42:18 +02:00
Vincent Jacques 51a9ef2439 Update readme with missing URLs 2013-07-17 09:41:16 +02:00
Vincent Jacques 7c49e48305 Fix links to ref in :calls: sections 2013-07-16 23:46:23 +02:00
Vincent Jacques 600f508343 Check links to ref in :calls: sections 2013-07-16 23:45:57 +02:00
Vincent Jacques 16cb2873e8 Generate doc/apis.rst instead of checking it 2013-07-16 22:19:22 +02:00
Vincent Jacques 8484260dc5 Fix our doc to match URLs described in Github API v3 ref doc 2013-07-16 10:32:57 +02:00
Vincent Jacques 84f3557f87 Ignore local clone of reference doc 2013-07-16 10:09:09 +02:00
Vincent Jacques d50031b0a0 Add todos 2013-07-14 11:21:17 +02:00
Vincent Jacques f145d9927e Draft a script comparing URLs called in PyGithub to Github API v3 reference 2013-07-14 11:12:59 +02:00
Vincent Jacques bdcd565a3f Clean up 2013-07-14 11:05:13 +02:00
Vincent Jacques 7cf3de86ca Merge branch 'topic/FixFileHeaders' into develop 2013-07-13 19:04:57 +02:00
Vincent Jacques 06a3d87098 Change source file header format 2013-07-13 19:03:53 +02:00
Vincent Jacques 56309b90f2 Run the script added in previous commit 2013-07-13 11:10:00 +02:00
Vincent Jacques a55486a809 Add a script to fix file headers 2013-07-13 11:09:14 +02:00
Vincent Jacques a20aba40b1 Restore Python 3 in manage.sh test 2013-07-09 14:18:41 +02:00
Vincent Jacques f8024054ee Separate 'setup.py sdist upload' in manage.sh 2013-07-07 18:15:04 +02:00
Vincent Jacques 72f8876112 Publish version 1.17.0 2013-07-07 17:52:43 +02:00
Vincent Jacques b8f0da7def Restore check and test in manage.sh publish 2013-07-07 17:45:11 +02:00
Vincent Jacques 837dff5677 Restore coverage 2013-07-07 17:44:47 +02:00
Vincent Jacques 792970e524 pep8 2013-07-07 17:30:24 +02:00
Vincent Jacques d78a0120ab Merge branch 'develop' 2013-07-07 17:27:50 +02:00
Vincent Jacques c67f5f9d72 Prepare version 1.17.0 2013-07-07 17:26:32 +02:00
Stuart Glaser 5b2954e471 Populates Issue's repository from URL when not in response. 2013-06-29 03:43:12 -07:00
Vincent Jacques d1f6f09680 Merge branch 'topic/CustomPerPageWithoutUrlParam' into develop 2013-06-19 12:39:56 +02:00