[Python-modules-commits] [python-github3.py] 01/03: New upstream version 1.0.0a4

ChangZhuo Chen czchen at moszumanska.debian.org
Sun Oct 16 12:42:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

czchen pushed a commit to branch master
in repository python-github3.py.

commit a4949bf55916bf952da05b7fc3b88322ab8ed5c2
Author: ChangZhuo Chen (陳昌倬) <czchen at debian.org>
Date:   Sun Oct 16 19:32:43 2016 +0800

    New upstream version 1.0.0a4
---
 AUTHORS.rst                                        |  126 ++
 CONTRIBUTING.rst                                   |   67 +
 HISTORY.rst                                        |  492 +++++
 LATEST_VERSION_NOTES.rst                           |  523 +++++
 LICENSE                                            |   23 +
 MANIFEST.in                                        |   14 +
 PKG-INFO                                           |  632 +++++++
 README.rst                                         |   85 +
 docs/Makefile                                      |  130 ++
 docs/api.rst                                       |  176 ++
 docs/auths.rst                                     |   11 +
 docs/conf.py                                       |  239 +++
 docs/decorators.rst                                |   16 +
 docs/events.rst                                    |   37 +
 docs/examples/gist.rst                             |   63 +
 docs/examples/git.rst                              |   47 +
 docs/examples/github.rst                           |  171 ++
 docs/examples/issue.rst                            |   80 +
 docs/examples/iterators.rst                        |   71 +
 docs/examples/logging.rst                          |   34 +
 docs/examples/oauth.rst                            |   81 +
 docs/examples/octocat.rst                          |   65 +
 docs/examples/source/browser.py                    |   11 +
 docs/examples/source/logging_ex.py                 |   29 +
 docs/examples/source/octocat_say.py                |   12 +
 docs/examples/source/wrap_text.py                  |    6 +
 docs/examples/two_factor_auth.rst                  |   37 +
 docs/gists.rst                                     |   44 +
 docs/git.rst                                       |   61 +
 docs/github.rst                                    |   39 +
 docs/index.rst                                     |  255 +++
 docs/issues.rst                                    |   48 +
 docs/models.rst                                    |   30 +
 docs/notifications.rst                             |   19 +
 docs/orgs.rst                                      |   21 +
 docs/project_changelog.rst                         |    8 +
 docs/pulls.rst                                     |   33 +
 docs/repos.rst                                     |  153 ++
 docs/search_structs.rst                            |   26 +
 docs/structs.rst                                   |   29 +
 docs/testing.rst                                   |  267 +++
 docs/users.rst                                     |   34 +
 github3.py.egg-info/PKG-INFO                       |  632 +++++++
 github3.py.egg-info/SOURCES.txt                    |  509 +++++
 github3.py.egg-info/dependency_links.txt           |    1 +
 github3.py.egg-info/requires.txt                   |   14 +
 github3.py.egg-info/top_level.txt                  |    1 +
 github3/__about__.py                               |   16 +
 github3/__init__.py                                |   50 +
 github3/api.py                                     |  648 +++++++
 github3/auths.py                                   |  121 ++
 github3/decorators.py                              |  100 +
 github3/events.py                                  |  186 ++
 github3/exceptions.py                              |  127 ++
 github3/gists/__init__.py                          |   18 +
 github3/gists/comment.py                           |   42 +
 github3/gists/file.py                              |   46 +
 github3/gists/gist.py                              |  256 +++
 github3/gists/history.py                           |   67 +
 github3/git.py                                     |  242 +++
 github3/github.py                                  | 1766 +++++++++++++++++
 github3/issues/__init__.py                         |   37 +
 github3/issues/comment.py                          |   55 +
 github3/issues/event.py                            |   82 +
 github3/issues/issue.py                            |  339 ++++
 github3/issues/label.py                            |   58 +
 github3/issues/milestone.py                        |   99 +
 github3/licenses.py                                |   35 +
 github3/models.py                                  |  419 ++++
 github3/notifications.py                           |  149 ++
 github3/null.py                                    |   55 +
 github3/orgs.py                                    |  617 ++++++
 github3/pulls.py                                   |  447 +++++
 github3/repos/__init__.py                          |   12 +
 github3/repos/branch.py                            |   72 +
 github3/repos/comment.py                           |   69 +
 github3/repos/commit.py                            |  112 ++
 github3/repos/comparison.py                        |   84 +
 github3/repos/contents.py                          |  170 ++
 github3/repos/deployment.py                        |  125 ++
 github3/repos/hook.py                              |  110 ++
 github3/repos/issue_import.py                      |   35 +
 github3/repos/pages.py                             |   55 +
 github3/repos/release.py                           |  281 +++
 github3/repos/repo.py                              | 1998 ++++++++++++++++++++
 github3/repos/stats.py                             |   42 +
 github3/repos/status.py                            |   41 +
 github3/repos/tag.py                               |   34 +
 github3/search/__init__.py                         |    8 +
 github3/search/code.py                             |   29 +
 github3/search/issue.py                            |   19 +
 github3/search/repository.py                       |   19 +
 github3/search/user.py                             |   19 +
 github3/session.py                                 |  153 ++
 github3/structs.py                                 |  154 ++
 github3/users.py                                   |  498 +++++
 github3/utils.py                                   |  103 +
 images/gh3-logo.png                                |  Bin 0 -> 19098 bytes
 report_issue.py                                    |   77 +
 setup.cfg                                          |   16 +
 setup.py                                           |   97 +
 tests/__init__.py                                  |    0
 tests/cassettes/Asset_create_release_edit.json     |    1 +
 tests/cassettes/Asset_delete.json                  |    1 +
 tests/cassettes/Asset_download.json                |    1 +
 .../Asset_download_when_authenticated.json         |    1 +
 tests/cassettes/Asset_edit.json                    |    1 +
 tests/cassettes/Authorization_add_scopes.json      |    1 +
 tests/cassettes/Authorization_delete.json          |    1 +
 tests/cassettes/Authorization_remove_scopes.json   |    1 +
 tests/cassettes/Authorization_replace_scopes.json  |    1 +
 tests/cassettes/Branch_protect.json                |    1 +
 tests/cassettes/Branch_unprotect.json              |    1 +
 tests/cassettes/Comparison_diff.json               |    1 +
 tests/cassettes/Comparison_patch.json              |    1 +
 tests/cassettes/Contents_delete.json               |    1 +
 tests/cassettes/Contents_update.json               |    1 +
 tests/cassettes/Deployment_create_status.json      |    1 +
 tests/cassettes/Deployment_statuses.json           |    1 +
 tests/cassettes/Gist_comments.json                 |    1 +
 tests/cassettes/Gist_commits.json                  |    1 +
 tests/cassettes/Gist_create_comment.json           |    1 +
 tests/cassettes/Gist_delete.json                   |    1 +
 tests/cassettes/Gist_edit.json                     |    1 +
 tests/cassettes/Gist_files.json                    |    1 +
 tests/cassettes/Gist_fork.json                     |    1 +
 tests/cassettes/Gist_forks.json                    |    1 +
 tests/cassettes/Gist_is_starred.json               |    1 +
 tests/cassettes/Gist_star.json                     |    1 +
 tests/cassettes/Gist_unstar.json                   |    1 +
 .../cassettes/GitHubCore_ratelimit_remaining.json  |    1 +
 tests/cassettes/GitHubEnterprise_admin_stats.json  |    1 +
 tests/cassettes/GitHubIterator_catch_None.json     |    1 +
 tests/cassettes/GitHubIterator_catch_etags.json    |    1 +
 .../cassettes/GitHubIterator_count_reaches_0.json  |    1 +
 tests/cassettes/GitHubIterator_next.json           |    1 +
 tests/cassettes/GitHubIterator_resets_etag.json    |    1 +
 .../GitHubSession_two_factor_authentication.json   |    1 +
 tests/cassettes/GitHubStatus_api.json              |    1 +
 tests/cassettes/GitHubStatus_last_message.json     |    1 +
 tests/cassettes/GitHubStatus_messages.json         |    1 +
 tests/cassettes/GitHubStatus_status.json           |    1 +
 tests/cassettes/GitHub_add_email_addresses.json    |    1 +
 tests/cassettes/GitHub_all_notifications.json      |    1 +
 tests/cassettes/GitHub_all_organizations.json      |    1 +
 tests/cassettes/GitHub_authorize.json              |    1 +
 tests/cassettes/GitHub_create_delete_key.json      |    1 +
 tests/cassettes/GitHub_create_gist.json            |    1 +
 tests/cassettes/GitHub_create_issue.json           |    1 +
 tests/cassettes/GitHub_create_repository.json      |    1 +
 tests/cassettes/GitHub_delete_email_addresses.json |    1 +
 tests/cassettes/GitHub_emojis.json                 |    1 +
 tests/cassettes/GitHub_feeds.json                  |    1 +
 tests/cassettes/GitHub_followers_auth.json         |    1 +
 tests/cassettes/GitHub_followers_of.json           |    1 +
 tests/cassettes/GitHub_gist.json                   |    1 +
 tests/cassettes/GitHub_gitignore_template.json     |    1 +
 tests/cassettes/GitHub_gitignore_templates.json    |    1 +
 tests/cassettes/GitHub_is_following.json           |    1 +
 tests/cassettes/GitHub_is_starred.json             |    1 +
 tests/cassettes/GitHub_issue.json                  |    1 +
 tests/cassettes/GitHub_iter_all_repos.json         |    1 +
 tests/cassettes/GitHub_iter_all_users.json         |    1 +
 tests/cassettes/GitHub_iter_events.json            |    1 +
 tests/cassettes/GitHub_iter_user_teams.json        |    1 +
 tests/cassettes/GitHub_key.json                    |    1 +
 tests/cassettes/GitHub_license.json                |    1 +
 tests/cassettes/GitHub_licenses.json               |    1 +
 tests/cassettes/GitHub_markdown.json               |    1 +
 tests/cassettes/GitHub_me.json                     |    1 +
 tests/cassettes/GitHub_meta.json                   |    1 +
 .../GitHub_non_existent_gitignore_template.json    |    1 +
 tests/cassettes/GitHub_octocat.json                |    1 +
 tests/cassettes/GitHub_organization.json           |    1 +
 tests/cassettes/GitHub_pubsubhubbub.json           |    1 +
 tests/cassettes/GitHub_pull_request.json           |    1 +
 tests/cassettes/GitHub_rate_limit.json             |    1 +
 tests/cassettes/GitHub_repositories.json           |    1 +
 tests/cassettes/GitHub_repositories_by.json        |    1 +
 tests/cassettes/GitHub_repository.json             |    1 +
 tests/cassettes/GitHub_repository_with_id.json     |    1 +
 tests/cassettes/GitHub_search_code.json            |    1 +
 .../GitHub_search_code_with_text_match.json        |    1 +
 tests/cassettes/GitHub_search_issues.json          |    1 +
 tests/cassettes/GitHub_search_repositories.json    |    1 +
 .../GitHub_search_repositories_text_match.json     |    1 +
 tests/cassettes/GitHub_search_users.json           |    1 +
 .../GitHub_search_users_with_text_match.json       |    1 +
 tests/cassettes/GitHub_star.json                   |    1 +
 tests/cassettes/GitHub_unfollow.json               |    1 +
 tests/cassettes/GitHub_unread_notifications.json   |    1 +
 tests/cassettes/GitHub_unstar.json                 |    1 +
 tests/cassettes/GitHub_update_me.json              |    1 +
 tests/cassettes/GitHub_user.json                   |    1 +
 tests/cassettes/GitHub_user_with_id.json           |    1 +
 tests/cassettes/GitHub_zen.json                    |    1 +
 tests/cassettes/Hook_delete.json                   |    1 +
 tests/cassettes/Hook_edit.json                     |    1 +
 tests/cassettes/Hook_ping.json                     |    1 +
 tests/cassettes/Hook_test.json                     |    1 +
 tests/cassettes/Issue_add_labels.json              |    1 +
 tests/cassettes/Issue_assign.json                  |    1 +
 tests/cassettes/Issue_closed.json                  |    1 +
 tests/cassettes/Issue_comment.json                 |    1 +
 tests/cassettes/Issue_comments.json                |    1 +
 tests/cassettes/Issue_create_comment.json          |    1 +
 tests/cassettes/Issue_edit.json                    |    1 +
 tests/cassettes/Issue_events.json                  |    1 +
 tests/cassettes/Issue_labels.json                  |    1 +
 tests/cassettes/Issue_lock.json                    |    1 +
 tests/cassettes/Issue_pull_request.json            |    1 +
 tests/cassettes/Issue_remove_all_labels.json       |    1 +
 tests/cassettes/Issue_remove_label.json            |    1 +
 tests/cassettes/Issue_reopen.json                  |    1 +
 tests/cassettes/Issue_replace_labels.json          |    1 +
 tests/cassettes/Issue_unlock.json                  |    1 +
 tests/cassettes/Key_delete.json                    |    1 +
 tests/cassettes/Key_update.json                    |    1 +
 tests/cassettes/Label_delete.json                  |    1 +
 tests/cassettes/Label_update.json                  |    1 +
 tests/cassettes/Milestone_delete.json              |    1 +
 tests/cassettes/Milestone_labels.json              |    1 +
 tests/cassettes/Milestone_update.json              |    1 +
 tests/cassettes/Organization_add_member.json       |    1 +
 tests/cassettes/Organization_add_repository.json   |    1 +
 tests/cassettes/Organization_conceal_member.json   |    1 +
 .../cassettes/Organization_create_repository.json  |    1 +
 tests/cassettes/Organization_create_team.json      |    1 +
 tests/cassettes/Organization_edit.json             |    1 +
 tests/cassettes/Organization_events.json           |    1 +
 tests/cassettes/Organization_is_member.json        |    1 +
 tests/cassettes/Organization_is_public_member.json |    1 +
 tests/cassettes/Organization_members.json          |    1 +
 tests/cassettes/Organization_members_filters.json  |  118 ++
 tests/cassettes/Organization_members_roles.json    |  118 ++
 tests/cassettes/Organization_public_members.json   |    1 +
 tests/cassettes/Organization_publicize_member.json |    1 +
 tests/cassettes/Organization_remove_member.json    |    1 +
 .../cassettes/Organization_remove_repository.json  |    1 +
 tests/cassettes/Organization_repositories.json     |    1 +
 tests/cassettes/Organization_team.json             |    1 +
 tests/cassettes/Organization_teams.json            |    1 +
 tests/cassettes/PullFile_contents.json             |    1 +
 tests/cassettes/PullFile_download.json             |    1 +
 tests/cassettes/PullRequest_close.json             |    1 +
 tests/cassettes/PullRequest_commits.json           |    1 +
 tests/cassettes/PullRequest_create_comment.json    |    1 +
 .../PullRequest_create_review_comment.json         |    1 +
 tests/cassettes/PullRequest_diff.json              |    1 +
 tests/cassettes/PullRequest_files.json             |    1 +
 tests/cassettes/PullRequest_is_merged.json         |    1 +
 tests/cassettes/PullRequest_issue.json             |    1 +
 tests/cassettes/PullRequest_issue_comments.json    |    1 +
 tests/cassettes/PullRequest_patch.json             |    1 +
 tests/cassettes/PullRequest_reopen.json            |    1 +
 tests/cassettes/PullRequest_reply.json             |    1 +
 tests/cassettes/PullRequest_review_comments.json   |    1 +
 tests/cassettes/PullRequest_update.json            |    1 +
 tests/cassettes/Reference_update.json              |    1 +
 tests/cassettes/Release_archive.json               |    1 +
 tests/cassettes/Release_asset.json                 |    1 +
 tests/cassettes/Release_assets.json                |    1 +
 tests/cassettes/Release_create_release.json        |    1 +
 .../Release_create_release_upload_asset.json       |    1 +
 tests/cassettes/Release_delete.json                |    1 +
 tests/cassettes/Release_edit.json                  |    1 +
 tests/cassettes/Release_upload_asset.json          |    1 +
 .../Release_upload_asset_with_a_label.json         |    1 +
 tests/cassettes/RepoComment_delete.json            |    1 +
 tests/cassettes/RepoComment_update.json            |    1 +
 tests/cassettes/RepoCommit_comments.json           |    1 +
 tests/cassettes/RepoCommit_diff.json               |    1 +
 tests/cassettes/RepoCommit_patch.json              |    1 +
 tests/cassettes/RepoCommit_statuses.json           |    1 +
 .../RepositoryPages_latest_pages_build.json        |    1 +
 tests/cassettes/RepositoryPages_pages.json         |    1 +
 tests/cassettes/RepositoryPages_pages_builds.json  |    1 +
 tests/cassettes/Repository_add_collaborator.json   |    1 +
 tests/cassettes/Repository_assignees.json          |    1 +
 tests/cassettes/Repository_blob.json               |    1 +
 tests/cassettes/Repository_branch.json             |    1 +
 tests/cassettes/Repository_branches.json           |    1 +
 tests/cassettes/Repository_branches_protected.json |    1 +
 tests/cassettes/Repository_code_frequency.json     |    1 +
 tests/cassettes/Repository_collaborators.json      |    1 +
 tests/cassettes/Repository_comments.json           |    1 +
 tests/cassettes/Repository_commit_activity.json    |    1 +
 tests/cassettes/Repository_commit_comment.json     |    1 +
 tests/cassettes/Repository_commits.json            |    1 +
 tests/cassettes/Repository_compare_commits.json    |    1 +
 .../Repository_contributor_statistics.json         |    1 +
 tests/cassettes/Repository_contributors.json       |    1 +
 tests/cassettes/Repository_create_blob.json        |    1 +
 tests/cassettes/Repository_create_comment.json     |    1 +
 tests/cassettes/Repository_create_commit.json      |    1 +
 ...ository_create_commit_with_empty_committer.json |    1 +
 tests/cassettes/Repository_create_deployment.json  |    1 +
 tests/cassettes/Repository_create_empty_blob.json  |    1 +
 tests/cassettes/Repository_create_file.json        |    1 +
 tests/cassettes/Repository_create_fork.json        |    1 +
 tests/cassettes/Repository_create_hook.json        |    1 +
 tests/cassettes/Repository_create_issue.json       |    1 +
 tests/cassettes/Repository_create_key.json         |    1 +
 tests/cassettes/Repository_create_label.json       |    1 +
 tests/cassettes/Repository_create_milestone.json   |    1 +
 tests/cassettes/Repository_create_pull.json        |    1 +
 .../Repository_create_pull_from_issue.json         |    1 +
 tests/cassettes/Repository_create_release.json     |    1 +
 tests/cassettes/Repository_create_status.json      |    1 +
 tests/cassettes/Repository_create_tag.json         |    1 +
 tests/cassettes/Repository_delete.json             |    1 +
 tests/cassettes/Repository_delete_key.json         |    1 +
 .../cassettes/Repository_delete_subscription.json  |    1 +
 tests/cassettes/Repository_deployment.json         |    1 +
 tests/cassettes/Repository_deployments.json        |    1 +
 tests/cassettes/Repository_directory_contents.json |    1 +
 tests/cassettes/Repository_edit.json               |    1 +
 tests/cassettes/Repository_events.json             |    1 +
 tests/cassettes/Repository_file_contents.json      |    1 +
 tests/cassettes/Repository_forks.json              |    1 +
 tests/cassettes/Repository_git_commit.json         |    1 +
 tests/cassettes/Repository_hook.json               |    1 +
 tests/cassettes/Repository_hooks.json              |    1 +
 tests/cassettes/Repository_ignore.json             |    1 +
 tests/cassettes/Repository_import_issue.json       |    1 +
 .../Repository_import_issue_with_comments.json     |    1 +
 tests/cassettes/Repository_imported_issue.json     |    1 +
 tests/cassettes/Repository_imported_issues.json    |    1 +
 tests/cassettes/Repository_invalid_refs.json       |    1 +
 tests/cassettes/Repository_is_assignee.json        |    1 +
 tests/cassettes/Repository_is_collaborator.json    |    1 +
 tests/cassettes/Repository_issue.json              |    1 +
 tests/cassettes/Repository_issue_events.json       |    1 +
 tests/cassettes/Repository_issues_ascending.json   |    1 +
 tests/cassettes/Repository_issues_state_all.json   |    1 +
 tests/cassettes/Repository_key.json                |    1 +
 tests/cassettes/Repository_keys.json               |    1 +
 tests/cassettes/Repository_label.json              |    1 +
 tests/cassettes/Repository_labels.json             |    1 +
 tests/cassettes/Repository_languages.json          |    1 +
 tests/cassettes/Repository_latest_release.json     |    1 +
 tests/cassettes/Repository_license.json            |    1 +
 tests/cassettes/Repository_mark_notifications.json |    1 +
 tests/cassettes/Repository_merge.json              |    1 +
 tests/cassettes/Repository_milestone.json          |    1 +
 tests/cassettes/Repository_milestones.json         |    1 +
 tests/cassettes/Repository_network_events.json     |    1 +
 tests/cassettes/Repository_notifications.json      |    1 +
 tests/cassettes/Repository_pull_request.json       |    1 +
 tests/cassettes/Repository_pull_requests.json      |    1 +
 .../Repository_pull_requests_accept_sort.json      |    1 +
 tests/cassettes/Repository_readme.json             |    1 +
 tests/cassettes/Repository_ref.json                |    1 +
 tests/cassettes/Repository_refs.json               |    1 +
 tests/cassettes/Repository_release.json            |    1 +
 tests/cassettes/Repository_release_from_tag.json   |    1 +
 tests/cassettes/Repository_releases.json           |    1 +
 .../cassettes/Repository_remove_collaborator.json  |    1 +
 tests/cassettes/Repository_stargazers.json         |    1 +
 tests/cassettes/Repository_statuses.json           |    1 +
 tests/cassettes/Repository_subscribe.json          |    1 +
 tests/cassettes/Repository_subscribers.json        |    1 +
 tests/cassettes/Repository_subscription.json       |    1 +
 tests/cassettes/Repository_tag.json                |    1 +
 tests/cassettes/Repository_tags.json               |    1 +
 tests/cassettes/Repository_teams.json              |    1 +
 tests/cassettes/Repository_tree.json               |    1 +
 .../cassettes/Repository_weekly_commit_count.json  |    1 +
 tests/cassettes/ReviewComment_reply.json           |    1 +
 tests/cassettes/Subscription_set.json              |    1 +
 tests/cassettes/Team_add_member.json               |    1 +
 tests/cassettes/Team_add_repository.json           |    1 +
 tests/cassettes/Team_delete.json                   |    1 +
 tests/cassettes/Team_edit.json                     |    1 +
 tests/cassettes/Team_has_repository.json           |    1 +
 tests/cassettes/Team_is_member.json                |    1 +
 tests/cassettes/Team_members.json                  |    1 +
 tests/cassettes/Team_members_roles.json            |  175 ++
 tests/cassettes/Team_remove_member.json            |    1 +
 tests/cassettes/Team_remove_repository.json        |    1 +
 tests/cassettes/Team_repositories.json             |    1 +
 tests/cassettes/Thread_subscription.json           |    1 +
 tests/cassettes/Tree_recurse.json                  |    1 +
 tests/cassettes/User_events.json                   |    1 +
 tests/cassettes/User_followers.json                |    1 +
 tests/cassettes/User_following.json                |    1 +
 tests/cassettes/User_is_assignee_on.json           |    1 +
 tests/cassettes/User_is_following.json             |    1 +
 tests/cassettes/User_iter_orgs.json                |    1 +
 tests/cassettes/User_keys.json                     |    1 +
 tests/cassettes/User_organization_events.json      |    1 +
 tests/cassettes/User_organizations.json            |    1 +
 tests/cassettes/User_orgs.json                     |    1 +
 tests/cassettes/User_received_events.json          |    1 +
 tests/cassettes/User_starred_repositories.json     |    1 +
 tests/cassettes/User_subscriptions.json            |    1 +
 tests/conftest.py                                  |   44 +
 tests/fixtures.py                                  |   22 +
 tests/integration/__init__.py                      |    0
 tests/integration/helper.py                        |   69 +
 tests/integration/test_api.py                      |   54 +
 tests/integration/test_auths.py                    |   45 +
 tests/integration/test_gists.py                    |  133 ++
 tests/integration/test_git.py                      |   37 +
 tests/integration/test_github.py                   |  620 ++++++
 tests/integration/test_github_core.py              |    8 +
 tests/integration/test_issue.py                    |  229 +++
 tests/integration/test_issues_milestone.py         |   35 +
 tests/integration/test_notifications.py            |   38 +
 tests/integration/test_orgs.py                     |  234 +++
 tests/integration/test_orgs_team.py                |  120 ++
 tests/integration/test_pulls.py                    |  172 ++
 tests/integration/test_repos_branch.py             |   54 +
 tests/integration/test_repos_commit.py             |   35 +
 tests/integration/test_repos_deployment.py         |   43 +
 tests/integration/test_repos_pages.py              |   39 +
 tests/integration/test_repos_release.py            |  180 ++
 tests/integration/test_repos_repo.py               | 1233 ++++++++++++
 tests/integration/test_session.py                  |   21 +
 tests/integration/test_structs.py                  |   50 +
 tests/integration/test_users.py                    |  155 ++
 tests/json/archive                                 |    1 +
 tests/json/asset                                   |    1 +
 tests/json/authorization                           |    1 +
 tests/json/blob                                    |    1 +
 tests/json/branch                                  |   91 +
 tests/json/code_frequency                          |    1 +
 tests/json/commit                                  |    1 +
 tests/json/commit_activity                         |    1 +
 tests/json/commit_comment                          |    1 +
 tests/json/comparison                              |    1 +
 tests/json/contents                                |    1 +
 tests/json/contributor_statistics                  |    1 +
 tests/json/create_content                          |    1 +
 tests/json/emails                                  |    1 +
 tests/json/event                                   |    1 +
 tests/json/gist                                    |    1 +
 tests/json/git_commit                              |    1 +
 tests/json/hook                                    |    1 +
 tests/json/issue                                   |    1 +
 tests/json/issue_comment                           |    1 +
 tests/json/issue_event                             |    1 +
 tests/json/key                                     |    1 +
 tests/json/label                                   |    1 +
 tests/json/language                                |    1 +
 tests/json/legacy_email                            |    1 +
 tests/json/legacy_issue                            |    1 +
 tests/json/legacy_repo                             |    1 +
 tests/json/legacy_user                             |    1 +
 tests/json/merge                                   |    1 +
 tests/json/meta                                    |    1 +
 tests/json/milestone                               |    1 +
 tests/json/notification                            |    1 +
 tests/json/org                                     |    1 +
 tests/json/pull                                    |    1 +
 tests/json/pull19                                  |  299 +++
 tests/json/pull19_comment                          |   27 +
 tests/json/pull_enterprise                         |  299 +++
 tests/json/pull_file                               |    1 +
 tests/json/pull_request                            |    1 +
 tests/json/ratelimit                               |    1 +
 tests/json/readme                                  |    1 +
 tests/json/ref                                     |    1 +
 tests/json/refresh_fixtures.py                     |   87 +
 tests/json/release                                 |    1 +
 tests/json/repo                                    |    1 +
 tests/json/repo_comment                            |    1 +
 tests/json/review_comment                          |    1 +
 tests/json/status                                  |    1 +
 tests/json/subscription                            |    1 +
 tests/json/tag                                     |    1 +
 tests/json/team                                    |    1 +
 tests/json/template                                |    1 +
 tests/json/templates                               |    1 +
 tests/json/tree                                    |    1 +
 tests/json/user                                    |    1 +
 tests/json/utf8_user                               |    1 +
 tests/json/weekly_commit_count                     |    1 +
 tests/nbtest.py                                    |   17 +
 tests/test_github.py                               |   17 +
 tests/test_repos.py                                |   82 +
 tests/unit/__init__.py                             |    0
 tests/unit/helper.py                               |  265 +++
 tests/unit/test_api.py                             |  179 ++
 tests/unit/test_auths.py                           |   81 +
 tests/unit/test_events.py                          |  117 ++
 tests/unit/test_gists.py                           |  247 +++
 tests/unit/test_git.py                             |   88 +
 tests/unit/test_github.py                          | 1417 ++++++++++++++
 tests/unit/test_github_enterprise.py               |  102 +
 tests/unit/test_github_session.py                  |  253 +++
 tests/unit/test_issues_issue.py                    |  451 +++++
 tests/unit/test_issues_milestone.py                |  115 ++
 tests/unit/test_licenses.py                        |   37 +
 tests/unit/test_models.py                          |  180 ++
 tests/unit/test_notifications.py                   |   60 +
 tests/unit/test_null.py                            |   62 +
 tests/unit/test_orgs.py                            |  333 ++++
 tests/unit/test_orgs_team.py                       |  170 ++
 tests/unit/test_pulls.py                           |  264 +++
 tests/unit/test_repos_commit.py                    |   39 +
 tests/unit/test_repos_deployment.py                |   32 +
 tests/unit/test_repos_release.py                   |  159 ++
 tests/unit/test_repos_repo.py                      | 1905 +++++++++++++++++++
 tests/unit/test_structs.py                         |   63 +
 tests/unit/test_subscription.py                    |   45 +
 tests/unit/test_users.py                           |  275 +++
 tests/unit/test_utils.py                           |   90 +
 tests/utils.py                                     |  127 ++
 tox.ini                                            |   64 +
 510 files changed, 28574 insertions(+)

