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 9 results of 9

From: Darren D. <dsd...@gm...> - 2011年01月27日 22:01:35
On Thu, Jan 27, 2011 at 4:18 PM, Pauli Virtanen <pa...@ik...> wrote:
> 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.
You are brilliant. If you send me your address off-list, I'll send you
a bottle of scotch, or tequila, or a doughnut, or whatever you want.
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

Showing 9 results of 9

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 によって変換されたページ (->オリジナル) /