Differences

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

Link to this comparison view

dev:extensions:svn_to_github [2014/11/07 13:12]
plg warning about Piwigo.org SVN repo not shutting down
dev:extensions:svn_to_github [2015/08/22 20:03] (current)
flop25
Line 35: Line 35:
 === Everyone === === Everyone ===
 You will also need a little tool created by Atlassian: [[https://bitbucket.org/atlassian/svn-migration-scripts/downloads/svn-migration-scripts.jar|svn-migration-scripts.jar]]. You will also need a little tool created by Atlassian: [[https://bitbucket.org/atlassian/svn-migration-scripts/downloads/svn-migration-scripts.jar|svn-migration-scripts.jar]].
 +
 +<wrap round tip>
 +If you have several repositories to migrate you can also use this NodeJS script I (Mistic) created to migrate my 25 plugins: [[https://gist.github.com/mistic100/017a848ff619f0624dde|piwigo-svn2github.js]].
 +</wrap>
  
 ===== Prepare ===== ===== Prepare =====
-In order to get a consistent commit history on Github you will have to tell Git SVN who is who. Open a terminal where ''svn-migration-scripts.jar'' is located (Shift+Click on Windows) and enter the following command:+In order to get a consistent commit history on Github you will have to tell Git SVN who is who. Open a terminal where ''svn-migration-scripts.jar'' is located (Shift+Click on Windows or right-click->Git Bash Here) and enter the following command:
  
 <code> <code>
Line 53: Line 57:
  
 === Adapt authors' file === === Adapt authors' file ===
-Now modify the left part of each line to match an actual Github accounts. The email must be one of the emails associated to the Github account.+Now modify the right part of each line to match an actual Github accounts. The email must be one of the emails associated to the Github account.
  
 You will certainly get ''TranslationTeam'' in this file, the SVN user used to commit language files. Complete the line as following: You will certainly get ''TranslationTeam'' in this file, the SVN user used to commit language files. Complete the line as following:
Line 86: Line 90:
 [[https://github.com/new|Create a new repository]]. You must leave it empty (no README.md, no LICENSE, no .gitignore). [[https://github.com/new|Create a new repository]]. You must leave it empty (no README.md, no LICENSE, no .gitignore).
  
-Still in your terminal type:+Still in your terminal (on windows the previous command should have created a new folder /YOURPLUGIN, so redo right-click->Git Bash Here) type:
  
 <code> <code>
 
Back to top
dev/extensions/svn_to_github.txt · Last modified: 2015/08/22 20:03 by flop25
 
 
github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact