On Mon, 2012-09-10 at 22:13 -0400, Jason Mitchell wrote:
> On Mon, Sep 10, 2012 at 01:01:41PM -0600, Michael Best wrote:
> > 
> > Actual URL:
> > https://github.com/gorticus/dirvish-svn-mirror
> 
> Ooops.  Thanks for the correction, and I apologize for the confusion.
> 
> Has anyone considered/attempted to reorganize the repo?  Even for svn,
> the layout is non-traditional.

I took a stab at this.

The result is on github at https://github.com/thomasvs/dirvish

I'm attaching the script and authors.txt file I used to do the
conversion so others who know the dirvish history better can adapt it.

In particular:

- I used 1_2_1 as master (I'm confused about the different branches and
have no idea which of the 1_3 ones would be considered 'master')
- there was no way I could convince svn2git to accept branches in the
root of the repository; instead I just did some svn mv's before the
conversion
- I guessed the authors.txt file from names on the mailing list
- The history looks ok-ish - some of the 1.3 branches are 'floating';
not sure if they were created like that out of the blue or if the
migration loses anchors
- I delete a bunch of intermediary branches (with @rev) because I don't
see what they could be useful for
- You can rerun the script to continue if you want to experiment (in
fact, you'll have to run it at least twice if you don't use the
authors.txt file, because it will regenerate one for you to edit)
- I moved contrib and README to this new master (some of the 1.3
branches have contrib in the same place, so I thought it was the right
thing to do)

If someone feels adventurous, one way to make it better might be to
actually edit the svn dump and rewrite history to land the branches in
place to begin with; I've done things like that in the past but it was
painful.

If you actually change this script, let me know, and if someone wants to
be the official dirvish master on github, feel free to put it there and
let me know as well.

Thomas


-- 

All your troubles wear my autograph

URGent, best radio on the net - 24/7 !
http://urgent.fm/

dschulz = Dominik Schulz <lkml at ds.gauner.org>
emsearcy = Eric Searcy <emsearcy at gmail.com>
ericm = Eric Mountain <em-dirvish-1 at nerim.net>
keithl = Keith Lofstrom <keithl at kl-ic.com>
thomas = Thomas Vander Stichele <thomas (at) apestaart (dot) org>

Attachment: dirvish-svn2git.sh
Description: application/shellscript

_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to