per1234
bed4009361
Fix incorrect formatting in docstrings ( #816 )
2018-06-11 22:24:27 +08:00
Steve Kowalik
85dcc44650
Correct docstring for set_labels ( #766 )
...
Both Issue and PullRequest have a set_labels method whose docstring did
not exactly describe the parameter, correct it.
2018-04-23 14:27:18 +08:00
Steve Kowalik
e2e29918ea
Re-work PullRequest reviewer request ( #765 )
...
Add create_review_request() and delete_review_request() methods to
PullRequest, as well as renaming get_reviewer_requests() to
get_review_requests() and cleaning up its return value to firstly respect
teams, and secondly to cut out the middleman of PullRequestReviewerRequests,
which has been removed.
Fixes #597
2018-04-23 14:22:51 +08:00
Steve Kowalik
6251212512
PullRequest review methods no longer need black cats ( #760 )
...
The preview period of the PullRequest review API ended May 9, 2017 so
remove the custom Accept headers for the relevant methods.
2018-04-19 16:07:52 +08:00
Steve Kowalik
00096c1059
Correct PullRequest.get_reviewer_requests() rtype ( #761 )
...
The return type of PullRequest.get_reviewer_requests() is a
PaginatedList containing PullRequestReviewerRequest.
2018-04-19 15:58:24 +08:00
Steve Kowalik
0dba048f5c
Make use of issue_url in PullRequest ( #755 )
...
Clean up some of the issue methods in PullRequest to make use of the
issue_url property, rather than chopping pieces off the URL to replace
/pulls/ with /issues/.
2018-04-17 18:20:56 +08:00
Steve Kowalik
678b6b2006
PullRequest labels should use Issues URL ( #754 )
...
The Github API docs for PullRequests say to make use of the Issues API
to add, remove, set and query labels. This means that we need to make
use of the issue_url property for the PullRequest, not its own URL.
2018-04-17 10:21:26 +08:00
Steve Kowalik
a308dc92df
Support labels for PullRequests ( #752 )
...
PullRequests can also have labels attached to them, like Issues or
Milestones. Extend PullRequest to also export them if they are present,
as well as adding methods to add, remove and set labels.
2018-04-16 16:43:07 +08:00
Martin Monperrus
fec3c94344
documentation: clarify semantics of get_comments ( #743 )
2018-04-07 23:41:38 +08:00
Shinichi TAMURA
6bf2acc74d
Added Issue.as_pull_request() and PullReqest.as_issue() ( #630 )
2018-03-26 10:25:45 +08:00
Ben Yohay
612c35007e
Add support for getting PR single review's comments. ( #670 )
2018-03-21 20:50:56 +08:00
Matt Babineau
d85082858e
adding since to PR review comments get ( #577 )
2018-03-21 14:44:10 +08:00
Gilad Shefer
162f0397bc
Added option to create review for Pull request ( #662 )
...
* Added option to create review for Pull request
* Fix tests
2018-03-20 22:28:39 +08:00
sfdye
365a0a24d3
Apply fix_headers script to update copyright info
2018-03-17 20:06:16 +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
Gilad Shefer
5c9c2f7523
Updated PullRequest reviewer request according to API changes ( #690 )
...
https://developer.github.com/changes/2018-01-24-end-thor-preview/
2018-01-26 19:06:09 -08:00
Simon
6bc804dc15
♻️ Fix all pep8 coding conventions
2018-01-16 13:41:02 -08:00
Thibault Jamet
3f77e53725
Add support for changing PR head commit ( #632 )
...
* Add support for changing PR head commit
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
* Add support for custom commit arguments
Add commit_title, merge_method and sha arguments to the pull request
merge method
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
2018-01-16 13:26:38 -08:00
Aaron Levine
b6b127d732
Updates to API and changes to resolve testing issues.
2017-03-24 14:45:04 -06:00
Aaron Levine
2f0e4e55fe
Add Support for Pull Request Reviews feature
2017-03-20 14:44:26 -06:00
@tmshn
c0de6be5ea
Added "assignees" attribute to PullRequest object.
2016-11-22 20:03:30 +09:00
Jannis Gebauer
8571d87c77
adds a nicer __repr__
2016-09-08 10:25:48 +02:00
Peter Buckley
cb0cf0a680
update doc url everywhere ( #420 )
2016-07-12 16:38:02 -04: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
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
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
5c475c7683
First review of #192 (pep8, headers... nothing important)
...
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
AKFish
912bec79d2
Update copyright information
2013-08-21 17:45:01 +08:00
AKFish
0e842637a6
Update PullRequest.py
2013-08-21 17:03:41 +08:00
AKFish
ba6800ada4
Update NamedUser.py
2013-08-21 16:57:10 +08:00
AKFish
8f2ba4f522
Update IssueComment.py
2013-08-21 16:13:22 +08:00
AKFish
ca6189c3c9
Change CompletableGithubObject.__init__ without breaking build.
2013-08-21 14:49:20 +08:00
AKFish
b2c4519c06
Update PulllRequestPart.py
2013-08-21 14:15:09 +08:00
AKFish
c7aeaddfa8
Fix PullRequestMergeStatus.py
2013-08-21 14:13:14 +08:00
Vincent Jacques
7c49e48305
Fix links to ref in :calls: sections
2013-07-16 23:46:23 +02:00
Vincent Jacques
8484260dc5
Fix our doc to match URLs described in Github API v3 ref doc
2013-07-16 10:32:57 +02:00
Vincent Jacques
06a3d87098
Change source file header format
2013-07-13 19:03:53 +02:00
Vincent Jacques
d0002b7a3c
Fix pep8 and copyrights
2013-06-18 22:35:46 +02:00
martinqt
573b327193
PullRequest docstring
2013-06-02 12:38:07 +02:00
Vincent Jacques
db5560bd65
Add a script to check copyrights with git log. And fix copyrights.
2013-03-29 16:54:15 +01:00
Vincent Jacques
fa43e95268
Refactor XxxGithubObject
2013-03-14 12:31:36 +01:00
Vincent Jacques
7a415fda66
Change home page
2013-02-16 21:19:49 +01:00
Vincent Jacques
680490a6d8
Merge branch 'develop' into topic/ExperimentOnDocumentation
...
Conflicts:
ReadMe.md
doc/ChangeLog.md
doc/ReferenceOfApis.md
doc/ReferenceOfClasses.md
github/AuthenticatedUser.py
github/Authorization.py
github/CommitComment.py
github/ContentFile.py
github/Download.py
github/Gist.py
github/GistComment.py
github/GitRef.py
github/Github.py
github/Hook.py
github/Issue.py
github/IssueComment.py
github/Label.py
github/Milestone.py
github/PullRequest.py
github/PullRequestComment.py
github/Repository.py
github/RepositoryKey.py
github/Team.py
github/UserKey.py
setup.py
2013-02-16 19:57:13 +01:00
Vincent Jacques
e9be857089
Rename methods in Requester
2013-02-05 19:39:03 +01:00
Vincent Jacques
abf0867543
Generate some repetitive doc files
2012-12-29 08:47:23 +01:00
Vincent Jacques
9a03610f7b
Use absolute imports. May help with Python 3
2012-11-21 20:13:12 +01:00