Re: [OT] Re: Git repository with full GCC history

2007-06-08 Thread Harvey Harrison
On 6/7/07, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: Harvey Harrison wrote: > The final results of a repository holding a clone of trunk: With or without branches? (shouldn't matter that much, just for the record) Just trunk. > Size of git packs: > pack + index - 286344kB > git svn met

Re: [OT] Re: Git repository with full GCC history

2007-06-07 Thread Bernardo Innocenti
Harvey Harrison wrote: The final results of a repository holding a clone of trunk: With or without branches? (shouldn't matter that much, just for the record) Size of git packs: pack + index - 286344kB git svn metadata - nearly 13MB, allows incremental updates as more commits made in svn.

Re: [OT] Re: Git repository with full GCC history

2007-06-07 Thread Harvey Harrison
On 6/4/07, David Woodhouse <[EMAIL PROTECTED]> wrote: On Sun, 2007-06-03 at 19:57 -0700, Harvey Harrison wrote: > If I can reproduce it I'll see if I can find some webspace. I figured out my operator error with git gc. The final results of a repository holding a clone of trunk: Size of git p

Re: [OT] Re: Git repository with full GCC history

2007-06-04 Thread Bernardo Innocenti
Jan-Benedict Glaw wrote: Come visit git.infradead.org and its GCC development fork. *cough* No reason to fork. At least I'm just too used to GIT these days and like it quite a lot, that's why I work on getting the toolchain repos converted (and kept up-to-date!) somewhere as GIT repos. Err.

Re: [OT] Re: Git repository with full GCC history

2007-06-04 Thread Jan-Benedict Glaw
On Mon, 2007-06-04 05:17:17 -0400, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > David Woodhouse wrote: > > On Sun, 2007-06-03 at 19:57 -0700, Harvey Harrison wrote: > > > If I can reproduce it I'll see if I can find some webspace. > > > > If you mail me a SSH public key you can also put it on >

Re: [OT] Re: Git repository with full GCC history

2007-06-04 Thread Bernardo Innocenti
David Woodhouse wrote: On Sun, 2007-06-03 at 19:57 -0700, Harvey Harrison wrote: If I can reproduce it I'll see if I can find some webspace. If you mail me a SSH public key you can also put it on git.infradead.org. Come visit git.infradead.org and its GCC development fork. -- // Bernardo

Re: [OT] Re: Git repository with full GCC history

2007-06-04 Thread David Woodhouse
On Sun, 2007-06-03 at 19:57 -0700, Harvey Harrison wrote: > If I can reproduce it I'll see if I can find some webspace. If you mail me a SSH public key you can also put it on git.infradead.org. -- dwmw2

Re: [OT] Re: Git repository with full GCC history

2007-06-03 Thread Harvey Harrison
On 6/3/07, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: Harvey Harrison wrote: >> I get about 1.4 GB for the pack with the default >> depth and window parameters. I forgot to mention that I obtained an ~800MB repository with git 1.5.0.x after increasing the window size to 20. Now I don't

Re: [OT] Re: Git repository with full GCC history

2007-06-03 Thread Bernardo Innocenti
Harvey Harrison wrote: I get about 1.4 GB for the pack with the default depth and window parameters. I forgot to mention that I obtained an ~800MB repository with git 1.5.0.x after increasing the window size to 20. The defaults changed significantly somewhere near version 1.5.1 I believe w

Re: [OT] Re: Git repository with full GCC history

2007-06-03 Thread Harvey Harrison
On 6/3/07, Gabriel Paubert <[EMAIL PROTECTED]> wrote: Well, actually the GCC repository does not pack better here than yours. It's even worse after having tested on 3 different machines just in case. In all cases I get about 1.4 GB for the pack with the default depth and window parameters. The

Re: [OT] Re: Git repository with full GCC history

2007-06-03 Thread Gabriel Paubert
On Fri, Jun 01, 2007 at 11:57:36AM -0400, Bernardo Innocenti wrote: > Gabriel Paubert wrote: > >On Fri, Jun 01, 2007 at 11:00:29AM -0400, Bernardo Innocenti wrote: > >>Gabriel Paubert wrote: > >> > >>>I just upgraded my git to 1.5.2 and repacked the git repository > >>>with git-gc --aggressive. It

Re: [OT] Re: Git repository with full GCC history

2007-06-01 Thread Bernardo Innocenti
Gabriel Paubert wrote: On Fri, Jun 01, 2007 at 11:00:29AM -0400, Bernardo Innocenti wrote: Gabriel Paubert wrote: I just upgraded my git to 1.5.2 and repacked the git repository with git-gc --aggressive. It is quite impressive: the size of the pack file was almost cut in half, from ~23MB to ~

[OT] Re: Git repository with full GCC history

2007-06-01 Thread Gabriel Paubert
On Fri, Jun 01, 2007 at 11:00:29AM -0400, Bernardo Innocenti wrote: > Gabriel Paubert wrote: > > >I just upgraded my git to 1.5.2 and repacked the git repository > >with git-gc --aggressive. It is quite impressive: the size of > >the pack file was almost cut in half, from ~23MB to ~12MB! > > The

Re: Git repository with full GCC history

2007-06-01 Thread Bernardo Innocenti
Gabriel Paubert wrote: I just upgraded my git to 1.5.2 and repacked the git repository with git-gc --aggressive. It is quite impressive: the size of the pack file was almost cut in half, from ~23MB to ~12MB! The --aggressive option is undocumented in 1.5.2. What is it supposed to do? -- /

Re: [OT] Re: Git repository with full GCC history

2007-06-01 Thread Bernardo Innocenti
Gabriel Paubert wrote: This may be the pack depth which was increased to 50 according to 1.5.2 release notes: I've repacked with 1.5.2, and it doesn't seem to decrease the repo size considerably. I'm now repacking with "git-repack -a -d -f --window=20 --depth=100", but it takes a lot of time

[OT] Re: Git repository with full GCC history

2007-06-01 Thread Gabriel Paubert
On Fri, Jun 01, 2007 at 12:51:15PM +0200, Jan-Benedict Glaw wrote: > On Fri, 2007-06-01 12:12:59 +0200, Gabriel Paubert <[EMAIL PROTECTED]> wrote: > > On Fri, Jun 01, 2007 at 04:47:11AM -0400, Bernardo Innocenti wrote: > > > Be our guest, and let me know if you find a way to > > > repack the repo t

Re: Git repository with full GCC history

2007-06-01 Thread Jan-Benedict Glaw
On Fri, 2007-06-01 12:12:59 +0200, Gabriel Paubert <[EMAIL PROTECTED]> wrote: > On Fri, Jun 01, 2007 at 04:47:11AM -0400, Bernardo Innocenti wrote: > > Be our guest, and let me know if you find a way to > > repack the repo to a smaller size. > > I just upgraded my git to 1.5.2 and repacked the git

Re: Git repository with full GCC history

2007-06-01 Thread Gabriel Paubert
On Fri, Jun 01, 2007 at 04:47:11AM -0400, Bernardo Innocenti wrote: > Jan-Benedict Glaw wrote: > >On Thu, 2007-05-31 21:34:33 -0400, Bernardo Innocenti <[EMAIL PROTECTED]> > >wrote: > >>I've set up a Git mirror of the entire GCC history on > >>server space kindly provided by David Woodhouse. > >>

Re: Git repository with full GCC history

2007-06-01 Thread David Woodhouse
On Fri, 2007-06-01 at 10:39 +0200, Jan-Benedict Glaw wrote: > How often will it be synced with upstream SVN? While you're at it, > would David mind to also place a binutils, glibc and glibc-ports GIT > repo next to it? That way, there would be a nice single point of GIT > repos for the whole tool

Re: Git repository with full GCC history

2007-06-01 Thread Jan-Benedict Glaw
On Fri, 2007-06-01 04:47:11 -0400, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > Jan-Benedict Glaw wrote: > > On Thu, 2007-05-31 21:34:33 -0400, Bernardo Innocenti <[EMAIL PROTECTED]> > > wrote: > > > I've set up a Git mirror of the entire GCC history on > > > server space kindly provided by Dav

Re: [OT] Re: Git repository with full GCC history

2007-06-01 Thread Andreas Schwab
Gabriel Paubert <[EMAIL PROTECTED]> writes: > BTW, there is a strange line in the current ChangeLog, between May 30th > and May 31st entries: ">>> .r125234". Is it just me, a subversion > glitch or something else? It's a leftover conflict marker, I have removed it. Andreas. -- Andreas Schw

Re: Git repository with full GCC history

2007-06-01 Thread Bernardo Innocenti
Jan-Benedict Glaw wrote: On Thu, 2007-05-31 21:34:33 -0400, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: I've set up a Git mirror of the entire GCC history on server space kindly provided by David Woodhouse. You can clone it with: git-clone git://git.infradead.org/gcc.git How often will it

Re: Git repository with full GCC history

2007-06-01 Thread Jan-Benedict Glaw
On Thu, 2007-05-31 21:34:33 -0400, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > I've set up a Git mirror of the entire GCC history on > server space kindly provided by David Woodhouse. > > You can clone it with: > > git-clone git://git.infradead.org/gcc.git How often will it be synced with up

[OT] Re: Git repository with full GCC history

2007-06-01 Thread Gabriel Paubert
On Fri, Jun 01, 2007 at 02:52:43AM -0400, Bernardo Innocenti wrote: > Harvey Harrison wrote: > > >Was this repo made with svnimport or git-svn? svnimport is faster but > >chooses bad delta bases as a result. git repack -a -d -f would allow > >git to choose better deltas rather than reusing the de

Re: Git repository with full GCC history

2007-05-31 Thread Bernardo Innocenti
Harvey Harrison wrote: Was this repo made with svnimport or git-svn? svnimport is faster but chooses bad delta bases as a result. git repack -a -d -f would allow git to choose better deltas rather than reusing the deltas that svnimport created. I used: git-svn fetch git-fetch . remotes/git-s

Re: Git repository with full GCC history

2007-05-31 Thread Harvey Harrison
Whoops, trimmed CC: On 5/31/07, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: Harvey Harrison wrote: > Are you sure it packs to 877MB? Oh, are you including a checked out > gcc source tree in that total? No, I only computed the .git size. OK, just seemed like my size with working tree was

Re: Git repository with full GCC history

2007-05-31 Thread Bernardo Innocenti
Harvey Harrison wrote: Are you sure it packs to 877MB? Oh, are you including a checked out gcc source tree in that total? No, I only computed the .git size. ~/dev/trunk$ du .git -s 423064 I have a single, huge pack of 863M: -r--r--r-- 1 bernie bernie 863M May 31 21:42 pack-88472c7e9d0d

Re: Git repository with full GCC history

2007-05-31 Thread Harvey Harrison
Are you sure it packs to 877MB? Oh, are you including a checked out gcc source tree in that total? In my gcc-svn clone of trunk: ~/dev/trunk$ du -s 873200 ~/dev/trunk$ du .git -s 423064 This is a fully packed repo with default packing settings. (git gc) Cheers, Harvey Harrison