1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./style.css" />
6 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./design.css" />
7 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"./print.css" />
9 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
13 <h1 class=
"sectionedit1" id=
"version_control_migration">Version Control Migration
</h1>
17 <!-- EDIT1 SECTION "Version Control Migration" [1-41] -->
18 <h2 class=
"sectionedit2" id=
"status_quo">Status Quo
</h2>
22 Currently, gEDA uses CVS. CVS is the “original” version control system used for collaborating on open source projects.
26 Unfortunately, CVS has a number of problems:
29 <li class=
"level1"><div class=
"li"> CVS does not support the concept of patch sets. That is, it
's very difficult to work out what changes went into CVS together without using dodgy tools like
<a href=
"http://www.cobite.com/cvsps/" class=
"urlextern" title=
"http://www.cobite.com/cvsps/" rel=
"nofollow">cvsps
</a>.
</div>
31 <li class=
"level1"><div class=
"li"> Merging with CVS is painful, especially when there is keyword expansion brokenness such as the
<code>Log
</code> keyword.
</div>
33 <li class=
"level1"><div class=
"li"> CVS doesn
't support renames preserving history.
</div>
35 <li class=
"level1 node"><div class=
"li"> The overhead involved in creating and managing a branch in CVS is such that people tend to do one of the following:
</div>
37 <li class=
"level2"><div class=
"li"> Don
't bother
</div>
39 <li class=
"level2"><div class=
"li"> Use another VCS locally, then export patches, then commit patches to CVS. This is a big hassle for everyone.
</div>
41 <li class=
"level2"><div class=
"li"> Do II.
<strong>and
</strong> use a branch in CVS, which is even more hassle, but means people can see the changes in advance.
</div>
45 <li class=
"level1"><div class=
"li"> You can
't do anything in CVS (view logs, view “blame” for a line of code, create diffs to previous versions) without being online
& connecting to the repository.
</div>
50 <!-- EDIT2 SECTION "Status Quo" [42-1144] -->
51 <h2 class=
"sectionedit3" id=
"what_we_need">What We Need
</h2>
55 gEDA has a development process that involves a number of people working independently on separate changes. Some of these are a single changeset hacked together in a few minutes, some involve several major changes and are developed over a matter of months. Often, in order to track down a tricky bug, it is necessary for a developer to try and work out what a fellow developer did several months ago.
59 The following features would be deemed desirable in a version control system:
62 <li class=
"level1"><div class=
"li"> Free as in beer as well as free as in speech.
</div>
64 <li class=
"level1"><div class=
"li"> Actively developed/maintained.
</div>
66 <li class=
"level1"><div class=
"li"> Atomic commits (a.k.a. changesets).
</div>
68 <li class=
"level1"><div class=
"li"> All users have their own copy of the history.
</div>
70 <li class=
"level1"><div class=
"li"> Users can make local branches/commits without being logged onto a remote server (“distributed” repository model).
</div>
72 <li class=
"level1"><div class=
"li"> Merge
& rename tracking.
</div>
74 <li class=
"level1"><div class=
"li"> Easy to transition to from CVS.
</div>
79 Using the
<a href=
"http://en.wikipedia.org/wiki/Comparison_of_revision_control_software" class=
"urlextern" title=
"http://en.wikipedia.org/wiki/Comparison_of_revision_control_software" rel=
"nofollow">comparison matrix at Wikipedia
</a>, it looks like only
<a href=
"http://www.selenic.com/mercurial/wiki/" class=
"urlextern" title=
"http://www.selenic.com/mercurial/wiki/" rel=
"nofollow">Mercurial
</a> and
<a href=
"http://git.or.cz/" class=
"urlextern" title=
"http://git.or.cz/" rel=
"nofollow">git
</a> have the features we require.
83 A number of factors militate in favour of using git:
86 <li class=
"level1"><div class=
"li"> Existing experience within the the gEDA development community.
</div>
88 <li class=
"level1"><div class=
"li"> More extensively used by major projects (Linux kernel, X.org X server, OLPC, WINE).
</div>
93 <!-- EDIT3 SECTION "What We Need" [1145-] --></body>