GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge maintenance branches into master by jkseppan · Pull Request #5 · matplotlib/matplotlib

Conversation

@jkseppan

@jkseppan jkseppan commented Feb 20, 2011

Copy link
Copy Markdown
Member

It seems that the svn2git transition has not picked up all merges or at least has not turned them into git merges (perhaps this is impossible in the general case, as you can do cherry-picking with svnmerge that does not translate into clean git merges). If we want to use a merge workflow where we merge feature/bugfix branches first into the current maintenance branch and then into master, we should start with a maintenance branch that merges cleanly into master without causing changes in master, and this commit does that using the --strategy=ours merge option.

(I guess it would really be sufficient to merge only v1_0_x into master, if we are never going to touch the older branches again, but it doesn't hurt to include them.)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jdh2358 and others added 30 commits May 22, 2008 18:14
@jdh2358
fixed a wx bug
60f07d8
svn path=/branches/v0_91_maint/; revision=5215
@sameerd
Getting mlab.py in sync with the trunk
d9e2ced
svn path=/branches/v0_91_maint/; revision=5239
@jdh2358
added pil support to imread
2881611
svn path=/branches/v0_91_maint/; revision=5258
@jdh2358
fixed a npy np mixup in image
579f9cd
svn path=/branches/v0_91_maint/; revision=5259
@jdh2358
added a line vertex selector widget
99f3a36
svn path=/branches/v0_91_maint/; revision=5271
@jdh2358
added a line vertex selector widget
376b438
svn path=/branches/v0_91_maint/; revision=5272
@jdh2358
fixed an empty vertex list bug
d5579d9
svn path=/branches/v0_91_maint/; revision=5275
@mdboom
Fix rendering of composite glyphs in Type 3 conversion (particularly
84eb65b
as evidenced in the Eunjin.ttf Korean font) Thanks Jae-Joon Lee for
finding this!

svn path=/branches/v0_91_maint/; revision=5283
@jdh2358
added keywords to configure sliders for sf patch 1866207
9c5d7a8
svn path=/branches/v0_91_maint/; revision=5292
@mdboom
Fix PDFs that crash xpdf and ghostscript when two-byte codepoints are
1cba068
used with Type 3 fonts.

svn path=/branches/v0_91_maint/; revision=5293
@mdboom
Adding CHANGELOG entry and scary comment about what was going wrong.
86ca40d
svn path=/branches/v0_91_maint/; revision=5294
@mdboom
Implement path clipping in SVG backend.
e83ae91
svn path=/branches/v0_91_maint/; revision=5298
@ddale
fixed two bugs in texmanager: dvipng version comparison, and
3f66e1c
another related to the addition of the get_gray method

svn path=/branches/v0_91_maint/; revision=5299
@jdh2358
added clippath support for ps
a5a8502
svn path=/branches/v0_91_maint/; revision=5304
@jdh2358
added clippath support for ps
b88868e
svn path=/branches/v0_91_maint/; revision=5305
@jdh2358
imread via pil now returns lumininance or rgb if possible
1e10bbe
svn path=/branches/v0_91_maint/; revision=5306
@cmoad
tagging new version
790c7da
svn path=/branches/v0_91_maint/; revision=5312
@cmoad
minor rev bump
562ec2c
svn path=/branches/v0_91_maint/; revision=5313
@jdh2358
added support for None for dvipng and removed the sqrt in the hack wh…
44df377
…ich I think is wrong

svn path=/branches/v0_91_maint/; revision=5329
@jdh2358
removed debug print statement
99c8dc0
svn path=/branches/v0_91_maint/; revision=5334
@mdboom
Fix crash in Agg drawing collections with no fill and/or edge color.
06031ee
svn path=/branches/v0_91_maint/; revision=5358
@jdh2358
added switch_backend bugfix from sf patch 1979402
c399a94
svn path=/branches/v0_91_maint/; revision=5360
@sameerd
Docstring changes
2a311a4
svn path=/branches/v0_91_maint/; revision=5381
@jdh2358
try to handle xaxis_date more gracefully when no data has been added
b586ec5
svn path=/branches/v0_91_maint/; revision=5383
@jdh2358
fixed some bugs introduced in the xaxis_date fix
b0921b9
svn path=/branches/v0_91_maint/; revision=5385
@jdh2358
fixed classic toolbar bugs
42251b9
svn path=/branches/v0_91_maint/; revision=5396
@ddale
don't install traits
e9c0464
svn path=/branches/v0_91_maint/; revision=5442
@ddale
forgot CHANGELOG message
b9092cb
svn path=/branches/v0_91_maint/; revision=5443
@efiring
Support hold in quiver, contour, contourf
3323909
svn path=/branches/v0_91_maint/; revision=5488
@mdboom
Fix STIX fonts on narrow Unicode platforms.
8c02ec2
svn path=/branches/v0_91_maint/; revision=5573
mdboom and others added 9 commits January 14, 2011 18:15
@mdboom
Fix doc build with recent versions of Sphinx (reported by Sandro Tosi)
c5ccff9
svn path=/branches/v1_0_maint/; revision=8917
@efiring
Change pcolor and contourf default antialiasing to False; closes 3151…
5114b14
…847.

To avoid misplaced boundaries and artifacts with alpha < 1, we do not
stroke the pcolor and contourf patch boundaries by default; but without
that stroking, antialiasing produces boundary artifacts that tend to
be visually disturbing.  Therefore we sacrifice antialiasing for these
patches.

svn path=/branches/v1_0_maint/; revision=8920
@mdboom
Increase tolerance in pcolormesh test.
5cee379
svn path=/branches/v1_0_maint/; revision=8926
@WeatherGod
Fixes colors normalization with 'under' colors in LinearSegmentedColo…
bfe6032
…rmap (values between -1 and 0 were being made positive due to an int cast).

Thanks to Eoghan Harrington for discovering and supplying the patch!

svn path=/branches/v1_0_maint/; revision=8931
@WeatherGod
Fixing problem where reversed colormaps of LinearSegmentedColormaps w…
92814db
…ere not initialized properly.

Thanks to LittleBigBrain for reporting and Friedrich Romstedt for making the original patch.

svn path=/branches/v1_0_maint/; revision=8933
@mdboom
[3167200] Use from PIL import Image
9e89b76
svn path=/branches/v1_0_maint/; revision=8939
@efiring
bug: xlim, ylim with no arguments should not affect autoscaling
8ce6b67
svn path=/branches/v1_0_maint/; revision=8953
@jkseppan
Quick workaround for dviread bug #3175113
3922443
svn path=/branches/v1_0_maint/; revision=8955
@jkseppan
Merge all maintenance branches into master
d5b8f54
This merges branches 'origin/v1.0.x', 'origin/v0.99.x', 'origin/v0.98.x'
and 'origin/v0.91.x' with --strategy=ours, i.e., marks all of their
commits as included without changing master.
@ddale

ddale commented Feb 20, 2011

Copy link
Copy Markdown
Contributor

This is a huge commit. Is it possible to merge the maintenance branches one at a time, or is there benefit to merging them all at once?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jdh2358

jdh2358 commented Feb 20, 2011

Copy link
Copy Markdown
Collaborator

I'm just trying to understand exactly what this is, since I am just learning about strategy=ours. Did you run this command on the master to merge from the branch, eg

git checkout master
git merge maint_branch --strategy=ours

with the strategy=ours saying keep all the master files as is. I see the diff is empty in your pull request, which is what we would want since the changes have already been merged. What then gets updated in master exactly, the commit DAG?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jkseppan

jkseppan commented Feb 20, 2011

Copy link
Copy Markdown
Member Author

Darren: it's possible to merge one at a time, or to merge only the active maintenance branch (which means that if we ever need to update one of the older branches, we can't merge it into master, or we'll get a huge merge at that time).

John: what I did was

git checkout -b merge-maint-branches master
git merge --strategy=ours origin/v1.0.x origin/v0.99.x origin/v0.98.x origin/v0.91.x
git commit --amend # to edit the commit message

Yes, the diff against master should be empty, and what gets updated is the commit DAG. The merge operation makes all the commits in the various branches ancestors of this commit, so after this commit is merged into master, merging any of the maintenance branches into master will not try to apply any of those ancestral commits. If it's unclear, try viewing this in gitk (or gitx or the various other GUIs) or adding practice commits into a local copy of a maintenance branch and merging them into master before and after this change.

In principle git2svn could have done this based on our svnmerge.py information, and it seems that it has worked partially. The git branch model is a DAG where any merge has both (or all) merged branches as ancestors, whereas the svnmerge model is that each commit either has or has not been applied to a given branch, and you can pick and choose which ones to merge in at a time. The svnmerge "merges" correspond more the git's "cherry-pick" functionality, except that svnmerge attempts to keep track which diffs have been included and git cherry-pick does not.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ddale

ddale commented Feb 20, 2011

Copy link
Copy Markdown
Contributor

Thanks for the clarification. I misunderstood what this pull request was doing. I thought it was actually pulling all non-conflicting commits from the various maintenance branches into master. I withdraw my comment about applying it one branch at a time.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@WeatherGod

WeatherGod commented Feb 20, 2011

Copy link
Copy Markdown
Member

I wonder if this has anything to do with the minor annoyance we always had with svnmerge.py where various files not modified by the commit were still having their properties changed? I looked into it once, and I found that the property being changed had something to do with changing which revision number a file was being merged from (or something like that).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ddale

ddale commented Feb 20, 2011

Copy link
Copy Markdown
Contributor

I wonder if this should be done iteratively, meaning:

git checkout v0.98.x
git merge --strategy=ours v0.91.x
git commit --amend
git checkout v0.99.x
git merge --strategy=ours v0.98.x
git commit --amend
git checkout v1.0.x
git merge --strategy=ours v0.99.x
git commit --amend
git checkout master
git merge --strategy=ours v1.0.x
git commit --amend

That way, just in case anyone submits a patch against an older version than 1.0.x, we can always apply it and propagate it up the chain.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jkseppan

jkseppan commented Feb 20, 2011

Copy link
Copy Markdown
Member Author

Darren: you're right, that's a better way to do this. I think it will involve several pull requests, since we have to merge into each branch separately.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ddale

ddale commented Feb 20, 2011

Copy link
Copy Markdown
Contributor

Ok, I'm closing this pull request so we can handle it that way.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

leejjoon pushed a commit to leejjoon/matplotlib that referenced this pull request Nov 4, 2011
@mdboom
Merge pull request matplotlib#5 from jenshnielsen/py3test
d5ff72a
Fix tests for python3.
@richbwood richbwood mentioned this pull request Dec 19, 2012
test_pcolormesh hangs #1609
Closed
magnunor pushed a commit to magnunor/matplotlib that referenced this pull request Dec 5, 2013
@francisco-dlp
BUG-FIX: Fixes matplotlib#5
287f31d
magnunor pushed a commit to magnunor/matplotlib that referenced this pull request Dec 5, 2013
@francisco-dlp
Fixes matplotlib#5 and add section support to the defaults
82d11d5
tacaswell added a commit that referenced this pull request Jul 12, 2014
@tacaswell
Merge pull request #5 from ianthomas23/np_error_patch
2733217
BUG: improved fix for np 1.9 errors
@bbolker bbolker mentioned this pull request Mar 11, 2015
segfault: fill_between with Python3 #4210
Closed
tacaswell pushed a commit that referenced this pull request Sep 13, 2015
@jankatins
Merge pull request #5 from tacaswell/unpack_labeled_data_alternative
59f3917
Vetter checks for python and IPython
@watkinrt watkinrt mentioned this pull request Feb 7, 2017
Feature request: mathtext support for \displaystyle #1888
Closed
swfiua pushed a commit to swfiua/matplotlib that referenced this pull request Mar 17, 2017
@Ka1lon
Merge pull request matplotlib#5 from swfiua/master
0657057
Decode the mic data correctly
@WeatherGod WeatherGod mentioned this pull request Mar 2, 2018
pyplot hangs at plot() #10648
Closed
jklymak pushed a commit that referenced this pull request Mar 28, 2023
@haval0
Merge pull request #5 from haval0/do-it-with-algebra
e1813b5
mnt: simplify stride calculation in LogLocator.tick_values
@john-odonovan john-odonovan mentioned this pull request May 5, 2023
[Bug]: Coredump when importing matplotlib.pyplot #25823
Closed
@jkseppan jkseppan mentioned this pull request Jul 13, 2014
Merge all maintenance branches #9
Closed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

14 participants

@jkseppan @ddale @jdh2358 @WeatherGod @sameerd @mdboom @cmoad @efiring @mmetz-bn @dopplershift @astraw @leejjoon @heeres @mdehoon
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.