[Debian Wiki] Update of "BOINC/Development/GitUsage" by GuoYixuan
Debian Wiki
debian-www at lists.debian.org
Tue Oct 30 06:41:29 UTC 2012
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The "BOINC/Development/GitUsage" page has been changed by GuoYixuan:
http://wiki.debian.org/BOINC/Development/GitUsage?action=diff&rev1=48&rev2=49
Comment:
The upstream switched to git!
This tutorial is still evolving, and I am afraid it stops here for now. The following tidbits stil need to find their place.
- === Tracking upstream development ===
+ === Tracking upstream development (out of date) ===
With {{{git-svn}}} upstream development can be directly tracked in your Git repository. For example if you are in the {{{boinc}}} repository, run the following command to clone BOINC's {{{trunk}}} from upstream's Subversion repository into your Git repository:
{{{
git svn clone --trunk=trunk/boinc --prefix=git-svn/upstream/ http://boinc.berkeley.edu/svn/ .
}}}
This creates a new remote branch {{{git-svn/upstream/trunk}}} which contains BOINC's complete trunk.
+
+ === Tracking upstream development with git ===
+ The upstream just switched from svn to git, and it's a lot easier to track changes.
+
+ {{{
+ git clone git://boinc.berkeley.edu/boinc.git
+ # or
+ git clone http://boinc.berkeley.edu/git/boinc.git
+ }}}
+
+ Info from upstream can be found [[http://boinc.berkeley.edu/trac/wiki/SourceCodeGit|here]].
== Misc ==
It is at times confusing with all those many branches. To show that info directly on the shell, consider to add the following to the .profile or .bashrc (found at http://techblog.floorplanner.com/2008/12/14/working-with-git-branches/):
More information about the pkg-boinc-commits
mailing list