Short HOWTO on using git for Samba development
Gerald (Jerry) Carter
jerry at samba.org
Mon Jun 25 14:02:15 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
> On Sun, 2007-06-24 at 17:34 -0500, Gerald (Jerry) Carter wrote:
> Now we miss only mercurial :-)
True. I haven't tried mercurial. But I will say that the
memory and space requirements (in addition to the better speed)
of git have displaced bzr on my list currently. Git has a
a steep learning curve, but here are some space numbers that
make up for it IMO.
$ du -sh /data/src/mirror/*/*
The git repo is a full mirror of the svn repo starting at r1 and is
almost 1/2 the space of the svn repo. I might could squeeze some
more space savings with various pack options.
The git tree I posted has the 3.0.23 - 3.0.26, 3.0 and 4.0 branches
and is less than 100M (1/3 of the SAMBA_4_0 bzr mirror alone). And
to pull that tree at home (basic broadband) is about 3 minutes.
$ time git clone git://git.samba.org/samba samba-test.git
Initialized empty Git repository in .../samba-test.git/.git/
remote: Generating pack...
remote: Done counting 170913 objects.
remote: Deltifying 170913 objects.
remote: 100% (170913/170913) done
Indexing 170913 objects...
remote: Total 170913, written 170913 (delta 131520),
reused 166156 (delta 130375)
100% (170913/170913) done
Resolving 131520 deltas...
100% (131520/131520) done
If we were to swap to git, the full svn import would be < 160M
so the pull be only be slightly longer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical