[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] Migrate the SVN repos to Git

* Rafael Laboissiere <rafael@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:


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,

Reply to: