Example
section of the docstring. This should be as simple as
possible to demonstrate the method. More complex examples should go
in the examples
tree.CHANGELOG
.doc/users/whats_new.rst
.doc/api/api_changes.rst
.'[MRG+1]'
and use
the github ‘approve review’
tool to mark it as such. If you are a subsequent reviewer and you
approve either merge (and backport if needed) or increment the
number in the title to ask for further review (and trigger the gh
‘approve review’). If you do the merge please removed the
'[MRG+N']
prefix.tox
support in Matplotlib may be useful for testing locally.When doing backports please include the branch you backported the commit to along with the SHA in a comment on the original PR.
Assuming we have matplotlib
as a read-only remote to the
matplotlib/matplotlib repo and DANGER
as a read/write remote to
the matplotlib/matplotlib repo, we do a backport from master to 2.x.
The TARGET_SHA
is the hash of the merge commit you would like to
backport. This can be read off of the github PR page (in the UI with
the merge notification) or through the git CLI tools.:
git fetch matplotlib
git checkout v2.x
git merge --ff-only matplotlib/v2.x
git cherry-pick -m 1 TARGET_SHA
gitk # to look at it
# local tests? (use your judgment)
git push DANGER v2.x
# leave a comment on PR noting sha of the resulting commit
# from the cherry-pick + branch it was moved to
These commands work on git 2.7.1.