Commit Graph
215 Commits
Author SHA1 Message Date
Nhomar Hernández [Vauxoo] 9d14335657 Merge pull request #469 from tmshn/support-multiple-assignees
Support multiple assignees on Issue & PullRequest
2017-01-17 12:53:48 -06:00
Sam Corbett 8ab9082cff Encode GithubObject repr values in utf-8 when using Python2 2016-11-30 10:15:51 +00:00
@tmshn 66430d7831 Added "add_to_assignees" & "remove_from_assignees" method to Issue object. 2016-11-27 21:31:30 +09:00
@tmshn c0de6be5ea Added "assignees" attribute to PullRequest object. 2016-11-22 20:03:30 +09:00
Benjamin Whitney ec633aab5e add html_url to GitRelease 2016-10-20 23:51:51 -04:00
@tmshn ba007dc8a8 Added "assignees" argument in Repository.create_issue() 2016-10-10 11:08:52 +09:00
@tmshn 14dd9f0850 Enhance support of "assignees" argument in Issue.edit() 2016-10-10 11:08:41 +09:00
@tmshn e0e5fdf9c0 Added "assignees" attribute to Issue object. 2016-10-09 01:22:03 +09:00
Jannis Gebauer 8b40674d1d Merge pull request #448 from PyGithub/contentfile-listing
Support directories in repo.get_contents
2016-10-05 11:39:42 +02:00
Jannis Gebauer 3a8edc771a add issue assignee param 2016-10-05 11:31:09 +02:00
mattjmorrison 5dddea78f0 Add ability to set permission for team repo
https://developer.github.com/v3/orgs/teams/#add-or-update-team-repository
2016-09-16 14:16:54 -05:00
Jannis Gebauer 0799753530 adds support for content dirs 2016-09-15 14:22:22 +02:00
Jannis Gebauer 78374b9d5e sort params and make them work on py3 2016-09-08 10:46:06 +02:00
Jannis Gebauer 8571d87c77 adds a nicer __repr__ 2016-09-08 10:25:48 +02:00
Jannis Gebauer 9134aa2b04 adds missing testfile corrections 2016-08-09 09:28:07 +02:00
Martijn Koster 70e30c5371 Patch issue 358 status context (#428)
* Add "context" to CommitStatus
* Add testcase for context in CommitStatus
2016-07-26 20:56:14 -04:00
Matt Babineau 3c6f99feb4 Adding "since" param to Issue.get_comments() (#426) 2016-07-21 11:19:13 -04:00
Jannis Gebauer 446313ea81 Merge branch 'master' of https://github.com/enix223/PyGithub into enix223-master 2016-07-18 17:15:19 +02:00
Peter Buckley cb0cf0a680 update doc url everywhere (#420) 2016-07-12 16:38:02 -04:00
humbug 8f8b455a35 Fix for pickling exception when deserializing GithubException.
See: https://bugs.python.org/issue9400

"Because CalledProcessError extends PyExc_BaseException, which defines a __reduce__ method, that special method cause the pickle load to call the exception type's __init__ method with packed self.args as arguments. So if a subclass of "Exception" needs to behave correctly in pickling, it should make self.args meet its __init__ method's function signature. "
2016-04-04 16:47:43 -07:00
Jimmy Zelinskie b81f531dba Merge pull request #382 from doctoryes/master
Add ability to check combined status.
2016-01-25 21:49:04 -05:00
John Eskew 5823ed7d42 Add:
- CommitCombinedStatus class
  - get_combined_status() to Commit class to return combined status
  - Add test for combined status.
2016-01-25 17:57:21 -05:00
Enix Yu 5b7f0bb6a8 fix python3 compatibility issue for using json/base64 2016-01-16 16:11:34 +08:00
Enix Yu 46895df13d change replay data for update file test case 2016-01-15 12:40:52 +08:00
Enix Yu 00777dbff5 fix python3 compatability error in test case 2016-01-15 12:37:32 +08:00
Enix Yu 4aaeb9e73b Add repo content create/update/delete testcase 2016-01-15 12:03:26 +08:00
Jimmy Zelinskie 65360b0d30 fix protect branch tests 2016-01-12 22:55:33 -05:00
Kyle Hornberg 737f0c3ebe Add branch protection endpoint 2016-01-07 08:13:20 -06:00
Enix Yu b83ffbf893 add content file create/update/delete api 2015-12-23 10:35:09 +08:00
Dan Vanderkam d31742a719 Add repo.get_stargazers_with_dates() 2015-10-14 15:19:39 -04:00
Christopher Wilcox 3f65a123fb Add test for #339 fix 2015-09-16 15:43:15 -07:00
Ed Holland ed466343d3 Fix style problems in new code 2015-04-24 10:18:00 +01:00
Ed Holland 906d8d8ed2 Add support for github releases. Includes methods for creating + getting releases, but no support for assests yet 2015-04-24 10:15:18 +01:00
Jimmy Zelinskie 75e0430421 Merge pull request #305 from Jucyio/develop
Add support to create Repository objects lazily in MainClass.
2015-04-02 12:01:25 -04:00
Uriel Corfa b4de74531a Add support to record tests using the oauth token instead of a
username/password. This lets people whose account uses 2-factor
authentication record tests.
2015-03-26 21:17:57 -07:00
Uriel Corfa 626d29c938 Add support to create Repository objects lazily in MainClass.
This lets users do the following without issuing an unnecessary request:

issues_of_my_repository = g.get_repo('PyGithub/PyGithub').get_issues()

Since the GithubObject layer handles laziness transparently, lazy
loading is enabled by default, and can be disabled via the `lazy`
kwarg. This does not affect any test except tests that pertain to
caching or laziness itself.
2015-03-26 20:56:27 -07:00
Eliot Walker 47a6edc880 Use more primitive asserts for Python 2.6 2015-02-06 14:32:02 -08:00
Eliot Walker a03f796f01 Fix paginated list handling of 204s 2015-02-06 13:47:14 -08:00
Vincent Jacques aadc286839 Work-around Issue278 2014-10-07 18:45:30 -07:00
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