git mirror of the d-i svn repo - Debian

This is a discussion on git mirror of the d-i svn repo - Debian ; I've set up a git mirror of the svn repo, this is updated whenever a commit is made: git://git.debian.org/~joeyh/d-i.git Total size of a checkout of all of d-i's history is about 400 mb. The git-svn run to create this took ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: git mirror of the d-i svn repo

  1. git mirror of the d-i svn repo

    I've set up a git mirror of the svn repo, this is updated whenever a
    commit is made:

    git://git.debian.org/~joeyh/d-i.git

    Total size of a checkout of all of d-i's history is about 400 mb.
    The git-svn run to create this took 2+ days on a 2.3 ghz Xeon.

    This looks basically nothing like real switch of the repo from svn to
    git would look[1]. It may still be useful if you want to take d-i's
    history with you on a plane, or keep unreleased branches in git for
    easier merging, or whatever. It's probably possible to set up git-svn to
    push changes back into the d-i svn repo too.

    --
    see shy jo

    [1] Obvious problems include it not being split into submodules,
    the branches and tags being a total mess (and not exported by
    default), and committer emails not being included.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFHNjRnd8HHehbQuO8RApM5AJ4suMkjD/wCOeUgRaMO3zxG2hmrVgCeO4QE
    xLuEGuxdrImtkz+Vwb49ODk=
    =54ke
    -----END PGP SIGNATURE-----


  2. Re: git mirror of the d-i svn repo

    On Saturday 10 November 2007, Joey Hess wrote:
    > I've set up a git mirror of the svn repo, this is updated whenever a
    > commit is made:


    I've updated the wiki page for that:
    http://wiki.debian.org/DebianInstaller/git-svn

    > git://git.debian.org/~joeyh/d-i.git


    You should probably change that to be a "bare" repository. There is no need
    to keep all files checked out.

    Just remove all regular files and dirs, move everything in .git/ to d-i.git
    itself and change to "bare = true" and "logAllRefUpdates = false" in the
    [core] section of the file config. (At least, IIRC.)

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBHOGGQgm/Kwh6ICoQRAj8oAJ98Slh03rTVwqrG35czFJMD7hNJ5ACgk000
    dxwyNC83T5PpqpUPMO2OOrM=
    =RokR
    -----END PGP SIGNATURE-----


  3. Re: git mirror of the d-i svn repo

    Frans Pop wrote:
    > You should probably change that to be a "bare" repository. There is no need
    > to keep all files checked out.


    git-svn fetch fails on a bare repo.

    --
    see shy jo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFHOLS1d8HHehbQuO8RAvQGAJ9fky6+0hjOk83SOaf/vSAn7+a+0gCffXON
    h1vjukslTfN/ZqK4BZTtc9Y=
    =Vm+5
    -----END PGP SIGNATURE-----


+ Reply to Thread