[Kde-scm-interest] svn2git playground publictransport

Friedrich Pülz fieti1983 at gmx.de
Fri Feb 25 16:01:08 CET 2011


Hi,

I want to move my PublicTransport Plasma data engines, applet and runner from 
SVN playground to git, into a single repository.
I already have a "publictransport-rules" file, that moves the stuff into 
"scratch/fkpulz/publictransport".

- Should I move it to "scratch/fkpulz/publictransport" or to "publictransport" 
as playground repository? It should be quite stable and was in SVN playground 
since 2009.

- I'm unsure about one rule. It movest 
"/trunk/playground/base/plasma/applets/publictransport/" to 
"scratch/fkpulz/publictransport/plasma-applet-publictransport". The 
subdirectory in SVN named 
"/trunk/playground/base/plasma/applets/publictransport/publictransporthelper" 
gets moved to "scratch/fkpulz/publictransport/libpublictransporthelper" by 
another rule. Does the first one also move the subdirectory to 
"scratch/fkpulz/publictransport/plasma-applet-publictransport"? If not, 
everything should be fine. Otherwise I want to ignore the subdirectory in that 
rule..

- Do I really need to download the ~65GB as described in techbase "Using 
Svn2Git" or may someone who has everything in place already be so kind to try 
my "publictransport-rules" file? :) 

- I already created that repository actually (scratch/fkpulz/publictransport) 
for testing out git, but will remove it again before the move.

- Please CC me, because I'm not subscribed to this mailing list.

Thanks in advance,
Friedrich Pülz (fkpulz)
-------------- next part --------------
#
# Created by Friedrich Pülz (fkpulz) <fpuelz at gmx.de>
#

# PublicTransport was developed in KDE SVN from beginning
# It was never branched or tagged, but consists of multiple
# components like data engines, a runner and an applet.

declare REPO=scratch/fkpulz/publictransport

# Create the PublicTransport repository
create repository ${REPO}
end repository

# PublicTransport applet from SVN playground
match /trunk/playground/base/plasma/applets/publictransport/
    repository ${REPO}
    prefix plasma-applet-publictransport/
    branch master
end match

# PublicTransport helper library from applet subdir in SVN playground
match /trunk/playground/base/plasma/applets/publictransport/publictransporthelper
    repository ${REPO}
    prefix libpublictransporthelper/
    branch master
end match

# PublicTransport runner from SVN playground
match /trunk/playground/base/plasma/runners/publictransport/
    repository ${REPO}
    prefix plasma-runner-publictransport/
    branch master
end match

# PublicTransport data engine from SVN playground
match /trunk/playground/base/plasma/dataengines/publictransport/
    repository ${REPO}
    prefix plasma-engine-publictransport/
    branch master
end match

# OpenStreetMap data engine from SVN playground
match /trunk/playground/base/plasma/dataengines/openstreetmap/
    repository ${REPO}
    prefix plasma-engine-openstreetmap/
    branch master
end match

# Ignore the rest
match /
end match



More information about the Kde-scm-interest mailing list