Cvs To Subversion Migration Plan
This page describes migration plan to move neogia cvs repository to a subversion repository.
What to import :
- neogia-generators (HEAD)
- ofbizNeogia (HEAD)
- ofbiz vendor branch (ofbiz)
- ofbizNeogia release tags (NEOGIA_X_Y_Z)
- ofbizNeogia maintenance branch (BR_NEOGIA_X_Y_Z)
What will no be imported :
- experimental branch (EXPERIMENTAL)
- old stable branch (STABLE, STD_LAST_HEAD_SYNC)
- development branchs & tags (FRXXXXX & Root_FRXXXXXX, NFXXXXXX & Root_NFXXXXXX)
- bug correction branchs & tags (BUGXXXXX & Root_BUGXXXXX)
- clibre related branchs & tags (DEMO_CLIBRE, AQUA, CL_X_Y_Z)
- misc branchs (estimateCostActualCost, estimatedCostActualCost)
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
[edit]
Step 1
- test cvs2svn tool to convert a copy of neogia cvs repository to a subversion repository
- 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


