Commit Graph
124 Commits
Author SHA1 Message Date
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
Vincent Jacques c6671c6466 Finish .../stats/... (#203) 2013-11-17 10:16:59 -08:00
Vincent Jacques a4910ac922 First step of implementation of Repository.get_stats_xxx (#203) 2013-11-10 18:09:48 -08:00
Vincent Jacques b082414ad0 Fix doc 2013-11-10 18:04:35 -08:00
Vincent Jacques 6c37e68901 Add 'author' to 'Repository.get_commits' (#204) 2013-11-10 16:52:46 -08:00
Vincent Jacques c83b0ef7d5 Remove Repository.create_download and NamedUser.create_gist 2013-10-20 19:09:30 -07:00
Vincent Jacques 5093cc255a Fix public/private in Repository.edit (#199) 2013-10-20 19:03:35 -07:00
Vincent Jacques 597e123029 Factorize the creation of attributes (preparation for #195) 2013-09-12 09:27:25 +02:00
Vincent Jacques 4a5009741a Use ValuedAttribute and NotSet.value (preparation for #195) 2013-09-12 00:40:27 +02:00
Vincent Jacques c0dae31a97 Add many missing attributes 2013-09-06 17:14:59 +02:00
Vincent Jacques a6b4165d6c ./manage.sh fix_headers 2013-09-06 11:39:12 +02:00
Vincent Jacques f2feb81dae Add default parameters to greatly reduce code redoundancy 2013-09-06 11:01:32 +02:00
Vincent Jacques 64cf539c83 #193: Add a param to Requester.requestXxx for request headers 2013-08-23 11:31:01 +02:00
Vincent Jacques 8a2624e3a1 Merge branch 'topic/RememberHeaders' into develop (#192)
Conflicts:
	github/Issue.py
	github/MainClass.py
	github/PaginatedList.py
	github/Repository.py
	github/Requester.py
2013-08-22 10:30:14 +02:00
Vincent Jacques 5c475c7683 First review of #192 (pep8, headers... nothing important)
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
Vincent Jacques 2dec13c974 Run compare_to_api_ref_doc.py 2013-08-21 16:14:13 +02:00
Vincent Jacques 20107078d2 Fix copyrights (#181 #182 #184 #186 #187) 2013-08-21 16:08:02 +02:00
AKFish 912bec79d2 Update copyright information 2013-08-21 17:45:01 +08:00
AKFish 3c1d17cd64 Update Repository.py 2013-08-21 17:13:03 +08:00
AKFish 0e842637a6 Update PullRequest.py 2013-08-21 17:03:41 +08:00