diff --git a/AUTHORS.rst b/AUTHORS.rst
new file mode 100644
index 0000000..c962ab7
--- /dev/null
+++ b/AUTHORS.rst
@@ -0,0 +1,126 @@
+Development Lead
+----------------
+
+- Ian Cordasco <graffatcolmingov at gmail.com>
+
+- Matt Chung (@itsmemattchung)
+
+Maintainer(s)
+`````````````
+
+- Barry Morrison (@esacteksab)
+
+- Matt Chung (@itsmemattchung)
+
+Requests
+````````
+
+- Kenneth Reitz <me at kennethreitz.com>
+
+Design Advice
+-------------
+
+- Kenneth Reitz
+
+Contributors
+------------
+
+- Dominik Dabrowski (@doda)
+
+- Dave Lacey (@davelxmos)
+
+- James Sullivan (@jsullivanlive)
+
+- Dennis Kaarsemaker (@seveas)
+
+- Hong Minhee (@dahlia)
+
+- Paul Swartz (@paulswartz)
+
+- Kristian Glass (@doismellburning)
+
+- Alejandro Gómez (@alejandrogomez)
+
+- Tom Parker (@palfrey)
+
+- Malcolm Box (@mbox)
+
+- Tom Petr (@tpetr)
+
+- David Pachura (@detenebrator)
+
+- Barry Morrison (@esacteksab)
+
+- James Pearson (@xiongchiamiov)
+
+- INADA Naoki (@methane)
+
+- Matias Bordese (@matiasb)
+
+- Aleksey Ostapenko (@kbakba)
+
+- Vincent Driessen (@nvie)
+
+- Philip Chimento (@ptomato)
+
+- Benjamin Gilbert (@bgilbert)
+
+- Daniel Johnson (@danielj7)
+
+- David Moss (@damoss007)
+
+- John Barbuto (@jbarbuto)
+
+- Nikolay Bryskin (@nikicat)
+
+- Tomi Äijö (@tomiaijo)
+
+- jnothman (@jnothman)
+
+- Cameron Davidson-Pilon (@CamDavidsonPilon)
+
+- Alex Couper (@alexcouper)
+
+- Marc Abramowitz (@msabramo)
+
+- Adrian Moisey (@adrianmoisey)
+
+- Bryce Boe (@bboe)
+
+- Ryan Weald (@rweald)
+
+- Lars Holm Nielsen (@larshankat)
+
+- Ryan Pitts (@ryanpitts)
+
+- Jürgen Hermann (@jhermann)
+
+- Antoine Giraudmaillet (@antoine-g)
+
+- Paulus Schoutsen (@balloob)
+
+- Nolan Bruabker (@nrb)
+
+- Marcin Wielgoszewski (@mwielgoszewski)
+
+- Omri Harel (@omriharel)
+
+- Noel Lee (@noellee)
+
+- Sourav Singh(@souravsingh)
+
+- Matt Chung (@itsmemattchung)
+
+- Martin Ek (@ekmartin)
+
+- Chris Thompson (@notyetsecure)
+
+- Bastien Gandouet (@b4stien)
+
+- Usman Ehtesham Gul (@ueg1990)
+
+- Derek Gustafson (@degustaf)
+
+- Christophe Lecointe (@christophelec)
+
+- Abhijeet Kasurde (@akasurde)
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
new file mode 100644
index 0000000..590b203
--- /dev/null
+++ b/CONTRIBUTING.rst
@@ -0,0 +1,67 @@
+Guidelines for Contributing to github3.py
+=========================================
+
+#. Read the README_
+
+#. Please do **not** use the issue tracker for questions.
+
+#. Please use GitHub's search feature to look for already reported issues 
+   before reporting your own.
+
+#. Regardless of the magnitude your pull request (a couple lines to a couple 
+   hundred lines), please add your name to the AUTHORS.rst_ file under the 
+   heading Contributors.
+
+#. There is a label for issues that should be minor and should be a good way
+   to become acquainted with the project. The easy_ label is the over-arching 
+   way to determine which issues you can dig into without a great deal of 
+   prior knowledge. Most of these issues have a `Pair with Ian`_ label which 
+   means that if you would like, I (@sigmavirus24) will happily pair program 
+   with you to solve the issue.
+
+#. If you're fixing a bug, please write a regression test. All the tests are 
+   structured like so::
+
+    tests/
+    - test_<module_name>.py
+        + Test<ClassName>
+          - def test_function_or_attribute
+
+   Please do not add your regression test to an existing test, but create a 
+   new one. You can use the form ``test_issue_<number>``. In a docstring add 
+   the link and a short description of the regression issue. For example, if 
+   you found a bug in the class ``Issue``, write your test in the file 
+   ``test_issues.py`` in the class ``TestIssue``. You can place the new test 
+   in any order, e.g., below all the existing tests, near a related one, &c.
+
+#. If you're adding a new section of the API that does not already exist, 
+   please also add tests to the test suite.
+
+#. If you're adding additional functionality beyond what the API covers, 
+   please open an issue request first and of course add tests to cover the 
+   functionality in the event it is accepted.
+
+   Also, please be certain to add docstrings_ to these functions. Follow the 
+   example of other docstrings.
+
+#. In case you haven't caught on, for anything you add, write tests.
+
+#. Be cordial_. Seriously, anyone who isn't cordial will be sent packing, 
+   regardless of the value of their contributions. I will not tolerate some 
+   contributors creating a hostile environment for others.
+
+#. Rebase your fork/branch if needed and possible before submitting a pull 
+   request. This makes my life easier. If you honestly have no idea what I'm 
+   talking about, don't worry, I'll take care of it.
+
+#. Please follow pep-0008_. Feel free to also use flake8_ to help.
+
+.. links
+.. _README: ./README.rst
+.. _easy: https://github.com/sigmavirus24/github3.py/issues?labels=Easy&page=1&state=open
+.. _Pair with Ian: https://github.com/sigmavirus24/github3.py/issues?labels=Pair+with+Ian&page=1&state=open
+.. _AUTHORS.rst: ./AUTHORS.rst
+.. _cordial: http://www.kennethreitz.org/essays/be-cordial-or-be-on-your-way
+.. _pep-0008: http://www.python.org/dev/peps/pep-0008/
+.. _docstrings: http://www.python.org/dev/peps/pep-0257/
+.. _flake8: http://pypi.python.org/pypi/flake8
diff --git a/HISTORY.rst b/HISTORY.rst
new file mode 100644
index 0000000..b9e003f
--- /dev/null
+++ b/HISTORY.rst
@@ -0,0 +1,492 @@
+.. vim: set tw=100
+
+0.9.3: 2014-11-04
+~~~~~~~~~~~~~~~~~
+
+- Backport of ``PullRequest#create_review_comment`` by Adrian Moisey
+
+- Backport of ``PullRequest#review_comments`` by Adrian Moisey
+
+- Backport of a fix that allows authenticated users to download Release
+  Assets. Original bug reported by Eugene Fidelin in issue #288.
+
+- Documentation typo fix by Marc Abramowitz
+
+0.9.2: 2014-10-05
+~~~~~~~~~~~~~~~~~
+
+- Updates for `new team management`_ API changes
+
+  - Add ``Team#invite``, ``Team#membership_for``, and
+    ``Team#revoke_membership``
+
+  - Deprecate ``Team#add_member``, ``Team#remove_member``, and
+    ``Organization#add_member``.
+
+  - Update payload handler for ``TeamAddEvent``.
+
+.. _new team management:
+    https://developer.github.com/changes/2014-09-23-one-more-week-before-the-add-team-member-api-breaking-change/
+
+0.9.1: 2014-08-10
+~~~~~~~~~~~~~~~~~
+
+- Correct Repository attribute ``fork_count`` should be ``forks_count``
+
+0.9.0: 2014-05-04
+~~~~~~~~~~~~~~~~~
+
+- Add Deployments API
+
+- Add Pages API
+
+- Add support so applications can revoke a `single authorization`_ or `all
+  authorizations`_ created by the application
+
+- Add the ability for users to ping_ hooks
+
+- Allow users to list a `Repository's collaborators`_
+
+- Allow users to create an empty blob on a Repository
+
+- Update how users can list issues and pull requests. See:
+  http://developer.github.com/changes/2014-02-28-issue-and-pull-query-enhancements/
+  This includes breaking changes to ``Repository#iter_pulls``.
+
+- Update methods to handle the `pagination changes`_.
+
+- Fix typo `stargarzers_url`_
+
+- Add ``assets`` attribute to ``Release`` object.
+
+- Fix wrong argument to ``Organization#create_team`` (``permissions`` versus 
+  ``permission``)
+
+- Fix Issue Search Result's representation and initialization
+
+- Fix Repository Search Result's initialization
+
+- Allow users to pass a two-factor authentication callback to 
+  ``GitHub#authorize``.
+
+.. _single authorization: https://github3py.readthedocs.org/en/latest/github.html#github3.github.GitHub.revoke_authorization
+.. _all authorizations: https://github3py.readthedocs.org/en/latest/github.html#github3.github.GitHub.revoke_authorizations
+.. _ping: https://github3py.readthedocs.org/en/latest/repos.html?highlight=ping#github3.repos.hook.Hook.ping
+.. _Repository's collaborators: https://github3py.readthedocs.org/en/latest/repos.html#github3.repos.repo.Repository.iter_collaborators
+.. _pagination changes: https://developer.github.com/changes/2014-03-18-paginating-method-changes/
+.. _stargarzers_url: https://github.com/sigmavirus24/github3.py/pull/240
+
+0.8.2: 2014-02-11
+~~~~~~~~~~~~~~~~~
+
+- Fix bug in ``GitHub#search_users`` (and ``github3.search_users``). Thanks
+  @abesto
+
+- Expose the stargazers count for repositories. Thanks @seveas
+
+0.8.1: 2014-01-26
+~~~~~~~~~~~~~~~~~
+
+- Add documentation for using Two Factor Authentication
+
+- Fix oversight where ``github3.login`` could not be used for 2FA
+
+0.8.0: 2014-01-03
+~~~~~~~~~~~~~~~~~
+
+- **Breaking Change** Remove legacy search API
+
+  I realize this should have been scheduled for 1.0 but I was a bit eager to 
+  remove this.
+
+- Use Betamax to start recording integration tests
+
+- Add support for Releases API
+
+- Add support for Feeds API
+
+- Add support for Two-Factor Authentication via the API
+
+- Add support for New Search API
+
+  - Add ``github3.search_code``, ``github3.search_issues``, 
+    ``github3.search_repositories``, ``github3.search_users``
+
+  - Add ``GitHub#search_code``, ``GitHub#search_issues``, 
+    ``GitHub#search_repositories``, ``GitHub#search_users``
+
+- Switch to requests >= 2.0
+
+- Totally remove all references to the Downloads API
+
+- Fix bug in ``Repository#update_file`` where ``branch`` was not being sent to
+  the API. Thanks @tpetr!
+
+- Add ``GitHub#rate_limit`` to return all of the information from the
+  ``/rate_limit`` endpoint.
+
+- Catch missing attributes -- ``diff_hunk``, ``original_commit_id`` -- on 
+  ``ReviewComment``.
+
+- Add support for the Emojis endpoint
+
+- Note deprecation of a few object attributes
+
+- Add support for the ``ReleaseEvent``
+
+- Add ``GitHub#iter_user_teams`` to return all of the teams the authenticated 
+  user belongs to
+
+0.7.1: 2013-09-30
+~~~~~~~~~~~~~~~~~
+
+- Add dependency on uritemplate.py_ to add URITemplates to different classes.  
+  See the documentation for attributes which are templates.
+
+- Fixed issue trying to parse ``html_url`` on Pull Requests courtesy of 
+  @rogerhu.
+
+- Remove ``expecter`` as a test dependency courtesy of @esacteksab.
+
+- Fixed issue #141 trying to find an Event that doesn't exist.
+
+.. _uritemplate.py: https://github.com/sigmavirus24/uritemplate
+
+0.7.0: 2013-05-19
+~~~~~~~~~~~~~~~~~
+
+- Fix ``Issue.close``, ``Issue.reopen``, and ``Issue.assign``. (Issue #106)
+
+- Add ``check_authorization`` to the ``GitHub class`` to cover the `new part 
+  of the API <http://developer.github.com/v3/oauth/#check-an-authorization>`_.
+
+- Add ``create_file``, ``update_file``, ``delete_file``, 
+  ``iter_contributor_statistics``, ``iter_commit_activity``, 
+  ``iter_code_frequency`` and ``weekly_commit_count`` to the ``Repository`` 
+  object.
+
+- Add ``update`` and ``delete`` methods to the ``Contents`` object.
+
+- Add ``is_following`` to the ``User`` object.
+
+- Add ``head``, ``base`` parameters to ``Repository.iter_pulls``.
+
+- The signature of ``Hook.edit`` has changed since that endpoint has changed 
+  as well. See: 
+  github/developer.github.com at b95f291a47954154a6a8cd7c2296cdda9b610164
+
+- ``github3.GitHub`` can now be used as a context manager, e.g.,
+  ::
+
+       with github.GitHub() as gh:
+           u = gh.user('sigmavirus24')
+
+0.6.1: 2013-04-06
+~~~~~~~~~~~~~~~~~
+
+- Add equality for labels courtesy of Alejandro Gomez (@alejandrogomez)
+
+0.6.0: 2013-04-05
+~~~~~~~~~~~~~~~~~
+
+- Add ``sort`` and ``order`` parameters to ``github3.GitHub.search_users`` and 
+  ``github3.GitHub.search_repos``.
+
+- Add ``iter_commits`` to ``github3.gists.Gist`` as a means of re-requesting 
+  just the history from GitHub and iterating over it.
+
+- Add minimal logging (e.g., ``logging.getLogger('github3')``)
+
+- Re-organize the library a bit. (Split up repos.py, issues.py, gists.py and a 
+  few others into sub-modules for my sanity.)
+
+- Calling ``refresh(True)`` on a ``github3.structs.GitHubIterator`` actually 
+  works as expected now.
+
+- API ``iter_`` methods now accept the ``etag`` argument as the
+  ``GitHub.iter_`` methods do.
+
+- Make ``github3.octocat`` and ``github3.github.GitHub.octocat`` both support
+  sending messages to make the Octocat say things. (Think cowsay)
+
+- Remove vendored dependency of PySO8601.
+
+- Split ``GitHub.iter_repos`` into ``GitHub.iter_user_repos`` and 
+  ``GitHub.iter_repos``. As a consequence ``github3.iter_repos`` is now 
+  ``github3.iter_user_repos``
+
+- ``IssueComment.update`` was corrected to match GitHub's documentation
+
+- ``github3.login`` now accepts an optional ``url`` parameter for users of the 
+  ``GitHubEnterprise`` API, courtesy of Kristian Glass (@doismellburning)
+
+- Several classes now allow their instances to be compared with ``==`` and 
+  ``!=``. In most cases this will check the unique id provided by GitHub. In 
+  others, it will check SHAs and any other guaranteed immutable and unique 
+  attribute. The class doc-strings all have information about this and details 
+  about how equivalence is determined.
+
+0.5.3: 2013-03-19
+~~~~~~~~~~~~~~~~~
+
+- Add missing optional parameter to Repository.contents. Thanks @tpetr
+
+0.5.2: 2013-03-02
+~~~~~~~~~~~~~~~~~
+
+- Stop trying to decode the byte strings returned by ``b64decode``. Fixes #72
+
+0.5.1: 2013-02-21
+~~~~~~~~~~~~~~~~~
+
+- Hot fix an issue when a user doesn't have a real name set
+
+0.5: 2013-02-16
+~~~~~~~~~~~~~~~
+
+- 100% (mock) test coverage
+
+- Add support for the announced_ meta_ endpoint.
+
+- Add support for conditional refreshing, e.g.,
+
+  ::
+
+      import github3
+
+      u = github3.user('sigmavirus24')
+
+      # some time later
+
+      u.refresh()  # Will ALWAYS send a GET request and lower your ratelimit
+      u.refresh(True)  # Will send the GET with a header such that if nothing
+                       # has changed, it will not count against your ratelimit
+                       # otherwise you'll get the updated user object.
+
+- Add support for conditional iterables. What this means is that you can do:
+
+  ::
+
+      import github3
+
... 31470 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-github3.py.git



More information about the Python-modules-commits mailing list