[Pkg-octave-devel] Migrate the SVN repos to Git
Rafael Laboissiere
rafael at debian.org
Tue May 5 07:48:31 UTC 2009
* Rafael Laboissiere <rafael at debian.org> [2009-05-04 22:29]:
> I started already but not with a package. The web site sources are now
> under Git control:
>
> http://git.debian.org/?p=pkg-octave/www.git
I migrated octave-epstk as a test case:
http://git.debian.org/?p=pkg-octave/octave-epstk.git
Everything seems to work fine. I also removed the obsolete SVN
repository for octave-epstk.
I will eventually update the DOG Guidelines to reflect the use of Git. At
some point I should look at git-buildpackage (I do not know about it yet).
A possible workflow for using the Git repositories is like this:
$ PKG=src-package-name
$ VER=some-version
$ apt-get source $PKG
$ cd $PKG-$VER
$ rm -rf debian
# The following is equivalent to svn checkout
$ git clone ssh://git.debian.org/git/pkg-octave/$PKG.git .
# Edit debian/* files
$ debuild -i
$ dupload
$ git commit -a -m "Debian release ${PKG}_$VER-1"
$ git push # equivalent to svn commit
There are tones of excellent Git tutorials on the Internet. Just google for
them or start at http://git-scm.com/.
Good Git hacking,
--
Rafael
More information about the Pkg-octave-devel
mailing list