www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (INFRA-3689) rsync access to git mirrors of svn repositories
Date Thu, 16 Jun 2011 08:15:49 GMT

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

Dawid Weiss edited comment on INFRA-3689 at 6/16/11 8:14 AM:
-------------------------------------------------------------

To be exact, the log:

git clone git://git.apache.org/lucene-solr.git
cd lucene-solr
# wget authors file, config svn.authorsfile, etc., then

# note lucene's svn has been reorganized in the past; the current layout is under java folder,
but is standard (-s)
git svn init --prefix=origin/ -s https://svn.apache.org/repos/asf/lucene/java
git svn rebase
Unable to determine upstream SVN information from working tree history


rsync would have worked for me, but sure - I can mirror (once) over http... I just thought
it'd be easier to provide rsync access since there is a http one already.

      was (Author: dweiss):
    To be exact, the log:
{noformat}
git clone git://git.apache.org/lucene-solr.git
cd lucene-solr
# wget authors file, config svn.authorsfile, etc., then

# note lucene's svn has been reorganized in the past; the current layout is under java folder,
but is standard (-s)
git svn init --prefix=origin/ -s https://svn.apache.org/repos/asf/lucene/java
git svn rebase
Unable to determine upstream SVN information from working tree history
{noformat}

rsync would have worked for me, but I can mirror (once) over http... I just thought it'd be
easier to provide rsync access since there is a http one already.
  
> rsync access to git mirrors of svn repositories
> -----------------------------------------------
>
>                 Key: INFRA-3689
>                 URL: https://issues.apache.org/jira/browse/INFRA-3689
>             Project: Infrastructure
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Git, Subversion
>            Reporter: Dawid Weiss
>
> git-svn stores metadata in an svn mirror that is hard to reproduce after you do a clone
from such a repository. This means that while you can do git pulls, you can't do git svn dcommit,
which would be such a nice feature to have. I've tried to do it several times and failed and
I know of a few other people that couldn't do it either. 
> A simple solution to this problem would be to expose git repositories using rsync; this
would allow folks to mirror the full repository, including svn metadata, and then rebase/
dcommit to their liking.
> I did a proof of concept of this by fetching a mirror of apache lucene reopsitory using
wget -m -np, then manually (find -exec rm...) pruning index.html files and converting bare=true
to bare=false. Works like a charm.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message