6.0.0-git
2024-04-24
Last Modified 2008-06-04 by Chuck Hagenbuch

Git for Horde Source

Ideas on setting up a Horde Git repository

Description

Setup


#!/usr/bin/env sh

cd /var/www/git/horde/

export CVSROOT=":pserver:cvsread@anoncvs.horde.org:/repository"

FILES="agora

ansel

chora

<SNIP>

whups

wicked"

for FILE in $FILES

do

    echo $FILE": "

    git-cvsimport -C$FILE $FILE

done

Submodules

I added a git submodule for every horde module inside the horde/horde

repository. Now you can do:


git clone git://git.koch.ro/git/horde/horde

cd horde

git submodule init

foreach modules as MODULE // Only those you want to use

  git submodule update $MODULE      // checks out the module

Now there are some more things[1] to think about when actually developing, but

that's one way it could be done.

[1] http://git.or.cz/gitwiki/GitSubmoduleTutorial

Disk space


ls -C -w60

agora      goops      jonah      nag            swoosh

ansel      groupware  juno       nic            trean

chora      hermes     klutz      occam          turba

CVSROOT    horde      kronolith  passwd         ulaform

dimp       hordedoc   luxor      pearweb        update.sh

forwards   hordeweb   merk       presentations  vacation

framework  imp        midas      sam            vilma

genie      incubator  mimp       scry           volos

gitgc.sh   ingo       mnemo      sesha          whups

gollem     jeta       mottle     skeleton       wicked

/var/www/git/horde$ du -hs

928M

Compare sample repo sizes for CVS vs SVN vs git

Ingo

CVS repo: 51MB

CVS checkout (HEAD only): 7MB

SVN repo: 31MB

SVN checkout (all): 322MB

SVN checkout (trunk only): 16MB

git repo: 18MB

Note that for Git, repo size and checkout size are the same.

Resources

Mercurial

Another alternative:


Back to the Project List