[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [58] Update Subversion import recipe and docs.

From: Bob Proulx
Subject: [Savannah-cvs] [58] Update Subversion import recipe and docs.
Date: Mon, 28 Oct 2013 20:55:00 +0000

Revision: 58

Author:   rwp
Date:     2013-10-28 20:54:47 +0000 (Mon, 28 Oct 2013)
Log Message:
Update Subversion import recipe and docs.

Modified Paths:

Modified: trunk/sviki/AdminSvnImport.mdwn
--- trunk/sviki/AdminSvnImport.mdwn     2013-10-28 04:55:51 UTC (rev 57)
+++ trunk/sviki/AdminSvnImport.mdwn     2013-10-28 20:54:47 UTC (rev 58)
@@ -5,15 +5,17 @@
 You need to ask the project developers to create an SVN dump as
 explained at [[SvnImportExistingRepo]].
-Once the user has provided it, login at Savannah. Since the process is
-usually long with lots of output, it's recommended to start it in a
-screen or redirect as below, etc.:
+Once the user has provided it, login at Savannah, then use this recipe
+as a guideline to import the project.
     ssh vcs
+    screen
     cd /root/vcs-imports
     wget -nv http://url/to/theirproject.dump.bz2
-    bzcat theirproj.dump.bz2 | svnadmin load /srv/svn/$proj/ 
+    bzcat theirproj.dump.bz2 | svnadmin load /srv/svn/$proj/ 
>/tmp/$proj.svimport.out 2>/tmp/$proj.svimport.err
+    tail /tmp/$proj.svimport.err
+    tail /tmp/$proj.svimport.out
     rm theirproj.dump.bz2
     chmod g+w -R /srv/svn/$proj/db/re*
@@ -22,3 +24,11 @@
 direct tar is not recommended because we may not be using the same
 versions of SVN, and sometimes the format changes with the new versions
 of SVN.
+The subversion svnadmin load of a thousand version is machine
+intensive and time consuming.  A typical project might load at the
+rate of one version per six seconds.  Meaning that this import might
+easily take several hours to load on a project with any significant
+history.  Planning accordingly by running the task under a screen
+session so that it can complete even if your connection to it is
+dropped is a good idea.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]