Package: git-svn
Version: 1:1.6.3.3-2
Severity: normal

I am attempting to clone the packaging of
'game-data-packager' from the Debian games team subversion
repository. This is located at
        svn://svn.debian.org/svn/pkg-games/packages

Unfortunately, this repository uses a different layout
convention to the SVN norm:
{branches,trunk,tags}/packagename i.e.

        svn://svn.debian.org/svn/pkg-games/packages/trunk/game-data-packager
        svn://svn.debian.org/svn/pkg-games/packages/tags/game-data-packager
        svn://svn.debian.org/svn/pkg-games/packages/branches/game-data-packager

Following the advice at [1] and [2], I attempted 

        git svn clone svn://svn.debian.org/svn/pkg-games/packages \
                --no-metadata --trunk=/trunk/game-data-packager \
                --branches=/branches/game-data-packager \
                --tags=/tags/game-data-packager

After a few hours (!), this resulted in a git repository
the master branch of which represented the commits for
trunk and git branches existed for current (and deleted)
svn branches and tags.

This process however took far too long and appeared to
touch much more of the SVN repository than is necessary.
An example of some of the output during operation:

        r7000 = a6ade08584d91c3d34bc6c454ef7bb3edfc83ef7 (consolidate-d...@7739)
                M       nexuiz/debian/nexuiz-server.examples
                M       nexuiz/debian/nexuiz-server.docs
        r7001 = 1af84f4df99d550b491818daece5c231989f5f73 (consolidate-d...@7739)
                M       nexuiz/debian/changelog

nexuiz, in this case, is a package which lives alongside
game-data-packager in the repository. It appears every
package had every commit inspected. The resulting git
repository is 97M big, which (by my estimation) is two
orders of magnitude larger than needed for the entire
history of game-data-packager (a relatively small shell
script). (It's 87M after 'git gc').

If I run git svn clone as above but also specifying
--authors-file, it will exit complaining about missing
entries for authors who have never touched
game-data-packager.  In order to get it to complete, I have
to fabricate an authors file with lines for each person who
has committed to any part of the repository, not just to
game-data-packager.

At some point in game-data-packager's past, it was renamed
from game-package. I wonder if this over-eager scanning of
the SVN repository relates to this change? (it was svn
revision 7707, iirc, and git-svn has at least correctly
sewn the two histories together correctly).

[1] http://wiki.debian.org/Games/VCS#Convertingfromsvnrepository
[2] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit



-- System Information:
Debian Release: squeeze/sid
  APT prefers transitional
  APT policy: (500, 'transitional'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-svn depends on:
ii  git-core                     1:1.6.3.3-2 fast, scalable, distributed revisi
ii  libsvn-perl [libsvn-core-per 1.5.6dfsg-1 Perl bindings for Subversion
ii  libterm-readkey-perl         2.30-4      A perl module for simple terminal 
ii  libwww-perl                  5.828-1     WWW client/server library for Perl

git-svn recommends no packages.

Versions of packages git-svn suggests:
pn  git-doc                      <none>      (no description available)
ii  subversion                   1.5.6dfsg-1 Advanced version control system

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to