mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Prepare version 1.10.0 + pep8
This commit is contained in:
@@ -13,8 +13,8 @@ What's new?
|
||||
|
||||
[](https://travis-ci.org/jacquev6/PyGithub)
|
||||
|
||||
Next version
|
||||
------------
|
||||
[Version 1.10.0](https://github.com/jacquev6/PyGithub/issues?milestone=16&state=closed) (December 25th, 2012) (Christmas 2012 edition)
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
* Major improvement: support Python 3! PyGithub is automaticaly tested on [Travis](http://travis-ci.org/jacquev6/PyGithub) with versions 2.5, 2.6, 2.7, 3.1 and 3.2 of Python
|
||||
* Add a shortcut function `Github.get_repo` to get a repo directly from its full name. thank you [lwc](https://github.com/lwc) for the contribution
|
||||
@@ -22,27 +22,6 @@ Next version
|
||||
* Add the optional `ref` parameter to `Repository.get_contents` and `get_readme`. Thank you [fixxxeruk](https://github.com/fixxxeruk) for the contribution
|
||||
* Get comments for all issues and all pull requests on a repository (`GET /repos/:user/:repo/pulls/comments`: `Repository.get_pulls_comments` or `Repository.get_pulls_review_comments`; `GET /repos/:user/:repo/issues/comments`: `Repository.get_issues_comments`)
|
||||
|
||||
[Version 1.9.1](https://github.com/jacquev6/PyGithub/issues?milestone=17&state=closed) (November 20th, 2012)
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
|
||||
* Fix an assertion failure when integers returned by Github do not fit in a Python `int`
|
||||
|
||||
[Version 1.9.0](https://github.com/jacquev6/PyGithub/issues?milestone=14&state=closed) (November 19th, 2012)
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
|
||||
* You can now use your client_id and client_secret to increase rate limiting without authentication
|
||||
* You can now send a custom User-Agent
|
||||
* PullRequest now has its 'assignee' attribute, thank you [mstead](https://github.com/mstead)
|
||||
* Repository.edit now has 'default_branch' parameter
|
||||
* create_repo has 'auto_init' and 'gitignore_template' parameters
|
||||
* GistComment URL is changed (see http://developer.github.com/changes/2012-10-31-gist-comment-uris)
|
||||
* A typo in the readme was fixed by [tymofij](https://github.com/tymofij), thank you
|
||||
* Internal stuff:
|
||||
* Add encoding comment to Python files, thank you [Zearin](https://github.com/Zearin)
|
||||
* Restore support of Python 2.5
|
||||
* Restore coverage measurement in setup.py test
|
||||
* Small refactoring
|
||||
|
||||
Previous versions
|
||||
-----------------
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
[Version 1.10.0](https://github.com/jacquev6/PyGithub/issues?milestone=16&state=closed) (December 25th, 2012) (Christmas 2012 edition)
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
* Major improvement: support Python 3! PyGithub is automaticaly tested on [Travis](http://travis-ci.org/jacquev6/PyGithub) with versions 2.5, 2.6, 2.7, 3.1 and 3.2 of Python
|
||||
* Add a shortcut function `Github.get_repo` to get a repo directly from its full name. thank you [lwc](https://github.com/lwc) for the contribution
|
||||
* `Github.get_gitignore_templates` and `Github.get_gitignore_template` for APIs `/gitignore/templates`
|
||||
* Add the optional `ref` parameter to `Repository.get_contents` and `get_readme`. Thank you [fixxxeruk](https://github.com/fixxxeruk) for the contribution
|
||||
* Get comments for all issues and all pull requests on a repository (`GET /repos/:user/:repo/pulls/comments`: `Repository.get_pulls_comments` or `Repository.get_pulls_review_comments`; `GET /repos/:user/:repo/issues/comments`: `Repository.get_issues_comments`)
|
||||
|
||||
[Version 1.9.1](https://github.com/jacquev6/PyGithub/issues?milestone=17&state=closed) (November 20th, 2012)
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
import github.GithubObject
|
||||
|
||||
|
||||
class GitignoreTemplate(github.GithubObject.BasicGithubObject):
|
||||
@property
|
||||
def source(self):
|
||||
|
||||
@@ -106,4 +106,4 @@ class Github(Framework.TestCase):
|
||||
|
||||
t = self.g.get_gitignore_template("C++")
|
||||
self.assertEqual(t.name, "C++")
|
||||
self.assertEqual(t.source,"# Compiled Object files\n*.slo\n*.lo\n*.o\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n\n# Compiled Static libraries\n*.lai\n*.la\n*.a\n")
|
||||
self.assertEqual(t.source, "# Compiled Object files\n*.slo\n*.lo\n*.o\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n\n# Compiled Static libraries\n*.lai\n*.la\n*.a\n")
|
||||
|
||||
Reference in New Issue
Block a user