Commit Graph
41 Commits
Author SHA1 Message Date
Vincent Jacques 680490a6d8 Merge branch 'develop' into topic/ExperimentOnDocumentation
Conflicts:
	ReadMe.md
	doc/ChangeLog.md
	doc/ReferenceOfApis.md
	doc/ReferenceOfClasses.md
	github/AuthenticatedUser.py
	github/Authorization.py
	github/CommitComment.py
	github/ContentFile.py
	github/Download.py
	github/Gist.py
	github/GistComment.py
	github/GitRef.py
	github/Github.py
	github/Hook.py
	github/Issue.py
	github/IssueComment.py
	github/Label.py
	github/Milestone.py
	github/PullRequest.py
	github/PullRequestComment.py
	github/Repository.py
	github/RepositoryKey.py
	github/Team.py
	github/UserKey.py
	setup.py
2013-02-16 19:57:13 +01:00
Vincent Jacques 04adab121e Implement Repository.get_dir_contents (issue #140) 2013-02-16 19:09:25 +01:00
Vincent Jacques 3cbc81551a Refactor: put form/multipart encoding in Requester
And remove my fucking credentials from git! (Password changed, btw)
2013-02-05 19:47:52 +01:00
Vincent Jacques e9be857089 Rename methods in Requester 2013-02-05 19:39:03 +01:00
Vincent Jacques f024950884 First implementation of PubSubHubbub (un)subscription (Issue #129)
This will need 'some' refactoring.
2013-02-05 19:23:20 +01:00
Vincent Jacques abf0867543 Generate some repetitive doc files 2012-12-29 08:47:23 +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 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 9a03610f7b Use absolute imports. May help with Python 3 2012-11-21 20:13:12 +01:00
Vincent Jacques a6972c03c3 Fix assertion failure on big integers (issue #116) 2012-11-20 19:34:55 +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
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 af98e6d1d4 Implement optional revert of #102 (issue #104) 2012-10-28 10:12:25 +01:00
Vincent Jacques 1010c9af18 Prepend "/refs/" in Repository.get_git_ref (issue #102) 2012-10-07 13:03:42 +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 ef403a1594 Do all paginated calls inside PaginatedList
This was already the case for Legacy.PaginatedList.

Doing it in PaginatedList.PaginatedList reduces the amount of
repeated code and will allow a generic solution for issue #77
2012-09-11 23:47:08 +02:00
Vincent Jacques 25a7696b76 Remove all old stuff related to code generation (issue #75) 2012-09-11 22:01:22 +02:00
Vincent Jacques 579f9bc915 Repository.merge (issue #69) 2012-09-08 14:30:06 +02:00
Vincent Jacques 1713d3fb0b Repository.get_branch 2012-09-08 14:08:20 +02:00
Vincent Jacques f109c644fd Repository.get_archive_link (issue #65) 2012-09-08 13:04:43 +02:00
Vincent Jacques f963e6ac91 Repository.get_readme and Repository.get_contents (issue #65) 2012-09-08 12:51:37 +02:00
Vincent Jacques 8335a8e4c8 Small no-impact code improvements 2012-09-08 11:18:56 +02:00
Vincent Jacques 3be2e82b40 Implement subscriptions (issue #70) 2012-09-08 01:54:51 +02:00
Vincent Jacques 5d67293676 Implement stargazers (issue #70) 2012-09-08 01:40:22 +02:00
Vincent Jacques 696e198c18 Implement assignees (issue #68) 2012-09-08 01:16:14 +02:00
Vincent Jacques 8f184d93af Reconciliate generated code with shipped code
(no impact on shipped code, only re-ordering)
2012-09-07 23:48:43 +02:00
Vincent Jacques b8ac1eaa14 Repository.delete 2012-08-23 09:36:47 +02:00
Steve English 7456c1e49b Specify a server url for Github.
Allows connection to GitHub Enterprise installs on local URLs.
2012-07-23 17:39:56 +01:00
Vincent Jacques f6a3490e7b GitAuthor.date is now a datetime (Issue #54) 2012-07-09 18:16:44 +02:00
Vincent Jacques d40bec470e Urlquote the keyword in legacy search APIs 2012-06-29 19:45:14 +01:00
Vincent Jacques df63f6be2c Implement legacy pagination 2012-06-29 18:10:24 +01:00
Vincent Jacques d8882e53ed Improve legacy APIs:
- add a legacy_ prefix (avoir future name clashes)
- add the language parameter to Github.legacy_search_repos
- prepare legacy pagination
2012-06-29 18:09:43 +01:00
Vincent Jacques 37c06ea4fc Convert legacy objects to v3 ones
Still needed:
- test completion of objects returned by legacy API
- implement legacy pagination
2012-06-29 07:44:10 +02:00
Vincent Jacques ed31abe6de Add 4 (failing) tests for legacy search API (issue #49)
Naïve implementation done in this commit will not work:
- pagination is managed another way
- users, repositories and issues do not have the standard format
2012-06-28 22:06:05 +01:00
Vincent Jacques bdad6a4612 Create documentation and method stubs for issue #49 (legacy search api) 2012-06-28 21:27:53 +01:00
Vincent Jacques efdaa8945d Fix tests after merging #50, and fix Repository.create_issue and .get_issues as well 2012-06-28 21:06:05 +01:00
Vincent Jacques 41c2b94f95 Add a copyright and license notice (issue #16) 2012-06-03 19:56:33 +01:00
Vincent Jacques d261b4ba46 Factorize checking of status 2012-06-03 11:33:37 +02:00
Vincent Jacques 9820c58477 Move generated code to 'github' instead of 'src/github' 2012-06-02 13:06:28 +01:00