Commit Graph
726 Commits
Author SHA1 Message Date
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
Dustin Spicuzza 397a74d19d add support for the head parameter in Repository.get_pulls 2016-02-02 16:31:29 -05: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
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
Aron Culotta a06b5ecfb2 fix misspelling: https://github.com/PyGithub/PyGithub/issues/363 2015-12-15 17:21:05 -06:00
Aaron Levine 71593a8348 Adding base parameter to get_pulls() method. 2015-11-30 09:44:02 -07:00
Kevin Lewandowski 70bcb6d0c1 add support for the direction parameter in Repository.get_pulls 2015-11-16 23:08:31 -08:00
Jimmy Zelinskie f37d1febe1 Merge pull request #354 from jayfk/creator-parameter
Add creator to get_issues
2015-11-09 12:09:57 -05:00
Jay ca9af4f421 added creator parameter 2015-11-09 14:00:33 +01:00
Matt Babineau a3dc763ba5 Update CommitStatus.py 2015-11-03 15:50:59 -05:00
Dan Vanderkam d31742a719 Add repo.get_stargazers_with_dates() 2015-10-14 15:19:39 -04:00
Dan Vanderkam fb6f3cb3a2 Thread headers through PaginatedList 2015-10-14 11:07:13 -04:00
Joseph Rawson 3cf0a44691 support long integers in get_repo 2015-10-03 11:16:54 -05:00
Christopher Wilcox 3f65a123fb Add test for #339 fix 2015-09-16 15:43:15 -07:00
Christopher Wilcox f532deea3f Fixes #339 by allowing strings in the labels list. 2015-09-15 12:46:32 -07:00
Raja Reddy Karri 3aee448428 Fixing https://github.com/PyGithub/PyGithub/issues/335.
Issue.remove_from_labels fails when the label passed is a string with whitespace characters
2015-08-27 15:49:35 +05:30
Sebastien Besson 763491310a Add trailing underscore to filter_ and use {} as the default dict 2015-08-18 20:43:27 +01:00
Sebastien Besson 31f4b1bd62 Add support for filter/role options in Organization.get_members() 2015-08-18 11:57:25 +01:00
edhollandAL e99ab3caf7 Merge pull request #1 from edhollandAL/develop
Freshen master with changes from develop
2015-05-08 14:57:59 +01: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
Brian Eugley 9be7506f15 code improvement 2015-04-15 15:50:30 -04:00
Brian Eugley f035591d70 Get proxy info from http_proxy first, HTTP_PROXY second 2015-04-15 15:23:17 -04:00
Brian Eugley 7c79c1b80b Connect through a proxy with authentication 2015-04-15 13:56:46 -04: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
Jimmy Zelinskie ca13204dd5 Merge pull request #290 from ndahlquist/develop
Change InputGitAuthor to reflect that time is an optional parameter.
2015-03-18 15:20:30 -04:00
Jimmy Zelinskie 5e34bfeb2e Merge pull request #294 from dpocock/dpocock-accept
Allow access to preview versions of the server-side API
2015-03-18 15:16:45 -04:00
Jimmy Zelinskie 5036d4bcb2 Merge pull request #284 from xorel/develop
Add team membership add call
2015-03-18 15:13:21 -04:00
Jimmy Zelinskie 5cc9b1e193 Merge pull request #295 from ewalker11/develop
Fix paginated list handling of 204 No Content
2015-03-03 12:51:04 -05:00
Jimmy Zelinskie 4e7d9ac138 Merge pull request #292 from jondb/master
Added sort option to get_pulls.
2015-03-03 12:48:24 -05: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
Daniel Pocock cd8fe788e4 Allow access to preview versions of the server-side API 2015-02-03 11:56:13 +01:00
Jonathan Debonis adb9e07a30 Added sort option to get_pulls. 2015-01-29 16:08:35 -08:00
Nic Dahlquist 3bd3f0c807 Change InputGitAuthor to reflect that time is an optional parameter. 2014-12-26 19:22:32 -08:00
Andy Casey 7d4cda5497 Post context information when creating status
as per https://developer.github.com/v3/repos/statuses/#create-a-status
2014-12-24 00:18:17 +11:00
Jimmy Zelinskie 33b9ce9658 Remove URL scheme assertion.
This part of the URL isn't used and can be wrong due to bugs in GitHub
Enterprise.
2014-12-15 15:00:40 -05:00
Jan Orel 16d0a8bf55 Add team membership call 2014-11-10 14:01:07 +01:00
Vincent Jacques aadc286839 Work-around Issue278 2014-10-07 18:45:30 -07:00
Vincent Jacques b402e5ddd5 Merge commit 'pull/275/head' 2014-09-28 13:45:52 -07:00
Tomas Radej cff1a422c2 Capitalization of the 2FA OTP request header 2014-09-24 11:49:55 +02:00
Andrew Scheller 959bc27f2d documentation typos 2014-05-27 09:44:35 +01: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
Vincent Jacques 580528876a Acknowledge some lack of test coverage 2014-05-04 12:18:00 -07:00