You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Geoffrey Corey (JIRA)" <ji...@apache.org> on 2015/06/05 18:12:02 UTC

[jira] [Comment Edited] (INFRA-9725) Request to enable SVN->GIT Mirroring

    [ https://issues.apache.org/jira/browse/INFRA-9725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574752#comment-14574752 ] 

Geoffrey Corey edited comment on INFRA-9725 at 6/5/15 4:11 PM:
---------------------------------------------------------------

What command are you running?

Instantiating an emtpy git-svn repo works without issue, but once you run git svn fetch, it'll run for a couple of hours, but then chokes on this:
Found possible branch point: https://svn.apache.org/repos/asf/ctakes/branches/ctakes-3.1.0/pom.xml => https://svn.apache.org/repos/asf/ctakes/tags/ctakes-3.1.0-rc2, 1516925
Initializing parent: refs/remotes/tags/ctakes-3.1.0-rc2@1516925 

This has happened at the exact same point on 4 machines now: my laptop (12GB of ram), my desktop (16GB of ram), git.apache.org (8GB ram, 8GB swap), git-wip-us.apache.org (6GB of ram). All 4 of these machines are running Ubuntu 14.04 64-bit with latest security updates.

Actually, it hasn't errored out (yet) on my desktop, but that's because svn2git seems to take longer (it's still running on my desktop).

If you want to check on your system, try this:

(In some folder, possibly $HOME/git-test)
curl https://git-wip-us.apache.org/authors.txt -o authors.txt
Then add these to the authors.txt (otherwise the script will complain):
isominsky = none <no...@none.none>
leebecker = none <no...@none.none>
stephenwu = none <no...@none.none>
weitechen = none <no...@none.none>

mkdir ctakes ; cd ctakes
git svn init -b branches -t tags -T ctakes/trunk https://svn.apache.org/repos/asf/ctakes/

Then run git svn fetch --authors-file <path_to_authors.txt>

(Be prepared, this will take a while, and possibly download a good amount of data).

If this works on your centos install, then INFRA has some other things to look at.


was (Author: coreyg):
What command are you running?

Instantiating an emtpy git-svn repo works without issue, but once you run git svn fetch, it'll run for a couple of hours, but then chokes on this:
Found possible branch point: https://svn.apache.org/repos/asf/ctakes/branches/ctakes-3.1.0/pom.xml => https://svn.apache.org/repos/asf/ctakes/tags/ctakes-3.1.0-rc2, 1516925
Initializing parent: refs/remotes/tags/ctakes-3.1.0-rc2@1516925 

This has happened at the exact same point on 4 machines now: my laptop (12GB of ram), my desktop (16GB of ram), git.apache.org (8GB ram, 8GB swap), git-wip-us.apache.org (6GB of ram).

Actually, it hasn't errored out (yet) on my desktop, but that's because svn2git seems to take longer (it's still running on my desktop).

If you want to check on your system, try this:

(In some folder, possibly $HOME/git-test)
curl https://git-wip-us.apache.org/authors.txt -o authors.txt
Then add these to the authors.txt (otherwise the script will complain):
isominsky = none <no...@none.none>
leebecker = none <no...@none.none>
stephenwu = none <no...@none.none>
weitechen = none <no...@none.none>

mkdir ctakes ; cd ctakes
git svn init -b branches -t tags -T ctakes/trunk https://svn.apache.org/repos/asf/ctakes/

Then run git svn fetch --authors-file <path_to_authors.txt>

(Be prepared, this will take a while, and possibly download a good amount of data).

If this works on your centos install, then INFRA has some other things to look at.

> Request to enable SVN->GIT Mirroring
> ------------------------------------
>
>                 Key: INFRA-9725
>                 URL: https://issues.apache.org/jira/browse/INFRA-9725
>             Project: Infrastructure
>          Issue Type: SVN->GIT Mirroring
>            Reporter: Kim Ebert
>            Assignee: Geoffrey Corey
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)