Commit Graph
143 Commits
Author SHA1 Message Date
Andrew Smith 45d18436fd Add method to get latest release of a repository (#609) 2018-01-16 13:57:24 -08:00
Simon 6bc804dc15 ♻️ Fix all pep8 coding conventions 2018-01-16 13:41:02 -08:00
Hugo 6735be4933 Drop support for EOL Python 2.5-2.6 and 3.2-3.3 (#674) 2017-12-20 22:52:00 -08:00
Andreas Lutro 35333e0390 Add Repository.archived property (#657) 2017-12-10 14:52:23 -08:00
Jimmy Zelinskie dbc6f5abf0 Add read_only attribute to Deploy Keys (#570) 2017-12-07 20:11:10 -08:00
Ben Firshman 317079efff Fix uploading binary files on Python 3 (#621)
There is a bit of logic for Python 2 that detects if you're
uploading string or bytes, but this is missing for Python 3.
2017-11-27 15:26:18 -08:00
Chris McBride 52449649a4 Add ability to access github Release Asset API. (#525)
* Add ability to access github Release Asset API.
See: https://developer.github.com/v3/repos/releases
2017-11-27 10:01:03 -06:00
Jason White 554c1ab124 Quote path for /contents API (#614)
This allows spaces and other special characters in the file path.

Fixes #613.
2017-11-22 12:57:31 -08:00
Jannis Gebauer 4c64b28920 added repository collaborator invitation 2017-07-10 13:14:09 +02:00
fukatani 01d4d5fc69 fix repository 2017-01-17 12:55:27 -06:00
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
Sylvus 4304ccddec Updated documentation 2016-11-27 15:02:16 +01:00
Sylvus a2da7f94c7 Added a subscribers count field 2016-11-27 15:00:19 +01:00
@tmshn ba007dc8a8 Added "assignees" argument in Repository.create_issue() 2016-10-10 11:08:52 +09:00
Jannis Gebauer 0799753530 adds support for content dirs 2016-09-15 14:22:22 +02:00
Jannis Gebauer 8571d87c77 adds a nicer __repr__ 2016-09-08 10:25:48 +02:00
fukatani 987bca00fa Fix small typo 2016-08-14 14:35:19 +09:00
ghfan 5404030119 change file content encoding to support unicode(like chinese), py2 2016-08-10 20:33:20 +08:00
Jannis Gebauer 0f29a53e17 fixed file API return values
The returned objects were not correctly populated, leaving us with
empty objects.

This is now fixed.
2016-07-29 09:54:31 +02:00
Jannis Gebauer 7390827c6c assert by str and unicode to make it more py3 friendly 2016-07-28 09:29:06 +02: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
Per Øyvind Karlsen 8985368e29 fix wrong expectance on requestJsonAndCheck() returning {} if no data
When there's no data, requestJsonAndCheck(), or rather
__structuredFromJson() returns None rather than {}.
As both None & {} evaluates to false, 'if not data:' will give the
correct behaviour regardless of returning {} or None.
2016-06-30 16:53:35 +02:00
Enix Yu 8bb765a2da fix update/create/delete file api return value issue 2016-06-27 10:04:17 +08:00
Enix Yu a7929ac5c4 fix typo 2016-06-27 09:56:39 +08:00
Enix Yu 19f4d0af30 Merge branch 'master' of https://github.com/enix223/PyGithub 2016-06-27 09:53:29 +08:00
Enix Yu a0a4511f29 fix update/delete/create content return value invalid issue 2016-06-27 09:52:11 +08:00
Dustin Spicuzza 397a74d19d add support for the head parameter in Repository.get_pulls 2016-02-02 16:31:29 -05:00
Enix Yu 5b7f0bb6a8 fix python3 compatibility issue for using json/base64 2016-01-16 16:11:34 +08:00
Enix Yu 4aaeb9e73b Add repo content create/update/delete testcase 2016-01-15 12:03:26 +08:00
Kyle Hornberg 737f0c3ebe Add branch protection endpoint 2016-01-07 08:13:20 -06:00
Enix Yu ae37d4449f fix request parameters issue 2015-12-26 10:26:22 +08:00
Enix Yu b83ffbf893 add content file create/update/delete api 2015-12-23 10:35:09 +08: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
Dan Vanderkam d31742a719 Add repo.get_stargazers_with_dates() 2015-10-14 15:19:39 -04:00
Christopher Wilcox f532deea3f Fixes #339 by allowing strings in the labels list. 2015-09-15 12:46:32 -07: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 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
Jonathan Debonis adb9e07a30 Added sort option to get_pulls. 2015-01-29 16:08:35 -08: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 580528876a Acknowledge some lack of test coverage 2014-05-04 12:18:00 -07: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
David Farr 10bbfc1def Now accepts strings for assignee.
When calling pygithub for calls associated with assignees you can now simply pass a string instead of a NamedUser object. This applies to the following methods:
- issue.edit()
- repo.create_issue()
- repo.get_issues()
- repo.has_in_assignees()
- repo.has_in_collaborators()
- repo.remove_from_collaborators()
- repo.add_to_collaborators()
2013-12-16 11:15:17 -08:00
Vincent Jacques 66edeb601f Publish version 1.22.0 2013-12-15 18:11:19 -08:00
Cameron White 212b304371 Added 'stargazers_count' property to Repository 2013-12-04 11:20:10 -08:00