OpenSource ERP Software dedicated to small to mid-size companies

           Become Platinium or Gold Neogia Partner

Cvs To Subversion Migration Plan

This page describes migration plan to move neogia cvs repository to a subversion repository.

What to import :

What will no be imported :


Current cvs repository layout :

/cvsroot
 |
 + ---- /neogia
         |
         +----- /CVSROOT
         |
         +----- /neogia-generators
         |
         +----- /ofbizNeogia


Svn repository layout :

/svnroot
 |
 + ----/neogia
        |
        + ----- /neogia-generators
        |        |
        |        + /branches
        |        |
        |        + /tags
        |        |
        |        + /trunk
        |
        + ----- /ofbizNeogia
                 |
                 + /branches
                 |
                 + /tags
                 |
                 + /trunk
                 |
                 + /vendor
                    |
                    + ---- /ofbiz


Step 1

  1. test cvs2svn tool to convert a copy of neogia cvs repository to a subversion repository
  2. fix problems in cvs repository that can prevent migration

Neogia repository conversion script :

#!/bin/sh

mkdir svnroot
/opt/cvs2svn-1.5.0/cvs2svn --exclude=".*R\d+"      \
        --exclude="NEOGIA_.*"                      \
        --exclude="nereide"                        \
        --exclude="initial"                        \
        --exclude="ofbiz3537"                      \
        --fs-type=fsfs                             \
        -s svnroot/neogia                          \
        --branches="neogia-generators/branches"    \
        --tags="neogia-generators/tags"            \
        --trunk="neogia-generators/trunk"          \
        --encoding="ASCII"                         \
        --encoding="UTF-8"                         \
        --encoding="ISO-8859-1"                    \
        cvsroot/neogia/neogia-generators
        
/opt/cvs2svn-1.5.0/cvs2svn --exclude="STABLE"      \
        --exclude="STD_LAST_HEAD_SYNC"             \
        --exclude=".*EXPERIMENTAL.*"               \
        --exclude="EXP_LAST_HEAD_SYNC"             \
        --exclude="BEFORE_SYNC_WITH.*"             \
        --exclude=".*[Ff][Rr].*"                   \
        --exclude=".*[Nn][Ff].*"                   \
        --exclude=".*[Nn][Rr].*"                   \
        --exclude=".*BUG.*"                        \
        --exclude=".*[Cc][Ll].*"                   \
        --exclude=".*B1466423"                     \
        --exclude=".*AQU[AI]"                      \
        --exclude=".*NEOGIA_0_9_2[BC]"             \
        --exclude=".*NEOGIA_0_9_1[BC]"             \
        --exclude=".*NEOGIA_0_8_.*"                \
        --exclude=".*importGeneration"             \
        --exclude=".*estimateCostActualCost"       \
        --exclude=".*estimatedCostActualCost"      \
        --exclude=".*importGenerationPayment"      \
        --exclude=".*importAccountingGeneration"   \
        --exclude=".*importGenerationOrder"        \
        --exclude=".*importGenerationParty"        \
        --exclude=".*importGenerationProduct"      \
        --exclude="unlabeled-.*"                   \
        --exclude="OFBIZ_5368"                     \
        --exclude=".*help"                         \
        --force-branch=FR1552654Bis                \
        --force-branch=FR1372071                   \
        --force-tag=importGeneration               \
        --existing-svnrepos                        \
        -s svnroot/neogia                          \
        --branches="ofbizNeogia/branches"          \
        --tags="ofbizNeogia/tags"                  \
        --trunk="ofbizNeogia/trunk"                \
        --encoding="ASCII"                         \
        --encoding="UTF-8"                         \
        --encoding="ISO-8859-1"                    \
        cvsroot/neogia/ofbizNeogia