Shinichi TAMURA
0f0a7d4e68
Added target_commitish option to Repository.create_git_release() ( #625 )
...
* Added is_draft and is_prerelease property to GitRelease
* Added target_commitish option to Repository.create_git_release()
* Added test for Repository.create_git_release()
* Renamed attr of GitRelease: is_draft, is_prerelease -> draft, prerelease
2018-03-15 11:17:04 +08:00
sfdye
58e1ef9ccb
Fix copyright formatting
2018-03-13 22:30:47 +08:00
sfdye
020c136a40
Update doc link in copyright text
2018-03-13 22:07:38 +08:00
Wan Liuyang
a32a17bf81
Fix broken Github reference link in class docstrings
2018-03-13 15:07:07 +08:00
Raihaan
0e5a1d1d53
Add maintainer can modify flag to create pull request ( #703 )
...
* Add flag for maintainer can modify when creating pull requests
* Change default to be None to let github decide the behaviour
* Update docstring
* Follow conventions from other functions
2018-02-15 10:07:26 +08:00
John Hui
167f85efcd
Add collaborator permission support ( #699 )
2018-02-07 00:27:11 -08:00
Brian Torres-Gil
cef98416f4
Use datetime object in create_milestone ( #698 )
...
Method create_milestone now uses datetime object to fit better with v3 API using ISO8601.
Date object still allowed for backward compatibility.
2018-02-06 22:44:57 -08:00
Michael Behrisch
e671fdd035
Fix date format for milestone creation ( #593 )
2018-02-06 14:21:51 -08:00
Ilya Konstantinov
3baa682cf8
Add committer/author to Repository.delete_file ( #678 )
2018-01-16 14:17:47 -08:00
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