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
2
(9)
3
(16)
4
(8)
5
(41)
6
(13)
7
(1)
8
(2)
9
(1)
10
(3)
11
(4)
12
(6)
13
(9)
14
(3)
15
(1)
16
17
(8)
18
(11)
19
(3)
20
(9)
21
(6)
22
(13)
23
(9)
24
(10)
25
(6)
26
(9)
27
(9)
28
(11)
29
(4)
30
(3)
31
(7)





Showing results of 233

<< < 1 2 3 4 .. 10 > >> (Page 2 of 10)
From: Darren D. <dsd...@gm...> - 2011年01月27日 21:39:09
On Thu, Jan 27, 2011 at 12:57 PM, Pauli Virtanen <pa...@ik...> wrote:
> 2011年1月27日 12:39:48 -0500, Darren Dale wrote:
> [clip]
>> Me too. I just posted the latest version of the repository to
>> github.com/darrendale/matplotlib.git . Its ~42MB, but it has a bunch of
>> unreachable objects. As soon as we figure out how to git rid of them, I
>> think we will be ready to freeze the svn repo and wrap this up.
>
> Unreachable from where? How do you know there are unreachable
> objects?
>
> Note that the snippet
>
>  git fsck --unreachable HEAD $(git for-each-ref --format="%(objectname)" refs/heads)
>
> only checks for objects unreachable from branches (by definition,
> stuff under refs/heads). However, there's also other stuff under refs/:
> tags and hidden branches. Especially the postprocess.sh script hides
> some branches.
>
> To see all that is there, check the output from
>
>  git for-each-ref
Oh, I didn't understand what I was doing with the git fsck command.
Still, Even after removing the the largest blob in the repo with
run git filter-branch --index-filter \
 'git rm --cached --ignore-unmatch release/osx/matplotlib-0.98.5.tar.gz' \
 -- 750059aa09340^..
the blob still exists, but is not associated with a commit according to
git log --pretty=oneline -- release/osx/matplotlib-0.98.5.tar.gz
That blob accounts for 1/4 of the total size of the repo. It would be
nice to get rid of it, if possible.
Darren
From: Pauli V. <pa...@ik...> - 2011年01月27日 21:19:10
to, 2011年01月27日 kello 13:44 -0500, Darren Dale kirjoitti:
[clip]
> Still, Even after removing the the largest blob in the repo with
> 
> run git filter-branch --index-filter \
> 'git rm --cached --ignore-unmatch release/osx/matplotlib-0.98.5.tar.gz' \
> -- 750059aa09340^..
>
> the blob still exists, but is not associated with a commit according to
> 
> git log --pretty=oneline -- release/osx/matplotlib-0.98.5.tar.gz
> 
> That blob accounts for 1/4 of the total size of the repo. It would be
> nice to get rid of it, if possible.
I think "git log" will show you only the current branch by default. Do
 git log --pretty=oneline --all -- release/osx/matplotlib-0.98.5.tar.gz
to get all branches, and do
 for branch in `git for-each-ref --format='%(refname)'`; do S=`git log --pretty=oneline $branch -- release/osx/matplotlib-0.98.5.tar.gz`; if test -n "$S"; then echo "$branch"; echo "$S"; fi; done
to see which refs have the commits containing it.
Similarly, git-filter-branch rewrites only the current branch unless
told otherwise. To filter everything, it's best to do
 git filter-branch --index-filter \
 	'git rm --cached --ignore-unmatch release/osx/matplotlib-0.98.5.tar.gz' \
 	-- `git for-each-ref --format="750059aa09340^..%(refname)"`
Note that all branches and tags should be filtered in the same way:
since rewriting changes the hashes of all following commits, you end up
with incompatible histories otherwise.
After that, I get down to 34 MB.
-- 
Pauli Virtanen
From: Pauli V. <pa...@ik...> - 2011年01月27日 17:57:47
2011年1月27日 12:39:48 -0500, Darren Dale wrote:
[clip]
> Me too. I just posted the latest version of the repository to
> github.com/darrendale/matplotlib.git . Its ~42MB, but it has a bunch of
> unreachable objects. As soon as we figure out how to git rid of them, I
> think we will be ready to freeze the svn repo and wrap this up.
Unreachable from where? How do you know there are unreachable
objects?
Note that the snippet
 git fsck --unreachable HEAD $(git for-each-ref --format="%(objectname)" refs/heads)
only checks for objects unreachable from branches (by definition,
stuff under refs/heads). However, there's also other stuff under refs/:
tags and hidden branches. Especially the postprocess.sh script hides
some branches.
To see all that is there, check the output from
 git for-each-ref
-- 
Pauli Virtanen
From: Darren D. <dsd...@gm...> - 2011年01月27日 17:39:59
On Thu, Jan 27, 2011 at 12:00 PM, John Hunter <jd...@gm...> wrote:
> On Thu, Jan 27, 2011 at 10:26 AM, Darren Dale <dsd...@gm...> wrote:
>> On Tue, Jan 25, 2011 at 11:37 PM, Jae-Joon Lee <lee...@gm...> wrote:
>>> And some of the biggest blobs are associated with svg and pdf files.
>>> It seems possible to remove these files (if needed) from the
>>> repository using "git-filter-branch" to further reduce the size, but
>>> I'm not sure if we need that.
>>
>> Some of this appears to be the result of some svn tags referencing the
>> contents of trunk/htdocs. It looks like I can cut 25 MB off the size
>> of the repo.
>
> That feels pretty good to me, considering that the compressed release
> tarball is 13MB. If we can get the whole history for twice that, then
> you must be getting pretty close to the limit.
Me too. I just posted the latest version of the repository to
github.com/darrendale/matplotlib.git . Its ~42MB, but it has a bunch
of unreachable objects. As soon as we figure out how to git rid of
them, I think we will be ready to freeze the svn repo and wrap this
up.
From: John H. <jd...@gm...> - 2011年01月27日 17:01:17
On Thu, Jan 27, 2011 at 10:26 AM, Darren Dale <dsd...@gm...> wrote:
> On Tue, Jan 25, 2011 at 11:37 PM, Jae-Joon Lee <lee...@gm...> wrote:
>> And some of the biggest blobs are associated with svg and pdf files.
>> It seems possible to remove these files (if needed) from the
>> repository using "git-filter-branch" to further reduce the size, but
>> I'm not sure if we need that.
>
> Some of this appears to be the result of some svn tags referencing the
> contents of trunk/htdocs. It looks like I can cut 25 MB off the size
> of the repo.
That feels pretty good to me, considering that the compressed release
tarball is 13MB. If we can get the whole history for twice that, then
you must be getting pretty close to the limit.
JDH
From: Darren D. <dsd...@gm...> - 2011年01月27日 16:26:27
On Tue, Jan 25, 2011 at 11:37 PM, Jae-Joon Lee <lee...@gm...> wrote:
> And some of the biggest blobs are associated with svg and pdf files.
> It seems possible to remove these files (if needed) from the
> repository using "git-filter-branch" to further reduce the size, but
> I'm not sure if we need that.
Some of this appears to be the result of some svn tags referencing the
contents of trunk/htdocs. It looks like I can cut 25 MB off the size
of the repo.
From: Darren D. <dsd...@gm...> - 2011年01月27日 15:37:18
On Wed, Jan 26, 2011 at 6:35 AM, Jae-Joon Lee <lee...@gm...> wrote:
> On Wed, Jan 26, 2011 at 7:28 PM, Pauli Virtanen <pa...@ik...> wrote:
>> The complete magic stanza is:
>>
>> git reflog expire --expire=0 --all
>> git prune
>> git repack -f -a -d
>> git gc --prune=0
>
> Wonderful!
> With this, I get about 40 MB!
How did you manage to do that? Using these steps (which have been
added to the postprocess.sh script):
---
run git filter-branch --index-filter \
 'git rm --cached --ignore-unmatch release/osx/matplotlib-0.98.5.tar.gz' \
 -- 750059aa09340^..
rm -Rf refs/original
rm -Rf logs
run git reflog expire --expire=0 --all
run git prune
run git repack -f -a -d --depth=250 --window=250
run git gc --prune=0
---
I only get down to 65 MB, at which point "git fsck --unreachable HEAD"
indicates a slew of unreachable blobs, trees, and commits, one of
which is:
3b8b6c010f8ce59afac1e811b1bbc3efc21b770a release/osx/matplotlib-0.98.5.tar.gz
yet "git log --pretty=oneline -- release/osx/matplotlib-0.98.5.tar.gz"
shows it is no longer associated with any commits. Rerunning the
"reflog/prune/repack/gc" block doesn't seem to help at this point.
From: Benjamin R. <ben...@ou...> - 2011年01月27日 00:41:25
On Wednesday, January 26, 2011, Darren Dale <dsd...@gm...> wrote:
> On Wed, Jan 26, 2011 at 7:44 AM, Darren Dale <dsd...@gm...> wrote:
>> Last night I noticed that, in the git repo, the commit messages
>> produced by svnmerge.py still contain a lot of svn-specific
>> information. Pauli's conversion script includes a step that filters
>> out two lines at the end of each commit containing some svn metadata,
>> but for svnmerge commits we still end up with:
>>
>>  Merged revisions 8933 via svnmerge from
>>  https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint
>>
>>  ........
>>   r8933 | weathergod | 2011年01月22日 10:35:26 -0600 (Sat, 22 Jan
>> 2011) | 3 lines
>>
>>   Fixing problem where reversed colormaps of
>> LinearSegmentedColormaps were not initialized properly.
>>   Thanks to LittleBigBrain for reporting and Friedrich Romstedt
>> for making the original patch.
>>  ........
>>
>> Do we live with this, or try to replace references to svn commits with
>> their git hash and references to svn branches with the git ones?
>
> I think I just convinced myself that replacing svn references with git
> hashes would be a Herculean task. One could generate a
> svn_rev:git_hash mapping, but then changing the commit message
> actually yields a new git hash, breaking the mapping. Its not an
> impossible task, but it would be a lot of work and difficult to check.
> Leaving the svn path and revision information will probably be more
> reliable. "git log --all" will therefore yield enough information that
> we can easily identify the provenance of a cherry pick and find it in
> the git history:
>
> commit adb1a7f67daf955a1af3a86d42b5181767c18819
> Author: Ben Root <ben...@gm...>
> Date:  Sat Jan 22 16:40:21 2011 +0000
>
>  Merged revisions 8933 via svnmerge from
>  https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_main
>
>  ........
>   r8933 | weathergod | 2011年01月22日 10:35:26 -0600 (2011年1月22日) | 3 line
>
>   Fixing problem where reversed colormaps of LinearSegmentedColormaps were n
>   Thanks to LittleBigBrain for reporting and Friedrich Romstedt for making t
>  ........
>
>  svn path=/trunk/matplotlib/; revision=8934
>
> commit 2fa57c710607496a93000bfb3191bdd422f518cc
> Author: Ben Root <ben...@gm...>
> Date:  Sat Jan 22 16:35:26 2011 +0000
>
>  Fixing problem where reversed colormaps of LinearSegmentedColormaps were not
>  Thanks to LittleBigBrain for reporting and Friedrich Romstedt for making the
>
>  svn path=/branches/v1_0_maint/; revision=8933
>
>
> Is this satisfactory?
>
> Darren
>
I think it is fine. Maybe a nice convenience script would be one that
would return a got hash for a svn revision number (and vice verse?).
With that, I would be more than happy with how the logs are.
Ben Root
From: Darren D. <dsd...@gm...> - 2011年01月26日 22:37:18
On Wed, Jan 26, 2011 at 7:44 AM, Darren Dale <dsd...@gm...> wrote:
> Last night I noticed that, in the git repo, the commit messages
> produced by svnmerge.py still contain a lot of svn-specific
> information. Pauli's conversion script includes a step that filters
> out two lines at the end of each commit containing some svn metadata,
> but for svnmerge commits we still end up with:
>
>  Merged revisions 8933 via svnmerge from
>  https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint
>
>  ........
>   r8933 | weathergod | 2011年01月22日 10:35:26 -0600 (Sat, 22 Jan
> 2011) | 3 lines
>
>   Fixing problem where reversed colormaps of
> LinearSegmentedColormaps were not initialized properly.
>   Thanks to LittleBigBrain for reporting and Friedrich Romstedt
> for making the original patch.
>  ........
>
> Do we live with this, or try to replace references to svn commits with
> their git hash and references to svn branches with the git ones?
I think I just convinced myself that replacing svn references with git
hashes would be a Herculean task. One could generate a
svn_rev:git_hash mapping, but then changing the commit message
actually yields a new git hash, breaking the mapping. Its not an
impossible task, but it would be a lot of work and difficult to check.
Leaving the svn path and revision information will probably be more
reliable. "git log --all" will therefore yield enough information that
we can easily identify the provenance of a cherry pick and find it in
the git history:
commit adb1a7f67daf955a1af3a86d42b5181767c18819
Author: Ben Root <ben...@gm...>
Date: Sat Jan 22 16:40:21 2011 +0000
 Merged revisions 8933 via svnmerge from
 https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_main
 ........
 r8933 | weathergod | 2011年01月22日 10:35:26 -0600 (2011年1月22日) | 3 line
 Fixing problem where reversed colormaps of LinearSegmentedColormaps were n
 Thanks to LittleBigBrain for reporting and Friedrich Romstedt for making t
 ........
 svn path=/trunk/matplotlib/; revision=8934
commit 2fa57c710607496a93000bfb3191bdd422f518cc
Author: Ben Root <ben...@gm...>
Date: Sat Jan 22 16:35:26 2011 +0000
 Fixing problem where reversed colormaps of LinearSegmentedColormaps were not
 Thanks to LittleBigBrain for reporting and Friedrich Romstedt for making the
 svn path=/branches/v1_0_maint/; revision=8933
Is this satisfactory?
Darren
From: Eric F. <ef...@ha...> - 2011年01月26日 21:52:50
On 01/25/2011 06:53 PM, Eric Firing wrote:
[...]
>
> Darren,
>
> It looks like at least some of the problem is the origin/unit_support:
>
> efiring@manini:~/test/matplotlib.git.ddale$ git checkout origin/unit_support
> Checking out files: 100% (4514/4514), done.
> Note: checking out 'origin/unit_support'.
> [...]
> HEAD is now at 8d705be... refactoring, moved units conversion to
> units.UnitsManager
> efiring@manini:~/test/matplotlib.git.ddale$ ls
> course CVSROOT htdocs matplotlib scipy06 toolkits users_guide
>
> It appears to have branched trunk, not trunk/matplotlib. Junk it!
>
> I think that losing some bits of history from the git repo is entirely
> acceptable. The history is still in the svn repo, if anyone really
> needs to dig back into the earliest recorded origins of unit_support.
>
> Eric
Or, maybe a rule like this will work?
match /branches/unit_support/matplotlib/
 repository matplotlib
 branch unit_support
end match
(I don't know how significant the parentheses are; I am guessing they 
are for regular expressions, which are not needed here.)
Eric
From: Darren D. <dsd...@gm...> - 2011年01月26日 12:44:21
On Wed, Jan 26, 2011 at 6:42 AM, Pauli Virtanen <pa...@ik...> wrote:
> 2011年1月26日 20:35:03 +0900, Jae-Joon Lee wrote:
>> On Wed, Jan 26, 2011 at 7:28 PM, Pauli Virtanen
>> <pa...@ik...> wrote:
>>> The complete magic stanza is:
>>>
>>> git reflog expire --expire=0 --all
>>> git prune
>>> git repack -f -a -d
>>> git gc --prune=0
>>
>> Wonderful!
>> With this, I get about 40 MB!
>
> Some additional compression can be obtained by passing also suitable
> values for the --window and --depth flags for git repack.
>
> http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/
Thank you all for the helpful feedback. I'll work on this again this evening.
Last night I noticed that, in the git repo, the commit messages
produced by svnmerge.py still contain a lot of svn-specific
information. Pauli's conversion script includes a step that filters
out two lines at the end of each commit containing some svn metadata,
but for svnmerge commits we still end up with:
 Merged revisions 8933 via svnmerge from
 https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint
 ........
 r8933 | weathergod | 2011年01月22日 10:35:26 -0600 (2011年1月22日) | 3 lines
 Fixing problem where reversed colormaps of
LinearSegmentedColormaps were not initialized properly.
 Thanks to LittleBigBrain for reporting and Friedrich Romstedt
for making the original patch.
 ........
Do we live with this, or try to replace references to svn commits with
their git hash and references to svn branches with the git ones? I
tried merging the v.1.0.x branch into master, which applied pretty
cleanly, with only a few minor merge conflicts:
$ git merge origin/v1.0.x
Auto-merging CHANGELOG
CONFLICT (content): Merge conflict in CHANGELOG
Auto-merging examples/api/quad_bezier.py
CONFLICT (content): Merge conflict in examples/api/quad_bezier.py
Auto-merging lib/matplotlib/__init__.py
CONFLICT (content): Merge conflict in lib/matplotlib/__init__.py
Auto-merging lib/matplotlib/axes.py
Auto-merging lib/matplotlib/backends/backend_macosx.py
Auto-merging lib/matplotlib/backends/backend_ps.py
Auto-merging lib/matplotlib/backends/backend_qt4.py
Auto-merging lib/matplotlib/tests/test_axes.py
Auto-merging lib/matplotlib/text.py
Auto-merging lib/matplotlib/ticker.py
CONFLICT (content): Merge conflict in lib/matplotlib/ticker.py
Auto-merging src/_gtkagg.cpp
Auto-merging src/_macosx.m
CONFLICT (content): Merge conflict in src/_macosx.m
Here is the CHANGELOG:
<<<<<<< HEAD
2011年01月13日 Added zdir and offset arguments to contourf3d to
 bring contourf3d in feature parity with contour3d. - BVR
2011年01月04日 Tag 1.0.1 for release at r8896
2011年01月03日 Added display of ticker offset to 3d plots. - BVR
2011年01月03日 Turn off tick labeling on interior subplots for
 pyplots.subplots when sharex/sharey is True. - JDH
2010年12月29日 Implment axes_divider.HBox and VBox. -JJL
=======
2011年01月04日 Tag 1.0.1 for release at r8896
>>>>>>> origin/v1.0.x
From: Pauli V. <pa...@ik...> - 2011年01月26日 12:20:33
2011年1月25日 18:12:35 -0500, Darren Dale wrote:
[clip]
> Pauli: could I trouble you to have a look at my rules file, maybe you
> will notice something I overlooked?
> (https://github.com/darrendale/mpl2git/blob/master/matplotlib.rules) Any
> other ideas?
As an additional check, I'd suggest checking that the history graph
in each repository is simple. Find all root (parentless) commits:
 git rev-list --parents master | egrep "^[a-f0-9]{40}$" # for master branch
 git rev-list --parents --all | egrep "^[a-f0-9]{40}$" # all branches
There should be only one root commit, unless there is a very good
reason to have several.
If there are multiple root commits, this may indicate that
the history was splintered into several parts (e.g. due to complicated 
SVN moves), which needs manual grafting to connect the parts.
For perfectionists, I'd also suggest eyeballing the "gitk --all" DAG.
-- 
Pauli Virtanen
From: Pauli V. <pa...@ik...> - 2011年01月26日 11:43:27
2011年1月26日 20:35:03 +0900, Jae-Joon Lee wrote:
> On Wed, Jan 26, 2011 at 7:28 PM, Pauli Virtanen
> <pa...@ik...> wrote:
>> The complete magic stanza is:
>>
>> git reflog expire --expire=0 --all
>> git prune
>> git repack -f -a -d
>> git gc --prune=0
> 
> Wonderful!
> With this, I get about 40 MB!
Some additional compression can be obtained by passing also suitable 
values for the --window and --depth flags for git repack.
http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/
	Pauli
From: Jae-Joon L. <lee...@gm...> - 2011年01月26日 11:35:27
On Wed, Jan 26, 2011 at 7:28 PM, Pauli Virtanen <pa...@ik...> wrote:
> The complete magic stanza is:
>
> git reflog expire --expire=0 --all
> git prune
> git repack -f -a -d
> git gc --prune=0
Wonderful!
With this, I get about 40 MB!
Regards,
-JJ
From: Pauli V. <pa...@ik...> - 2011年01月26日 10:28:58
2011年1月26日 13:37:59 +0900, Jae-Joon Lee wrote:
[clip]
> I spend an hour to figure out how we can delete these unreachable
> objects. But it turned out that the answer seems to be simple.
> 
> $ git repack -ad
The complete magic stanza is:
git reflog expire --expire=0 --all
git prune
git repack -f -a -d
git gc --prune=0
From: Eric F. <ef...@ha...> - 2011年01月26日 04:53:34
On 01/25/2011 01:38 PM, Darren Dale wrote:
> On Tue, Jan 25, 2011 at 6:12 PM, Darren Dale<dsd...@gm...> wrote:
>> There is still an outstanding issue that must be taken care of before
>> we migrate. The conversion routines create a basemap repository out of
>> trunk/toolkits/basemap, and matplotlib repository out of
>> trunk/matplotlib. Still, the matplotlib repo (at
>> github.com/darrendale/matplotlib) is over 200 MB. One can search the
>> objects in the large packfile, and find that there are still
>> references to basemap data in the matplotlib repo. I don't know how it
>> got in there, nor how to remove it.
>
Darren,
It looks like at least some of the problem is the origin/unit_support:
efiring@manini:~/test/matplotlib.git.ddale$ git checkout origin/unit_support
Checking out files: 100% (4514/4514), done.
Note: checking out 'origin/unit_support'.
[...]
HEAD is now at 8d705be... refactoring, moved units conversion to 
units.UnitsManager
efiring@manini:~/test/matplotlib.git.ddale$ ls
course CVSROOT htdocs matplotlib scipy06 toolkits users_guide
It appears to have branched trunk, not trunk/matplotlib. Junk it!
I think that losing some bits of history from the git repo is entirely 
acceptable. The history is still in the svn repo, if anyone really 
needs to dig back into the earliest recorded origins of unit_support.
Eric
> I went through the exercise of identifying the largest blob, as
> described near the end of http://progit.org/book/ch9-7.html :
>
> $ git verify-pack -v
> objects/pack/pack-fa44ca56d7ec3964e562494f2fe08203143074bd.idx | sort
> -k 3 -n | tail -3
> 3b8b6c010f8ce59afac1e811b1bbc3efc21b770a blob 9154481 9089827 62749144
> 6328b70e665b58ed7f5aa1e110418cbb3facc07a blob 9331200 94297 156884507
> f784efc1518b10dff33673ad9a7a1ac3a7d107d5 blob 51399604 14333430 162328624
>
> $ git rev-list --objects --all | grep f784efc1518b10dff
> f784efc1518b10dff33673ad9a7a1ac3a7d107d5 toolkits/basemap/data/gshhs_h.txt
>
> This shell script is supposed to identify which commits have that blob
> in their tree (http://stackoverflow.com/questions/223678/git-which-commit-has-this-blob):
>
> ---
> #!/bin/sh
> obj_name="1ドル"
> shift
> git log "$@" --pretty=format:'%T %h %s' \
> | while read tree commit subject ; do
> if git ls-tree -r $tree | grep -q "$obj_name" ; then
> echo $commit "$subject"
> fi
> done
> ---
>
> but it comes up empty, so now I'm stuck. Any ideas would be greatly appreciated.
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Jae-Joon L. <lee...@gm...> - 2011年01月26日 04:38:22
On Wed, Jan 26, 2011 at 8:38 AM, Darren Dale <dsd...@gm...> wrote:
> On Tue, Jan 25, 2011 at 6:12 PM, Darren Dale <dsd...@gm...> wrote:
>> There is still an outstanding issue that must be taken care of before
>> we migrate. The conversion routines create a basemap repository out of
>> trunk/toolkits/basemap, and matplotlib repository out of
>> trunk/matplotlib. Still, the matplotlib repo (at
>> github.com/darrendale/matplotlib) is over 200 MB. One can search the
>> objects in the large packfile, and find that there are still
>> references to basemap data in the matplotlib repo. I don't know how it
>> got in there, nor how to remove it.
>
> I went through the exercise of identifying the largest blob, as
> described near the end of http://progit.org/book/ch9-7.html :
>
> $ git verify-pack -v
> objects/pack/pack-fa44ca56d7ec3964e562494f2fe08203143074bd.idx | sort
> -k 3 -n | tail -3
> 3b8b6c010f8ce59afac1e811b1bbc3efc21b770a blob  9154481 9089827 62749144
> 6328b70e665b58ed7f5aa1e110418cbb3facc07a blob  9331200 94297 156884507
> f784efc1518b10dff33673ad9a7a1ac3a7d107d5 blob  51399604 14333430 162328624
>
> $ git rev-list --objects --all | grep f784efc1518b10dff
> f784efc1518b10dff33673ad9a7a1ac3a7d107d5 toolkits/basemap/data/gshhs_h.txt
>
> This shell script is supposed to identify which commits have that blob
> in their tree (http://stackoverflow.com/questions/223678/git-which-commit-has-this-blob):
>
> ---
> #!/bin/sh
> obj_name="1ドル"
> shift
> git log "$@" --pretty=format:'%T %h %s' \
> | while read tree commit subject ; do
>  if git ls-tree -r $tree | grep -q "$obj_name" ; then
>    echo $commit "$subject"
>  fi
> done
> ---
>
> but it comes up empty, so now I'm stuck. Any ideas would be greatly appreciated.
>
First of all, I must clarify that I'm not a git expert by any means.
I suspected this could be some dangling objects within the repository,
which could be side effects of svn2git. After some googling, I found
that
$ git fsck --unreachable HEAD $(git for-each-ref
--format="%(objectname)" refs/heads)
This gave me 2774 objects which includes the blob of
"toolkits/basemap/data/gshhs_h.txt".
Since they are unreachable, I suppose that they can be simply removed.
I spend an hour to figure out how we can delete these unreachable
objects. But it turned out that the answer seems to be simple.
$ git repack -ad
Now there is no unreachable object reported and this seems to reduce
the total size down to ~140 MB.
Now the biggest blob is for "release/osx/matplotlib-0.98.5.tar.gz". and
$ git log -r -- release/osx/matplotlib-0.98.5.tar.gz
works as expected.
And some of the biggest blobs are associated with svg and pdf files.
It seems possible to remove these files (if needed) from the
repository using "git-filter-branch" to further reduce the size, but
I'm not sure if we need that.
IHTH,
-JJ
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Darren D. <dsd...@gm...> - 2011年01月25日 23:39:04
On Tue, Jan 25, 2011 at 6:12 PM, Darren Dale <dsd...@gm...> wrote:
> There is still an outstanding issue that must be taken care of before
> we migrate. The conversion routines create a basemap repository out of
> trunk/toolkits/basemap, and matplotlib repository out of
> trunk/matplotlib. Still, the matplotlib repo (at
> github.com/darrendale/matplotlib) is over 200 MB. One can search the
> objects in the large packfile, and find that there are still
> references to basemap data in the matplotlib repo. I don't know how it
> got in there, nor how to remove it.
I went through the exercise of identifying the largest blob, as
described near the end of http://progit.org/book/ch9-7.html :
$ git verify-pack -v
objects/pack/pack-fa44ca56d7ec3964e562494f2fe08203143074bd.idx | sort
-k 3 -n | tail -3
3b8b6c010f8ce59afac1e811b1bbc3efc21b770a blob 9154481 9089827 62749144
6328b70e665b58ed7f5aa1e110418cbb3facc07a blob 9331200 94297 156884507
f784efc1518b10dff33673ad9a7a1ac3a7d107d5 blob 51399604 14333430 162328624
$ git rev-list --objects --all | grep f784efc1518b10dff
f784efc1518b10dff33673ad9a7a1ac3a7d107d5 toolkits/basemap/data/gshhs_h.txt
This shell script is supposed to identify which commits have that blob
in their tree (http://stackoverflow.com/questions/223678/git-which-commit-has-this-blob):
---
#!/bin/sh
obj_name="1ドル"
shift
git log "$@" --pretty=format:'%T %h %s' \
| while read tree commit subject ; do
 if git ls-tree -r $tree | grep -q "$obj_name" ; then
 echo $commit "$subject"
 fi
done
---
but it comes up empty, so now I'm stuck. Any ideas would be greatly appreciated.
From: Darren D. <dsd...@gm...> - 2011年01月25日 23:12:43
On Tue, Jan 25, 2011 at 3:06 PM, Darren Dale <dsd...@gm...> wrote:
> On Tue, Jan 25, 2011 at 1:31 PM, Pauli Virtanen <pa...@ik...> wrote:
>> 2011年1月25日 12:19:37 -0500, Darren Dale wrote:
>>> There is a potential problem converting the entire basemap history to
>>> git. In svn commit 4418, trunk/toolkits had basemap and basemap-testing
>>> directories. In commit 4419, basemap was renamed basemap-0.9.6.1, so
>>> there was only basemap-0.9.6.1 and basemap-testing. In commit 4420,
>>> basemap-testing is renamed basemap. The git history only goes back as
>>> far as svn4420, it looks like the conversion routines get confused by
>>> the temporary absence of the basemap directory.
>>>
>>> I'm trying to find a workaround, but if I can't... ?
>>
>> You can maybe do it like this:
>>
>> 1) Write matplotlib.rules so that all of the directories where basemap
>> stuff has been ends in the basemap repository. (I'm assuming this does
>> not error out...)
>
> Aha! I thought I had tried that. Thanks.
>
>> 2) This will create a number of separate heads in the basemap repo that
>> do not share common history.
>>
>> 3) Add graft rules in matplotlib.grafts to stitch the disconnected
>> history graphs together.
>
> Mercifully, the latest checkout of svn2git seems to take care of that.
> I've developed a wicked headache.
>
> Jeff, the repository is temporarily available at
> https://github.com/darrendale/basemap . It would be really helpful if
> you would have a look at the network graph at
> https://github.com/darrendale/basemap/network to make sure there are
> no surprises, maybe clone the repository and check that the working
> directory is identical to your svn checkout.
There is still an outstanding issue that must be taken care of before
we migrate. The conversion routines create a basemap repository out of
trunk/toolkits/basemap, and matplotlib repository out of
trunk/matplotlib. Still, the matplotlib repo (at
github.com/darrendale/matplotlib) is over 200 MB. One can search the
objects in the large packfile, and find that there are still
references to basemap data in the matplotlib repo. I don't know how it
got in there, nor how to remove it.
Jeff: was there ever any basemap data committed directly to trunk/matplotlib?
Pauli: could I trouble you to have a look at my rules file, maybe you
will notice something I overlooked?
(https://github.com/darrendale/mpl2git/blob/master/matplotlib.rules)
Any other ideas?
Thanks
Darren
From: Darren D. <dsd...@gm...> - 2011年01月25日 20:06:29
On Tue, Jan 25, 2011 at 1:31 PM, Pauli Virtanen <pa...@ik...> wrote:
> 2011年1月25日 12:19:37 -0500, Darren Dale wrote:
>> There is a potential problem converting the entire basemap history to
>> git. In svn commit 4418, trunk/toolkits had basemap and basemap-testing
>> directories. In commit 4419, basemap was renamed basemap-0.9.6.1, so
>> there was only basemap-0.9.6.1 and basemap-testing. In commit 4420,
>> basemap-testing is renamed basemap. The git history only goes back as
>> far as svn4420, it looks like the conversion routines get confused by
>> the temporary absence of the basemap directory.
>>
>> I'm trying to find a workaround, but if I can't... ?
>
> You can maybe do it like this:
>
> 1) Write matplotlib.rules so that all of the directories where basemap
> stuff has been ends in the basemap repository. (I'm assuming this does
> not error out...)
Aha! I thought I had tried that. Thanks.
> 2) This will create a number of separate heads in the basemap repo that
> do not share common history.
>
> 3) Add graft rules in matplotlib.grafts to stitch the disconnected
> history graphs together.
Mercifully, the latest checkout of svn2git seems to take care of that.
I've developed a wicked headache.
Jeff, the repository is temporarily available at
https://github.com/darrendale/basemap . It would be really helpful if
you would have a look at the network graph at
https://github.com/darrendale/basemap/network to make sure there are
no surprises, maybe clone the repository and check that the working
directory is identical to your svn checkout.
Darren
From: Pauli V. <pa...@ik...> - 2011年01月25日 18:31:34
2011年1月25日 12:19:37 -0500, Darren Dale wrote:
> There is a potential problem converting the entire basemap history to
> git. In svn commit 4418, trunk/toolkits had basemap and basemap-testing
> directories. In commit 4419, basemap was renamed basemap-0.9.6.1, so
> there was only basemap-0.9.6.1 and basemap-testing. In commit 4420,
> basemap-testing is renamed basemap. The git history only goes back as
> far as svn4420, it looks like the conversion routines get confused by
> the temporary absence of the basemap directory.
> 
> I'm trying to find a workaround, but if I can't... ?
You can maybe do it like this:
1) Write matplotlib.rules so that all of the directories where basemap 
stuff has been ends in the basemap repository. (I'm assuming this does 
not error out...)
2) This will create a number of separate heads in the basemap repo that 
do not share common history.
3) Add graft rules in matplotlib.grafts to stitch the disconnected 
history graphs together.
This happened also with Numpy: part of the old history had a this sort of 
a rename and so part of the history was not connected to the main graph. 
So I just stitched the graphs together manually.
-- 
Pauli Virtanen
From: Darren D. <dsd...@gm...> - 2011年01月25日 17:19:52
There is a potential problem converting the entire basemap history to
git. In svn commit 4418, trunk/toolkits had basemap and
basemap-testing directories. In commit 4419, basemap was renamed
basemap-0.9.6.1, so there was only basemap-0.9.6.1 and
basemap-testing. In commit 4420, basemap-testing is renamed basemap.
The git history only goes back as far as svn4420, it looks like the
conversion routines get confused by the temporary absence of the
basemap directory.
I'm trying to find a workaround, but if I can't... ?
From: Sandro T. <mo...@de...> - 2011年01月25日 17:03:30
Sorry it was my fault: /dev/shm was not mounted in the chroot where I
built the package so multiprocessing wasn't able to create semaphores.
It's building fine now.
On Thu, Jan 20, 2011 at 22:58, Sandro Tosi <mo...@de...> wrote:
> Hi all,
> I'm fighting against this weirdness since some days: if I build mpl
> debian package on my system, it builds normally, but if I build the
> package in a clean chroot it fails, and I only noticed because I want
> to create a link in doc/build/html/_static dir, that's missing. and
> I'm wondering why! I can't seem to find a clear answer to that, so I'm
> asking for any advice yo might have.
>
> The full log of the package build in the chroot is at [1] (it's quite
> large expanded); at the end of the file there are some ls -lR to try
> to identify what's going wrong.
>
> [1] http://people.debian.org/~morph/matplotlib_1.0.1-1_amd64.build.bz2
>
> Thanks in advance,
> --
> Sandro Tosi (aka morph, morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
>
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Darren D. <dsd...@gm...> - 2011年01月24日 15:45:30
On Mon, Jan 24, 2011 at 9:18 AM, John Hunter <jd...@gm...> wrote:
> On Mon, Jan 24, 2011 at 8:11 AM, Darren Dale <dsd...@gm...> wrote:
>
>> That said, I have the conversion routines set up right now to create a
>> separate "toolkits" repository, which currently includes all the
>> contents of trunk/toolkits. I can tailor this further to split the
>> toolkits up and create a repository for each, if thats how people want
>> to do it. Those repos could either be hosted as separate repositories
>> under the matplotlib github organization, or maybe better as a
>> repository under a separate github project. In case of the latter, I
>> can temporarily publish the repository at my own account, long enough
>> for Jeff to clone it (don't fork it using githubs fork button!) and
>> push it to its final destination.
>
> I think mplsize should just be moved into lib/mpl_toolkits so it can
> be picked up by a default mpl installation. It's small enough that it
> probably doesn't need it's own repo. What do you think Andrew?
I guess this can be done after the conversion: split it into its own
repo, fix the hierarchy and then do an external merge from that repo
to draw it into the matplotlib repo under lib/mpl_toolkits.
From: Jeff W. <js...@fa...> - 2011年01月24日 15:29:57
On 1/24/11 7:11 AM, Darren Dale wrote:
> On Mon, Jan 24, 2011 at 8:48 AM, John Hunter<jd...@gm...> wrote:
>> On Mon, Jan 24, 2011 at 7:18 AM, Jeff Whitaker<js...@fa...> wrote:
>>
>>> Regarding basemap, what do people recommend? Should I create a separate
>>> github project for basemap and it's data?
>> I think that would be ideal. Unlink svn, in git you can't have full
>> featured subdirectory checkouts, and since some of the projects,
>> basemap included are too large to include with the core, the best
>> solution is to put them in a separate repository. This complicates
>> keeping versions in sync, but it seems like the best solution.
> That said, I have the conversion routines set up right now to create a
> separate "toolkits" repository, which currently includes all the
> contents of trunk/toolkits. I can tailor this further to split the
> toolkits up and create a repository for each, if thats how people want
> to do it. Those repos could either be hosted as separate repositories
> under the matplotlib github organization, or maybe better as a
> repository under a separate github project. In case of the latter, I
> can temporarily publish the repository at my own account, long enough
> for Jeff to clone it (don't fork it using githubs fork button!) and
> push it to its final destination.
>
> Darren
Darren: I think having them as separate repos under the matplotlib 
organization is fine. If you could do that I would be grateful.
-Jeff
2 messages has been excluded from this view by a project administrator.

Showing results of 233

<< < 1 2 3 4 .. 10 > >> (Page 2 of 10)
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 によって変換されたページ (->オリジナル) /