Commit Graph
380 Commits
Author SHA1 Message Date
Vincent Jacques f4c159d0d5 Merge remote-tracking branch 'forks/llimllib/master' 2013-01-29 18:47:54 +01:00
Vincent Jacques a280518835 Add a failing test for pull #133 2013-01-29 18:47:46 +01:00
Bill Mill 753cb0e78a fix failing get_page function
* if firstParams was None, PaginatedList was calling dict(None)
  which fails with a TypeError. If firstParams is None, just use
  an empty tuple, which dict() handles properly
2013-01-27 17:38:44 -05:00
Vincent Jacques c58d550b67 Prepare version 1.10.0 + pep8 2012-12-25 13:14:52 +01:00
Vincent Jacques 5edf5a120e Repository.get_issues_comments and Repository.get_pulls_comments (issue #126) 2012-12-25 13:02:15 +01:00
Vincent Jacques b8a3a12991 Add client_id and client_secret parameters to AuthenticatedUser.create_authorization (issue #125) 2012-12-25 12:19:19 +01:00
Vincent Jacques d8e4ece9a7 Complete "ref in Repository.get_contents and .get_readme" (pull #124)
Add documentation and automated tests
2012-12-25 11:50:54 +01:00
Vincent Jacques aac5eec5fd Merge branch 'develop' into topic/GetContentsWithRef 2012-12-25 11:30:34 +01:00
Christopher Gilbert 09df2f629c Added optional ref parameter for Repository.get_contents 2012-12-23 12:10:29 +00:00
Vincent Jacques 10e370bcea Add new test showing https git urls for gists (Issue #119) 2012-12-21 21:29:17 +01:00
Vincent Jacques 5b52f652e0 Github.get_gitignore_template[s] (issue #120) 2012-12-21 21:10:53 +01:00
Vincent Jacques 9a707bce30 Merge branch 'topic/GetRepoFromFullName' into develop
Conflicts:
	ReadMe.md
2012-12-21 20:40:16 +01:00
Vincent Jacques 64ec395298 Get repo from full name: tests, doc, fix param name (Pull #121) 2012-12-21 20:38:29 +01:00
Luke Cawood 84cc70e78c Add get_repo method to Github top level object 2012-12-19 14:32:31 +11:00
Vincent Jacques 2a653d081c Simplify 2012-11-22 21:07:19 +01:00
Vincent Jacques 1804d9a295 pep8 + readme 2012-11-21 21:49:15 +01:00
Vincent Jacques 87c92bdee5 Restore Python 2.5 2012-11-21 21:37:57 +01:00
Vincent Jacques 3c34837d75 Fixes for Python 3: setup.py install will call 2to3
We temporary loose coverage measurement... again!
2012-11-21 21:18:59 +01:00
Vincent Jacques 381a479d6a Restore Python 2.5 and 2.6 2012-11-21 20:45:45 +01:00
Vincent Jacques d8e50c7937 Small fixes => tests pass after 2to3 2012-11-21 20:30:35 +01:00
Vincent Jacques 9a03610f7b Use absolute imports. May help with Python 3 2012-11-21 20:13:12 +01:00
Vincent Jacques 065cd9123e Remove unused file 2012-11-21 19:06:24 +01:00
Vincent Jacques a6972c03c3 Fix assertion failure on big integers (issue #116) 2012-11-20 19:34:55 +01:00
Vincent Jacques 86033f8a62 Prepare version 1.9.0 2012-11-19 21:40:17 +01:00
Vincent Jacques 63a56e074a Add a customizable User-Agent (issue #109) 2012-11-19 21:18:43 +01:00
Vincent Jacques 94bdbe13a4 Change URL of gist comments (issue #113) 2012-11-19 20:59:58 +01:00
Vincent Jacques 3c07876a96 Refactor Requester 2012-11-19 20:44:14 +01:00
Vincent Jacques ef55a93d9a Refactor 2012-11-19 20:31:33 +01:00
Vincent Jacques 0038aea74e Add tests for pull #112 2012-11-19 20:27:00 +01:00
Vincent Jacques f6dc7b43fd Merge branch 'develop' into topic/UnauthenticatedRateLimitedRequests 2012-11-19 20:13:08 +01:00
Michael Woodworth 4f2030ad6c added client_id and client_secret auth option 2012-11-07 18:15:27 -05:00
Vincent Jacques f80df9e429 Add auto_init and gitignore_template to create_repo (issue #106)
http://developer.github.com/changes/2012-9-28-auto-init-for-repositories/
2012-11-03 10:06:52 +01:00
Vincent Jacques 47dee65b63 Implement default_branch in Repository.edit (issue #107)
See http://developer.github.com/changes/2012-10-24-set-default-branch/
2012-11-03 09:49:01 +01:00
Vincent Jacques 421a34b1ee Merge branch 'topic/PullRequest.assignee' into develop 2012-11-03 09:25:18 +01:00
Vincent Jacques 55dd10f7fd Documentation and tests for PullRequest.assignee (Pull #111) 2012-11-03 09:24:35 +01:00
Michael Stead a627c9d4ca Add 'assignee' attribute to PullRequest
It seems as though this may have been added to
the github API and was not being included in the
PullRequest object.
2012-11-02 21:13:18 -03:00
Zearin 4c6a70c24a Add encoding comment to source files
This is a minor thing.  It’s a convention, not a rule (obviously)—but it’s also a best practice.

Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques c0ccafa7ec Restore Python 2.5 and 2.6?
(This commit was 'push --force'd)
2012-10-28 18:51:06 +01:00
Vincent Jacques ca1e799826 Restore measure of test coverage 2012-10-28 15:53:03 +01:00
Vincent Jacques 1867f461ed Restore support of Python 2.5 2012-10-28 11:13:21 +01:00
Vincent Jacques d4679b330d pep8... 2012-10-28 10:29:19 +01:00
Vincent Jacques af98e6d1d4 Implement optional revert of #102 (issue #104) 2012-10-28 10:12:25 +01:00
Vincent Jacques cc6d7f1ec3 Fix test when run on Linux with source tree on case-insensitive filesystem 2012-10-28 09:54:07 +01:00
Vincent Jacques 1010c9af18 Prepend "/refs/" in Repository.get_git_ref (issue #102) 2012-10-07 13:03:42 +02:00
Vincent Jacques 431d9701d7 Follow pep8 2012-09-25 23:13:13 +02:00
Vincent Jacques a13ce33beb Improve logging (related to #88) 2012-09-25 22:56:43 +02:00
Vincent Jacques 7c60be9516 Fix Content-Type to allow '%' in json payload (issue #87) 2012-09-25 21:55:03 +02:00
Vincent Jacques 6ed11d0136 Add test showing error described in issue #87 2012-09-17 20:48:16 +02:00
Vincent Jacques 531c3f2d32 Improve comformance to pep8 (+dos2unix)
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques 2ad48a9206 Fix exception
As per commit f9dd406465, some tests ran after Logging.testLogging
fail with a unicode-related exception.
2012-09-17 20:30:28 +02:00