Commit Graph
176 Commits
Author SHA1 Message Date
Vincent Jacques abca7a026e pep8
This is strange, maybe Cygwin's version is stricter.
No time to investigate.
2014-05-04 12:54:05 -07:00
Vincent Jacques ca0132f6c7 Merge branch 'pr247' into develop 2014-05-04 12:46:16 -07:00
Vincent Jacques 12900865ed Prepare merge of #247
- refactor Gists tests
- re-add Gist.user to not break client code (value as been None for a while, but let's not remove the attribute)
2014-05-04 12:45:44 -07:00
Tyler Treat 0ddfaaca01 Implement support for getting repo by id
This allows the Github class to retrieve repos by either their full name
or id. If the user passes in an id for a repo which doesn't exist or in which
they don't have sufficient permissions, an UnknownObjectException will
be raised. This addresses issue #245.
2014-04-22 21:12:22 -05:00
Vincent Jacques 9f2ac570f8 Fix urlencoding for search (see #237)
Parameters are encoded in Requester => simply remove urllib.quote
Path needs to be encoded => change to urllib.quote_plus as in #237
2014-03-16 10:47:31 -07:00
Vincent Jacques e79dd520e3 Fix ContentFile.decoded_content for Python 3.0 to 3.2 2014-03-16 10:01:47 -07:00
Vincent Jacques 8bd6a4059e Fix tests for Python 3 2014-03-02 20:57:05 -08:00
Vincent Jacques 07c026742c Restore coverage for several previous PRs 2014-03-02 20:48:13 -08:00
Vincent Jacques 411262d289 Merge branch 'develop' 2013-12-23 19:32:28 -08:00
Vincent Jacques fefb13d721 Merge pull request #218 from farrd/master
Can now specify assignee as a string
2013-12-23 19:27:00 -08:00
Vincent Jacques 6767e75c52 Fix #216: handle 'Link' header
Headers with capitals are returned by http.client (replacing httplib in Python 3)
2013-12-23 19:25:11 -08:00
David Farr 031471d685 meeting coding conventions 2013-12-16 17:00:52 -08:00
David Farr ce3fb533e0 adding the tests for issue 214 2013-12-16 16:24:24 -08:00
Steve Brown 282278d19c Add initial version of getemojis 2013-12-01 23:19:58 +00:00
Vincent Jacques 3ff7e4843e Publish version 1.21.0 2013-11-17 14:07:01 -08:00
Vincent Jacques ebe6f01151 Fix tests for Python 2.5 and 2.6 2013-11-17 10:19:40 -08:00
Vincent Jacques c6671c6466 Finish .../stats/... (#203) 2013-11-17 10:16:59 -08:00
Vincent Jacques 1eba8a3f05 Fix copyright headers 2013-11-17 09:25:28 -08:00
Vincent Jacques a4910ac922 First step of implementation of Repository.get_stats_xxx (#203) 2013-11-10 18:09:48 -08:00
Vincent Jacques 1a22a22135 Fix tests broken by previous commit 2013-11-10 17:32:28 -08:00
Vincent Jacques 6c37e68901 Add 'author' to 'Repository.get_commits' (#204) 2013-11-10 16:52:46 -08:00
Vincent Jacques d626f21484 Implement equality comparison of CompletableGithubObject (#201) 2013-11-10 16:28:52 -08:00
Vincent Jacques 22f366b540 Accept strings as well as Label objects (#202)
This should be more generic, but it's a wig work to do it
everywhere. Let's keep that in mind for V2.
2013-11-10 15:45:33 -08:00
Vincent Jacques 51fa637514 Remove tests for deleted methods! 2013-10-20 19:17:38 -07:00
Vincent Jacques 5093cc255a Fix public/private in Repository.edit (#199) 2013-10-20 19:03:35 -07:00
Vincent Jacques d445be9a7f Fix (?) Travis for Python 2.5 and 2.6 2013-09-12 11:53:30 +02:00
Vincent Jacques 072bf24277 Raise exception only when user *accesses* an attribute with a bad value (#195) 2013-09-12 11:45:29 +02:00
Vincent Jacques f78311ab48 Github.get_hook (#196) 2013-09-11 23:24:28 +02:00
Vincent Jacques 8a83de380b Make Rate.reset an UTC datetime 2013-09-06 17:32:00 +02:00
Vincent Jacques c0dae31a97 Add many missing attributes 2013-09-06 17:14:59 +02:00
Vincent Jacques d102f358be Homogenize AllTests.py 2013-09-06 14:21:42 +02:00
Vincent Jacques a6b4165d6c ./manage.sh fix_headers 2013-09-06 11:39:12 +02:00
Vincent Jacques 8f4a309c0e Github.get_rate_limit 2013-09-06 11:38:20 +02:00
Vincent Jacques c819580ce8 Get status of Github API (#188) 2013-09-06 11:01:33 +02:00
Vincent Jacques dc610dfaac Small fixes and todos 2013-09-06 10:51:50 +02:00
Vincent Jacques 6cb149dce4 Adapt to Python 2.5 (again:)) 2013-09-05 17:53:31 +02:00
Vincent Jacques c412d49c9f Adapt to Python 2.5 2013-09-05 17:50:57 +02:00
Vincent Jacques 3fe9edf087 Implement object persistence
This follows my proposal for #193.
Largely inspired by AKFish's work.
2013-09-04 23:28:44 +02:00
AKFish 38b137fb37 Fix line ending 2013-08-24 07:21:41 +08:00
Vincent Jacques e084b51381 #193: Fix test coverage 2013-08-23 14:51:34 +02:00
Vincent Jacques bc3b819ac5 Separate tests for conditional requests (#193) 2013-08-23 09:50:51 +02:00
Vincent Jacques 0413c87c12 Remove _record_.py (#193)
According to https://github.com/jacquev6/PyGithub/commit/0f74e4389b3c0fa57a83083ecfbbf5c331022674#commitcomment-3919786
2013-08-23 09:39:19 +02:00
Vincent Jacques fb7325884e Fix remarks on #189 to #193 2013-08-23 09:32:47 +02:00
Vincent Jacques 0f74e4389b Review of #189: pep8, copyrights, style, remarks
For remarks, run: git grep "#189"
They are only my first thoughts while reviewing this pull request,
and should be reviewed themselves.
2013-08-22 12:12:38 +02:00
Vincent Jacques cc1bcd5f2d Merge branch 'develop' into topic/ConditionalRequest
Conflicts:
	.gitignore
	github/Requester.py
2013-08-22 11:01:51 +02:00
Vincent Jacques 8a2624e3a1 Merge branch 'topic/RememberHeaders' into develop (#192)
Conflicts:
	github/Issue.py
	github/MainClass.py
	github/PaginatedList.py
	github/Repository.py
	github/Requester.py
2013-08-22 10:30:14 +02:00
Vincent Jacques 5c475c7683 First review of #192 (pep8, headers... nothing important)
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
AKFish c7593e84c4 Add test case for conditional request 2013-08-22 10:20:10 +08:00
AKFish d457afd23c Add test record helper 2013-08-22 08:45:10 +08:00
Vincent Jacques 1c993d3a5f Github.get_repos (to get all public repositories) 2013-08-21 22:28:15 +02:00