\documentclass{article}
\usepackage{ulem}
\pagestyle{headings}
\begin{document}
\tableofcontents

\part{ Options for replacing CVS for Horde Development}
\section{ Decision}
\textbf{ We have decided to keep the current history and structure in CVS, and create a new Git repository. Code will be committed to the Git repository as it is cleaned up for PHP 5 and Horde 4. }

\section{ Introduction to distributed version control systems}
\begin{itemize}
\item{http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/\footnote{http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/}}
\item{http://www.infoq.com/articles/dvcs-guide\footnote{http://www.infoq.com/articles/dvcs-guide}}
\end{itemize}
\section{ Description}
This project is to determine what the next generation of the Horde will use to store and organize source code.\newline
Some initial work has been done with Git and SVN conversions of the current CVS repository.

\section{ Requirements}
\subsection{Must-haves}
\begin{itemize}
\item{Offline review of local changes}
\item{Ability to hook into Whups for ticket updates from commit messages}
\item{Stable, mature codebase}
\item{Functional, usable user interface}
\end{itemize}
\subsection{ Nice-to-haves}
\begin{itemize}
\item{Submodule support}
\end{itemize}
\begin{quote}
Today checking out a Horde app within an existing Horde checkout works fine.  This includes making single-commit changes across applications.\newline
\end{quote}

* Browseable by Chora\newline
\begin{quote}
Naturally no matter what we choose Chora support will either be added or will improve.  However if it is already supported by Chora all the better.\newline
\end{quote}

\newline
\section{ The Contenders}
In alphabetical order\ldots


\noindent\rule{\textwidth}{1pt}
\subsection{ Bazaar}
Bazaar from Canonical (i.e. the ubuntu company)

\begin{itemize}
\item{http://bazaar-vcs.org/\footnote{http://bazaar-vcs.org/}}
\end{itemize}
\subsubsection{ Advantages}
\begin{itemize}
\item{Seems to preserve the most metadata per-commit of any SCM listed here}
\end{itemize}
\subsubsection{ Disadvantages}
\begin{itemize}
\item{Somewhat specific to Launchpad/Ubuntu development process}
\end{itemize}
\subsubsection{ Well-known users}
\begin{itemize}
\item{Canonical/Ubuntu}
\end{itemize}

\noindent\rule{\textwidth}{1pt}
\subsection{ Git}
http://git.or.cz/\footnote{http://git.or.cz/}\newline
http://www.opensolaris.org/os/community/tools/scm/git-report-final.txt\footnote{http://www.opensolaris.org/os/community/tools/scm/git-report-final.txt}\newline
http://www.gitcasts.com/git-talk\footnote{http://www.gitcasts.com/git-talk}

\subsubsection{ Setup}
\begin{verbatim}

#!/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
\end{verbatim}

\subsubsection{ Submodules}
I added a git submodule for every horde module inside the horde/horde\newline
repository. Now you can do:

\begin{verbatim}

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
\end{verbatim}

Now there are some more things[1] to think about when actually developing, but\newline
that's one way it could be done.

\begin{itemize}
\item{http://git.or.cz/gitwiki/GitSubmoduleTutorial\footnote{http://git.or.cz/gitwiki/GitSubmoduleTutorial}}
\item{http://www.kernel.org/pub/software/scm/git/docs/git-submodule.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/git-submodule.html}}
\end{itemize}
\subsubsection{ Disk space}
\begin{verbatim}

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
\end{verbatim}

\subsubsection{ Advantages}
\begin{itemize}
\item{Distributed nature allows offline commits and easy branching}
\end{itemize}
\subsubsection{ Disadvantages}
\begin{itemize}
\item{Does not preserve history across file or directory renames}
\item{Aimed at large-scale codebases with emphasis on features for those users (ie. Linux Kernel)}
\end{itemize}
\subsubsection{ Well-known users}
\begin{itemize}
\item{Linux Kernel}
\end{itemize}

\noindent\rule{\textwidth}{1pt}
\subsection{ Mercurial}
Alternative distributed versioning control system.

\subsubsection{ Advantages}
\begin{itemize}
\item{Distributed nature allows offline commits and easy branching}
\end{itemize}
\subsubsection{ Disadvantages}
\begin{itemize}
\item{Toolset possibly less mature than other products}
\end{itemize}
\subsubsection{ Well-known users}
\begin{itemize}
\item{OpenSolaris}
\end{itemize}

\noindent\rule{\textwidth}{1pt}
\subsection{ Subversion}
\begin{itemize}
\item{Chuck Hagenbuch has done some work on writing svn post-commit hooks. These likely can be reused for other SCM systems as well.}
\item{Ben Klang has dome some test conversions of the CVS repository to SVN.  The repository size is indeed much larger.  In addition submodule support (as we use it today) has not been proven to the satisfaction of the developers.}
\end{itemize}
\subsubsection{ Well-known users}
\begin{itemize}
\item{Asterisk}
\item{KDE}
\end{itemize}
\subsubsection{ Previous discussion re: migrating Horde to SVN: http://bugs.horde.org/ticket/5284\footnote{http://bugs.horde.org/ticket/5284}}

\noindent\rule{\textwidth}{1pt}
\section{ People}
While all Horde developers are interested in this project's final recommendation the following people have done work toward making a decision on the next SCM to be used for Horde:

\begin{itemize}
\item{Ben Klang}
\item{Chuck Hagenbuch}
\end{itemize}
\section{ Resource Utilization Comparison}
\subsection{ Ingo}
\begin{tabular}{|l|l|l|}
\hline
SCM & Full (Server) Repository Size & Branch Checkout\\
\hline
CVS & 51MB & 7MB\\
\hline
SVN & 31MB & 16MB\\
\hline
git* & 18MB & 18MB\\
\hline
\end{tabular}
\subsection{ Beatnik}
\begin{tabular}{|l|l|l|}
\hline
SCM & Full (Server) Repository Size & Branch Checkout\\
\hline
CVS & 736KB & 700KB\\
\hline
SVN &  & 1.7MB\\
\hline
Mercurial &  & 724KB\\
\hline
\end{tabular}
\begin{itemize}
\item{Note that for Git, repo size and checkout size are the same.}
\end{itemize}
\section{ Resources}
\subsection{ Bazaar Links}
\begin{itemize}
\item{http://www.markshuttleworth.com/archives/125\footnote{http://www.markshuttleworth.com/archives/125}}
\end{itemize}
\subsection{ Git Links}
\begin{itemize}
\item{http://git.or.cz/gitwiki/GitSvnComparsion\footnote{http://git.or.cz/gitwiki/GitSvnComparsion}}
\item{http://git.or.cz/course/svn.html\footnote{http://git.or.cz/course/svn.html}}
\item{http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html}}
\item{http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html}}
\item{http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html}}
\item{http://www.kernel.org/pub/software/scm/git/docs/user-manual.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/user-manual.html}}
\item{http://www.kernel.org/pub/software/scm/git/docs/glossary.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/glossary.html}}
\item{http://www.kernel.org/pub/software/scm/git/docs/everyday.html\footnote{http://www.kernel.org/pub/software/scm/git/docs/everyday.html}}
\item{http://blog.moertel.com/articles/2007/12/10/how-i-stopped-missing-darcs-and-started-loving-git\footnote{http://blog.moertel.com/articles/2007/12/10/how-i-stopped-missing-darcs-and-started-loving-git}}
\item{http://hopper.squarespace.com/blog/2008/7/5/converting-mercurial-to-git.html\footnote{http://hopper.squarespace.com/blog/2008/7/5/converting-mercurial-to-git.html}}
\item{http://bergie.iki.fi/blog/feature\_branches\_in\_midgard\_development\_with\_git/\footnote{http://bergie.iki.fi/blog/feature\_branches\_in\_midgard\_development\_with\_git/}}
\item{http://stackoverflow.com/questions/101752/aborting-a-merge-in-git\footnote{http://stackoverflow.com/questions/101752/aborting-a-merge-in-git}}
\end{itemize}
\subsection{ Mercurial Links}
\begin{itemize}
\item{http://www.selenic.com/mercurial/wiki/\footnote{http://www.selenic.com/mercurial/wiki/}}
\item{http://www.linux.com/feature/121157\footnote{http://www.linux.com/feature/121157}}
\item{http://www.opensolaris.org/os/community/tools/scm/dcm\_evaluation\_mercurial/\footnote{http://www.opensolaris.org/os/community/tools/scm/dcm\_evaluation\_mercurial/}}
\item{http://www.selenic.com/mercurial/wiki/index.cgi/HgWebDirStepByStep\footnote{http://www.selenic.com/mercurial/wiki/index.cgi/HgWebDirStepByStep}}
\item{http://www.selenic.com/mercurial/wiki/index.cgi/PublishingRepositories\footnote{http://www.selenic.com/mercurial/wiki/index.cgi/PublishingRepositories}}
\end{itemize}

\noindent\rule{\textwidth}{1pt}
Back to the Project List\footnote{http://example.com/index.php?page=Project}

\end{document}
