CoEPP RC
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
coepp_gitlab [2015/05/13 14:51]
goncalo [Instructions]
coepp_gitlab [2015/05/13 15:26]
goncalo [Instructions]
Line 221: Line 221:
  
 ==== Instructions ==== ==== Instructions ====
-  * In this example exercise, we are assuming that we want to migrate a SVN repo like ** file:////​import/​sydpp1/​svnsydpp/​atlas/​CommonArea/​SUSY/​SUSY_ToolsSel ** to a git project under a user namespace. 
  
-  * Login to sui.coepp.org.au machine.+  * In this exercise, we are assuming that we want to migrate a SVN repo like ** file:////​import/​sydpp1/​svnsydpp/​atlas/​CommonArea/​SUSY/​SUSY_ToolsSel ** to a git project under a user namespace.
  
   * Start by creating the **SUSY_ToolsSel** git project in GitLab under your user namespace. ​   * Start by creating the **SUSY_ToolsSel** git project in GitLab under your user namespace. ​
     * This represents the remote git repo where your '​new' ​ **SUSY_ToolsSel** git project will be pushed to.      * This represents the remote git repo where your '​new' ​ **SUSY_ToolsSel** git project will be pushed to. 
     * For details on how to create a project in GitLab, please see the **Project Creation** section at [[coepp_gitlab?&#​project_creation]]     * For details on how to create a project in GitLab, please see the **Project Creation** section at [[coepp_gitlab?&#​project_creation]]
 +
 +  * Login to sui.coepp.org.au machine.
  
   * Run the following command to create a '​authors-transform.txt'​ file from svn logs since git needs authors to have a valid name and email.   * Run the following command to create a '​authors-transform.txt'​ file from svn logs since git needs authors to have a valid name and email.
Line 250: Line 251:
     * This will do the standard git-svn transformation (using the authors-transform.txt file you previously created)     * This will do the standard git-svn transformation (using the authors-transform.txt file you previously created)
     * The git repository will be placed in the '​~/​temp'​ folder inside your home directory.     * The git repository will be placed in the '​~/​temp'​ folder inside your home directory.
 +    * If your svn repo does not has a well defined trunk/​branches/​tag structure, remove the '​--stdlayout'​ option from the command.
 <​code> ​ <​code> ​
 $ git svn clone file:////​import/​sydpp1/​svnsydpp/​atlas/​CommonArea/​SUSY/​SUSY_ToolsSel --no-metadata -A authors-transform.txt --stdlayout ~/temp $ git svn clone file:////​import/​sydpp1/​svnsydpp/​atlas/​CommonArea/​SUSY/​SUSY_ToolsSel --no-metadata -A authors-transform.txt --stdlayout ~/temp
coepp_gitlab.txt · Last modified: 2015/05/13 17:15 by goncalo
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki