[cvs] [Wiki] created: Project/Git

Chuck Hagenbuch chuck at horde.org
Sun Jun 1 14:03:17 UTC 2008


chuck  Sun, 01 Jun 2008 10:03:17 -0400

Created page: http://wiki.horde.org/Project/Git

[[toc]]

+ Git for Horde Source

Ideas on setting up a Horde Git repository

++ Description

+++ Setup

<code>
#!/usr/bin/env sh

cd /var/www/git/horde/
export CVSROOT=":pserver:cvsread at anoncvs.horde.org:/repository"

FILES="agora
ansel
chora
<SNIP>
whups
wicked"

for FILE in $FILES
do
    echo $FILE": "
    git-cvsimport -C$FILE $FILE
done
</code>


+++ Submodules

I added a git submodule for every horde module inside the horde/horde
repository. Now you can do:

<code>
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
</code>

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

<code>
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
</code>


++ Resources

http://git.or.cz/course/svn.html
http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
http://www.kernel.org/pub/software/scm/git/docs/glossary.html
http://www.kernel.org/pub/software/scm/git/docs/everyday.html
http://git.koch.ro/


----
Back to the ((Projects|Project List))


More information about the cvs mailing list