SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S



1
(14)
2
(11)
3
(19)
4
(9)
5
6
(5)
7
8
9
10
11
12
(1)
13
(9)
14
(3)
15
(8)
16
17
(2)
18
19
20
(6)
21
(12)
22
(3)
23
(6)
24
(5)
25
26
(2)
27
28
(1)
29
(2)
30


Showing 11 results of 11

From: Darren D. <dsd...@gm...> - 2011年06月02日 23:46:51
Folks,
We had some minor confusion with a merge a few weeks back, which
pulled much of the master branch into the v1.0.x maintenance branch. I
created a new v1.0.x-maint branch that rolled back all of the changes
from that point on, and cherry-picked all of the changes that were
actually intended for the v1.0.x branch.
Please use v1.0.x-maint from now on. v1.0.x has been deleted from the
repository (though I'll keep a local copy for a few weeks as a backup,
just in case).
If you have any changes that branched from v1.0.x after May 6 2011,
please contact me off list so we can correctly apply those changes on
top of v1.0.x-maint.
Darren
From: Eric F. <ef...@ha...> - 2011年06月02日 23:46:47
On 06/02/2011 12:35 PM, Darren Dale wrote:
> On Thu, Jun 2, 2011 at 6:07 PM, Eric Firing<ef...@ha...> wrote:
>> On 06/02/2011 11:48 AM, Darren Dale wrote:
>> [...]
>>>
>>> I had another look at the history after rereading Pauli's email. I'm
>>> going to try the following on a temporary v1.0.x-cleanup branch:
>>>
>>> * "git reset --hard 0e6dad5230"
>>> * redo pull request 103
>>> * cherry-pick the following commits off of the v1.0.x branch:
>>> - 069c21d
>>> - 53f8139e
>>> - de18d9ab2
>>> - 91e7d980
>>> - 0cc213b4fa
>>> - e7f1e83ace
>>> - 5c968a0ecdd
>>>
>>> That should bring the v1.0.x-cleanup branch back to where we thought
>>> it would be. I'll post the result in my fork as soon as it is ready,
>>> and request comment. At that point, we should decide if we want to
>>> rename it v1.0.x and force push, or rename it v1.0.x-maint (or
>>> whatever) and delete the current v1.0.x branch.
>>>
>>> Pauli, Jouni, any comments?
>>>
>>> Darren
>>
>> Darren,
>>
>> That sounds very encouraging. If it is successful, I think we should
>> use a different name and obliterate the current v1.0.x. If I understand
>> correctly, doing a forced push instead would leave us open to having the
>> repair undone. I don't see any advantage to it; but my git-ability is
>> not high.
>
> I just pushed a v1.0.x-cleanup branch to
> https://github.com/ddale/matplotlib . The next step would be to push
> it to v1.0.x-maint, and then merge v1.0.x-maint into master with
> --strategy=ours. At that point, I think we could delete the old v1.0.x
> branch, but I'd like to get a harrumph from another dev first.
Dale,
Thank you.
>
>> Going forward, is there any good reason to retain all the old branches
>> (transforms, 0.91.x etc.)?
>
> I don't think we need the transforms branch. I kept it just for the
> sake of completeness during the svn->git migration.
>
>> Don't the release tags provide adequate
>> access to those branches? My sense is that merging them into master was
>> not good from the standpoint of being able to read the graph and see
>> what is really derived from what; but I don't know exactly what can be
>> done about it. They certainly clutter up the output of "git branch -a"
>> to no useful effect.
>
> There was actually a good reason for doing it this way. Each older
I understand the rationale, but...
> maintenance branch was merged into the next newer one, and it was done
> with --strategy=ours (which basically means that any changes were
> ignored during the merge). We did this so that if someone applied a
which means that it is a fundamentally misleading merge--a merge in name 
only, not an indicator of what is in a given branch.
> critical set of patches to an earlier maintenance branch, say 0.99.x,
> and wanted to merge it into v1.0.x, and then into master, it would be
> easy to do so without unintentionally pulling all of the other changes
> between 0.99.x and 1.0.x (for example) along with it.
I think the likelihood of anyone ever actually doing this is near zilch; 
we don't maintain old branches. And for the single current maintenance 
branch at any given time, cherry-picking bug fixes from maintenance to 
master or the reverse seems to me more explicit, less mysterious, and 
less likely to have unintended consequences than merging.
>
>> Following along this line, does it perhaps make sense in the future to
>> use cherry-picking instead of merging for propagating bug fixes between
>> a maintenance or release branch and master? My uneducated sense is that
>> it would leave a less confusing graph, and be less likely to result in
>> errors.
>
> I would prefer to continue merging. I think its just a matter of
> getting in the habit of inspecting the history graph. But that's just
> my opinion.
I still don't agree. It looks to me like numpy is using the cherry-pick 
approach, not the merge approach, and the result is that each branch has 
a reasonably linear history that one can actually follow by eye, and 
easily see exactly what has been done. Compare numpy:
http://currents.soest.hawaii.edu/hgstage/numpy_from_git/graph/9264?revcount=240
to mpl:
http://currents.soest.hawaii.edu/hgstage/mpl_from_git/graph/6855?revcount=240
Even without the foulup, I think you would see that the merges from 
maintenance branches into subsequent branches and into master make it 
very hard to figure out what has actually been done on any given branch. 
Undoubtedly one *can* figure it out, as apparently you have just done; 
but it is not immediately clear from the graph.
Eric
>
> Thanks by the way for the pointer to qgit, I think it is much nicer than gitk.
>
> Darren
From: Darren D. <dsd...@gm...> - 2011年06月02日 23:34:53
On Thu, Jun 2, 2011 at 6:35 PM, Darren Dale <dsd...@gm...> wrote:
> On Thu, Jun 2, 2011 at 6:07 PM, Eric Firing <ef...@ha...> wrote:
>> On 06/02/2011 11:48 AM, Darren Dale wrote:
>> [...]
>>>
>>> I had another look at the history after rereading Pauli's email. I'm
>>> going to try the following on a temporary v1.0.x-cleanup branch:
>>>
>>> * "git reset --hard 0e6dad5230"
>>> * redo pull request 103
>>> * cherry-pick the following commits off of the v1.0.x branch:
>>>  - 069c21d
>>>  - 53f8139e
>>>  - de18d9ab2
>>>  - 91e7d980
>>>  - 0cc213b4fa
>>>  - e7f1e83ace
>>>  - 5c968a0ecdd
>>>
>>> That should bring the v1.0.x-cleanup branch back to where we thought
>>> it would be. I'll post the result in my fork as soon as it is ready,
>>> and request comment. At that point, we should decide if we want to
>>> rename it v1.0.x and force push, or rename it v1.0.x-maint (or
>>> whatever) and delete the current v1.0.x branch.
>>>
>>> Pauli, Jouni, any comments?
>>>
>>> Darren
>>
>> Darren,
>>
>> That sounds very encouraging. If it is successful, I think we should
>> use a different name and obliterate the current v1.0.x. If I understand
>> correctly, doing a forced push instead would leave us open to having the
>> repair undone. I don't see any advantage to it; but my git-ability is
>> not high.
>
> I just pushed a v1.0.x-cleanup branch to
> https://github.com/ddale/matplotlib . The next step would be to push
> it to v1.0.x-maint, and then merge v1.0.x-maint into master with
> --strategy=ours. At that point, I think we could delete the old v1.0.x
> branch, but I'd like to get a harrumph from another dev first.
>
>> Going forward, is there any good reason to retain all the old branches
>> (transforms, 0.91.x etc.)?
>
> I don't think we need the transforms branch. I kept it just for the
> sake of completeness during the svn->git migration.
>
>> Don't the release tags provide adequate
>> access to those branches? My sense is that merging them into master was
>> not good from the standpoint of being able to read the graph and see
>> what is really derived from what; but I don't know exactly what can be
>> done about it. They certainly clutter up the output of "git branch -a"
>> to no useful effect.
>
> There was actually a good reason for doing it this way. Each older
> maintenance branch was merged into the next newer one, and it was done
> with --strategy=ours (which basically means that any changes were
> ignored during the merge). We did this so that if someone applied a
> critical set of patches to an earlier maintenance branch, say 0.99.x,
> and wanted to merge it into v1.0.x, and then into master, it would be
> easy to do so without unintentionally pulling all of the other changes
> between 0.99.x and 1.0.x (for example) along with it.
>
>> Following along this line, does it perhaps make sense in the future to
>> use cherry-picking instead of merging for propagating bug fixes between
>> a maintenance or release branch and master? My uneducated sense is that
>> it would leave a less confusing graph, and be less likely to result in
>> errors.
>
> I would prefer to continue merging. I think its just a matter of
> getting in the habit of inspecting the history graph. But that's just
> my opinion.
>
> Thanks by the way for the pointer to qgit, I think it is much nicer than gitk.
Actually, I feel fairly confident that this is a reasonable fix. I
just pushed v1.0.x-maint, I pushed v1.0.x to my personal clone as a
backup, and I deleted v1.0.x from the matplotlib repository.
Ben, would you please rebase your mplot3d/minor_errors branch onto the
new v1.0.x-maint branch?
I'll post an announcement on mpl-dev about the change in maintenance branch.
Darren
From: Darren D. <dsd...@gm...> - 2011年06月02日 22:35:22
On Thu, Jun 2, 2011 at 6:07 PM, Eric Firing <ef...@ha...> wrote:
> On 06/02/2011 11:48 AM, Darren Dale wrote:
> [...]
>>
>> I had another look at the history after rereading Pauli's email. I'm
>> going to try the following on a temporary v1.0.x-cleanup branch:
>>
>> * "git reset --hard 0e6dad5230"
>> * redo pull request 103
>> * cherry-pick the following commits off of the v1.0.x branch:
>>  - 069c21d
>>  - 53f8139e
>>  - de18d9ab2
>>  - 91e7d980
>>  - 0cc213b4fa
>>  - e7f1e83ace
>>  - 5c968a0ecdd
>>
>> That should bring the v1.0.x-cleanup branch back to where we thought
>> it would be. I'll post the result in my fork as soon as it is ready,
>> and request comment. At that point, we should decide if we want to
>> rename it v1.0.x and force push, or rename it v1.0.x-maint (or
>> whatever) and delete the current v1.0.x branch.
>>
>> Pauli, Jouni, any comments?
>>
>> Darren
>
> Darren,
>
> That sounds very encouraging. If it is successful, I think we should
> use a different name and obliterate the current v1.0.x. If I understand
> correctly, doing a forced push instead would leave us open to having the
> repair undone. I don't see any advantage to it; but my git-ability is
> not high.
I just pushed a v1.0.x-cleanup branch to
https://github.com/ddale/matplotlib . The next step would be to push
it to v1.0.x-maint, and then merge v1.0.x-maint into master with
--strategy=ours. At that point, I think we could delete the old v1.0.x
branch, but I'd like to get a harrumph from another dev first.
> Going forward, is there any good reason to retain all the old branches
> (transforms, 0.91.x etc.)?
I don't think we need the transforms branch. I kept it just for the
sake of completeness during the svn->git migration.
> Don't the release tags provide adequate
> access to those branches? My sense is that merging them into master was
> not good from the standpoint of being able to read the graph and see
> what is really derived from what; but I don't know exactly what can be
> done about it. They certainly clutter up the output of "git branch -a"
> to no useful effect.
There was actually a good reason for doing it this way. Each older
maintenance branch was merged into the next newer one, and it was done
with --strategy=ours (which basically means that any changes were
ignored during the merge). We did this so that if someone applied a
critical set of patches to an earlier maintenance branch, say 0.99.x,
and wanted to merge it into v1.0.x, and then into master, it would be
easy to do so without unintentionally pulling all of the other changes
between 0.99.x and 1.0.x (for example) along with it.
> Following along this line, does it perhaps make sense in the future to
> use cherry-picking instead of merging for propagating bug fixes between
> a maintenance or release branch and master? My uneducated sense is that
> it would leave a less confusing graph, and be less likely to result in
> errors.
I would prefer to continue merging. I think its just a matter of
getting in the habit of inspecting the history graph. But that's just
my opinion.
Thanks by the way for the pointer to qgit, I think it is much nicer than gitk.
Darren
From: Eric F. <ef...@ha...> - 2011年06月02日 22:08:12
On 06/02/2011 11:48 AM, Darren Dale wrote:
[...]
>
> I had another look at the history after rereading Pauli's email. I'm
> going to try the following on a temporary v1.0.x-cleanup branch:
>
> * "git reset --hard 0e6dad5230"
> * redo pull request 103
> * cherry-pick the following commits off of the v1.0.x branch:
> - 069c21d
> - 53f8139e
> - de18d9ab2
> - 91e7d980
> - 0cc213b4fa
> - e7f1e83ace
> - 5c968a0ecdd
>
> That should bring the v1.0.x-cleanup branch back to where we thought
> it would be. I'll post the result in my fork as soon as it is ready,
> and request comment. At that point, we should decide if we want to
> rename it v1.0.x and force push, or rename it v1.0.x-maint (or
> whatever) and delete the current v1.0.x branch.
>
> Pauli, Jouni, any comments?
>
> Darren
Darren,
That sounds very encouraging. If it is successful, I think we should 
use a different name and obliterate the current v1.0.x. If I understand 
correctly, doing a forced push instead would leave us open to having the 
repair undone. I don't see any advantage to it; but my git-ability is 
not high.
Going forward, is there any good reason to retain all the old branches 
(transforms, 0.91.x etc.)? Don't the release tags provide adequate 
access to those branches? My sense is that merging them into master was 
not good from the standpoint of being able to read the graph and see 
what is really derived from what; but I don't know exactly what can be 
done about it. They certainly clutter up the output of "git branch -a" 
to no useful effect.
Following along this line, does it perhaps make sense in the future to 
use cherry-picking instead of merging for propagating bug fixes between 
a maintenance or release branch and master? My uneducated sense is that 
it would leave a less confusing graph, and be less likely to result in 
errors.
Eric
From: Darren D. <dsd...@gm...> - 2011年06月02日 21:49:03
On Thu, Jun 2, 2011 at 5:00 PM, Darren Dale <dsd...@gm...> wrote:
> On Thu, Jun 2, 2011 at 4:46 PM, Benjamin Root <ben...@ou...> wrote:
>>
>>
>> On Wed, Jun 1, 2011 at 6:20 PM, Matthew Brett <mat...@gm...>
>> wrote:
>>>
>>> Hi,
>>>
>>> On Wed, Jun 1, 2011 at 4:06 PM, Eric Firing <ef...@ha...> wrote:
>>> > On 06/01/2011 12:38 PM, Matthew Brett wrote:
>>> >> Hi,
>>> >>
>>> >> On Wed, Jun 1, 2011 at 12:58 PM, Eric Firing<ef...@ha...>
>>> >> wrote:
>>> >>>> The current practice worked very nicely with SVN (IMHO), and I think
>>> >>>> it
>>> >>>
>>> >>> (I recall that Mike had to rescue us more than once from svnmerge
>>> >>> confusions, at least during the earlier days.)
>>> >>
>>> >> I was just idly looking at the matplotlib network graph:
>>> >>
>>> >> https://github.com/matplotlib/matplotlib/network
>>> >>
>>> >> There seem to be lots of branches and cross merges ; the history of
>>> >> 1.0.x is extremely confusing.
>>> >
>>> > Agreed!
>>> >
>>> >>
>>> >> I wonder whether it would be worthwhile to review git workflow?
>>> >
>>> > Yes.
>>> >
>>> >>
>>> >> I like Pauli's edits to the numpy gitwash docs in numpy for this.
>>> >> I've actually just merged these back into the gitwash main docs,
>>> >> example build here:
>>> >
>>> > I will have to take a look; mpl did pull some version of gitwash into
>>> > its doc build.
>>> >
>>> >>
>>> >> http://matthew-brett.github.com/pydagogue/gitwash/git_development.html
>>> >
>>> > Thanks, I will take a look.
>>>
>>> If you like what you see, then the 'gitwash_dumper.py' script will
>>> pull a new copy into your repo...
>>>
>>> If you don't, then I'd love suggestions for improvements.
>>>
>>> >> Maybe the overall point is that git does require some thought to
>>> >> history, and some rules-of-work, to avoid confusion.
>>> >
>>> > I think one of the problems is that documentation such as the Git book
>>> > and at least early versions of gitwash, if I remember correctly,
>>> > emphasize workflow for people who do not access the central repo
>>> > directly. There has been much discussion on the lists of procedure for
>>> > those who do push to central repos, but I am not sure to what extent it
>>> > has gotten condensed down into a sufficiently simple set of rules and
>>> > examples in the standard documentation. Maybe you and Pauli have done
>>> > that now.
>>>
>>> That's quite right, we did more or less assume that the maintainers
>>> were git experts, and yes, Pauli did fix that to some extent. The
>>> result, as ported back by me, is this page, which is new, and needs
>>> expanding:
>>>
>>> http://matthew-brett.github.com/pydagogue/gitwash/maintainer_workflow.html
>>>
>>> >>
>>> >> I've been managing a maintenance branch for my much smaller nibabel
>>> >> project without much trouble; I've just been doing the occasional
>>> >> cherry-pick and rebase from trunk for bugfixes.
>>> >
>>> > In a way, this illustrates the difficulty: you describe a procedure for
>>> > working with a maintenance branch that is completely different from the
>>> > one we have been using (apart from the errors). What we have been doing
>>> > is initiating bug fixes in the maintenance branch and then merging that
>>> > branch to master. I'm sure either way can work fine, if one doesn't
>>> > make mistakes. I'm not sure what the relative merits of the two methods
>>> > are, in terms of simplicity, clarity, and robustness against errors. I
>>> > think they result in very different graphs, correct? With your
>>> > approach, the maintenance branch and master are separate lines, while
>>> > with our approach, the merges keep pulling the branches together in the
>>> > graph, even though their contents are steadily getting farther apart.
>>>
>>> I must confess that my git fu is not 10/10, but to me the idea of
>>> _merging_ the maintenance branch into trunk is very confusing.  I
>>> mean, the trees should increasingly diverge, surely, so there will be
>>> more and more stuff you don't want to see back in trunk. At the
>>> moment, you have to trust git magic to correctly leave out the commits
>>> you don't want...
>>>
>>> See you,
>>>
>>> Matthew
>>>
>>
>> While this is all very important and we should definitely come to an
>> agreement about this, this still doesn't solve my issue at hand. I can not
>> build the docs in the v1.0.x branch, therefore we can not push out a
>> revision to the docs on sourceforge. Meanwhile, our website still has bad
>> links and is pointing users to download version 1.0.0 instead of version
>> 1.0.1 (which may explain why we still see some old bugs on the lists every
>> now and then). What do we want to do about my pull request for the docs?
>
> Hold tight, lets see if anything can be done to back out the change.
I had another look at the history after rereading Pauli's email. I'm
going to try the following on a temporary v1.0.x-cleanup branch:
* "git reset --hard 0e6dad5230"
* redo pull request 103
* cherry-pick the following commits off of the v1.0.x branch:
 - 069c21d
 - 53f8139e
 - de18d9ab2
 - 91e7d980
 - 0cc213b4fa
 - e7f1e83ace
 - 5c968a0ecdd
That should bring the v1.0.x-cleanup branch back to where we thought
it would be. I'll post the result in my fork as soon as it is ready,
and request comment. At that point, we should decide if we want to
rename it v1.0.x and force push, or rename it v1.0.x-maint (or
whatever) and delete the current v1.0.x branch.
Pauli, Jouni, any comments?
Darren
From: Skipper S. <jss...@gm...> - 2011年06月02日 21:41:54
On Tue, May 31, 2011 at 9:25 PM, Skipper Seabold <jss...@gm...> wrote:
> I filed a bug report here [1]. If squeeze is false, ret never gets defined.
>
> https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/pyplot.py#L794
>
> Skipper
>
> [1] https://sourceforge.net/tracker/?func=detail&aid=3309967&group_id=80706&atid=560720
>
> PS. Should I ping the user or devel list with bug reports (or neither)?
>
I went ahead and patched this, so our tests would run and our docs
would build with matplotlib master. I just made it how it was in the
1.0.1 tag.
https://github.com/matplotlib/matplotlib/pull/133
Skipper
From: Skipper S. <jss...@gm...> - 2011年06月02日 21:28:28
On Tue, May 31, 2011 at 9:18 PM, Skipper Seabold <jss...@gm...> wrote:
> It seems that this commit [1] changed the default directory for the
> sphinx plots directory (now needs to be alongside the directive and
> not in the directory above it?) and now our project's docs will not
> build across different versions of matplotlib without some magic. So I
> tried setting
>
> from os.path import dirname, abspath
> plot_basedir = dirname(dirname(abspath(__file__)))
>
> in our sphinx conf.py. We have source/conf.py and plots/ is in the
> parent directory of source for the directive plot::
> plots/some_file.py. However, now I get this error [2] and this
> traceback [3]. It seems the build/plot_directive folder is created
> before a subsequent call to os.makedir. If I move plots to its
> expected default location and then set the plot_basedir manually it's
> fine. Is this a bug or user error? Is there some reason our plots
> directory can't be in the parent directory of source?
>
> [1] https://github.com/matplotlib/matplotlib/commit/a205f5460f13d47aa5b5fad662005c382dd096ee
> [2] http://pastebin.com/KQp11CiS
> [3] http://pastebin.com/4LY1Pt1Q
>
> Skipper
>
Ok, there were two things going on here. First, when build_dir is
created it is joined with a relative path that will include '..' if
necessary. matplotlib.cbook.mkdirs does not handle this correctly, but
os.makedirs does. Is there a good reason to keep cbook.mkdirs? This
problem could also be solved with a call to os.path.normpath, which is
needed for the next issue anyway.
Second, since we call our source folder plots, there is a conflict
when trying to copy it over at the end to the destination directory.
This commit adds a call to os.path.normpath, replaces cbook.mkdirs
with os.makedirs, and only copies the plots to the destination
directory if there's a need.
https://github.com/matplotlib/matplotlib/pull/132
Skipper
From: Darren D. <dsd...@gm...> - 2011年06月02日 21:01:07
On Thu, Jun 2, 2011 at 4:46 PM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Wed, Jun 1, 2011 at 6:20 PM, Matthew Brett <mat...@gm...>
> wrote:
>>
>> Hi,
>>
>> On Wed, Jun 1, 2011 at 4:06 PM, Eric Firing <ef...@ha...> wrote:
>> > On 06/01/2011 12:38 PM, Matthew Brett wrote:
>> >> Hi,
>> >>
>> >> On Wed, Jun 1, 2011 at 12:58 PM, Eric Firing<ef...@ha...>
>> >> wrote:
>> >>>> The current practice worked very nicely with SVN (IMHO), and I think
>> >>>> it
>> >>>
>> >>> (I recall that Mike had to rescue us more than once from svnmerge
>> >>> confusions, at least during the earlier days.)
>> >>
>> >> I was just idly looking at the matplotlib network graph:
>> >>
>> >> https://github.com/matplotlib/matplotlib/network
>> >>
>> >> There seem to be lots of branches and cross merges ; the history of
>> >> 1.0.x is extremely confusing.
>> >
>> > Agreed!
>> >
>> >>
>> >> I wonder whether it would be worthwhile to review git workflow?
>> >
>> > Yes.
>> >
>> >>
>> >> I like Pauli's edits to the numpy gitwash docs in numpy for this.
>> >> I've actually just merged these back into the gitwash main docs,
>> >> example build here:
>> >
>> > I will have to take a look; mpl did pull some version of gitwash into
>> > its doc build.
>> >
>> >>
>> >> http://matthew-brett.github.com/pydagogue/gitwash/git_development.html
>> >
>> > Thanks, I will take a look.
>>
>> If you like what you see, then the 'gitwash_dumper.py' script will
>> pull a new copy into your repo...
>>
>> If you don't, then I'd love suggestions for improvements.
>>
>> >> Maybe the overall point is that git does require some thought to
>> >> history, and some rules-of-work, to avoid confusion.
>> >
>> > I think one of the problems is that documentation such as the Git book
>> > and at least early versions of gitwash, if I remember correctly,
>> > emphasize workflow for people who do not access the central repo
>> > directly. There has been much discussion on the lists of procedure for
>> > those who do push to central repos, but I am not sure to what extent it
>> > has gotten condensed down into a sufficiently simple set of rules and
>> > examples in the standard documentation. Maybe you and Pauli have done
>> > that now.
>>
>> That's quite right, we did more or less assume that the maintainers
>> were git experts, and yes, Pauli did fix that to some extent. The
>> result, as ported back by me, is this page, which is new, and needs
>> expanding:
>>
>> http://matthew-brett.github.com/pydagogue/gitwash/maintainer_workflow.html
>>
>> >>
>> >> I've been managing a maintenance branch for my much smaller nibabel
>> >> project without much trouble; I've just been doing the occasional
>> >> cherry-pick and rebase from trunk for bugfixes.
>> >
>> > In a way, this illustrates the difficulty: you describe a procedure for
>> > working with a maintenance branch that is completely different from the
>> > one we have been using (apart from the errors). What we have been doing
>> > is initiating bug fixes in the maintenance branch and then merging that
>> > branch to master. I'm sure either way can work fine, if one doesn't
>> > make mistakes. I'm not sure what the relative merits of the two methods
>> > are, in terms of simplicity, clarity, and robustness against errors. I
>> > think they result in very different graphs, correct? With your
>> > approach, the maintenance branch and master are separate lines, while
>> > with our approach, the merges keep pulling the branches together in the
>> > graph, even though their contents are steadily getting farther apart.
>>
>> I must confess that my git fu is not 10/10, but to me the idea of
>> _merging_ the maintenance branch into trunk is very confusing.  I
>> mean, the trees should increasingly diverge, surely, so there will be
>> more and more stuff you don't want to see back in trunk. At the
>> moment, you have to trust git magic to correctly leave out the commits
>> you don't want...
>>
>> See you,
>>
>> Matthew
>>
>
> While this is all very important and we should definitely come to an
> agreement about this, this still doesn't solve my issue at hand. I can not
> build the docs in the v1.0.x branch, therefore we can not push out a
> revision to the docs on sourceforge. Meanwhile, our website still has bad
> links and is pointing users to download version 1.0.0 instead of version
> 1.0.1 (which may explain why we still see some old bugs on the lists every
> now and then). What do we want to do about my pull request for the docs?
Hold tight, lets see if anything can be done to back out the change.
From: Darren D. <dsd...@gm...> - 2011年06月02日 21:00:05
Mike,
On Wed, Jun 1, 2011 at 2:26 PM, Michael Droettboom <md...@st...> wrote:
> Yes, it seems that the v1.0.x got hosed somehow back in early May. Eric
> Firing did some spelunking and traced it to a push I made, but I'm not sure
> what I did wrong, and I'm even less sure how to fix it. If someone with
> more git-fu wants to investigate and repair it, that would be fantastic, but
> I'm afraid to touch it myself.
I'm taking a guess here: gtk_crash was branched off of master, but
perhaps the pull request was registered against the v1.0.x branch. In
any case, gtk_crash was merged with v1.0.x. I've done something
similar myself, but I always merge into a clean local copy of v1.0.x
or master and inspect the history graph, so I noticed my mistake
before I actually pushed the changes.
I have a little time now, maybe something can be done to correct it.
From: Benjamin R. <ben...@ou...> - 2011年06月02日 20:46:53
On Wed, Jun 1, 2011 at 6:20 PM, Matthew Brett <mat...@gm...>wrote:
> Hi,
>
> On Wed, Jun 1, 2011 at 4:06 PM, Eric Firing <ef...@ha...> wrote:
> > On 06/01/2011 12:38 PM, Matthew Brett wrote:
> >> Hi,
> >>
> >> On Wed, Jun 1, 2011 at 12:58 PM, Eric Firing<ef...@ha...>
> wrote:
> >>>> The current practice worked very nicely with SVN (IMHO), and I think
> it
> >>>
> >>> (I recall that Mike had to rescue us more than once from svnmerge
> >>> confusions, at least during the earlier days.)
> >>
> >> I was just idly looking at the matplotlib network graph:
> >>
> >> https://github.com/matplotlib/matplotlib/network
> >>
> >> There seem to be lots of branches and cross merges ; the history of
> >> 1.0.x is extremely confusing.
> >
> > Agreed!
> >
> >>
> >> I wonder whether it would be worthwhile to review git workflow?
> >
> > Yes.
> >
> >>
> >> I like Pauli's edits to the numpy gitwash docs in numpy for this.
> >> I've actually just merged these back into the gitwash main docs,
> >> example build here:
> >
> > I will have to take a look; mpl did pull some version of gitwash into
> > its doc build.
> >
> >>
> >> http://matthew-brett.github.com/pydagogue/gitwash/git_development.html
> >
> > Thanks, I will take a look.
>
> If you like what you see, then the 'gitwash_dumper.py' script will
> pull a new copy into your repo...
>
> If you don't, then I'd love suggestions for improvements.
>
> >> Maybe the overall point is that git does require some thought to
> >> history, and some rules-of-work, to avoid confusion.
> >
> > I think one of the problems is that documentation such as the Git book
> > and at least early versions of gitwash, if I remember correctly,
> > emphasize workflow for people who do not access the central repo
> > directly. There has been much discussion on the lists of procedure for
> > those who do push to central repos, but I am not sure to what extent it
> > has gotten condensed down into a sufficiently simple set of rules and
> > examples in the standard documentation. Maybe you and Pauli have done
> > that now.
>
> That's quite right, we did more or less assume that the maintainers
> were git experts, and yes, Pauli did fix that to some extent. The
> result, as ported back by me, is this page, which is new, and needs
> expanding:
>
> http://matthew-brett.github.com/pydagogue/gitwash/maintainer_workflow.html
>
> >>
> >> I've been managing a maintenance branch for my much smaller nibabel
> >> project without much trouble; I've just been doing the occasional
> >> cherry-pick and rebase from trunk for bugfixes.
> >
> > In a way, this illustrates the difficulty: you describe a procedure for
> > working with a maintenance branch that is completely different from the
> > one we have been using (apart from the errors). What we have been doing
> > is initiating bug fixes in the maintenance branch and then merging that
> > branch to master. I'm sure either way can work fine, if one doesn't
> > make mistakes. I'm not sure what the relative merits of the two methods
> > are, in terms of simplicity, clarity, and robustness against errors. I
> > think they result in very different graphs, correct? With your
> > approach, the maintenance branch and master are separate lines, while
> > with our approach, the merges keep pulling the branches together in the
> > graph, even though their contents are steadily getting farther apart.
>
> I must confess that my git fu is not 10/10, but to me the idea of
> _merging_ the maintenance branch into trunk is very confusing. I
> mean, the trees should increasingly diverge, surely, so there will be
> more and more stuff you don't want to see back in trunk. At the
> moment, you have to trust git magic to correctly leave out the commits
> you don't want...
>
> See you,
>
> Matthew
>
>
While this is all very important and we should definitely come to an
agreement about this, this still doesn't solve my issue at hand. I can not
build the docs in the v1.0.x branch, therefore we can not push out a
revision to the docs on sourceforge. Meanwhile, our website still has bad
links and is pointing users to download version 1.0.0 instead of version
1.0.1 (which may explain why we still see some old bugs on the lists every
now and then). What do we want to do about my pull request for the docs?
Ben Root

Showing 11 results of 11

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /