summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2015-01-17 23:45:18 +0000
committerSalvatore Bonaccorso <carnil@debian.org>2015-01-17 23:45:18 +0000
commitda28c3b27d3818c38a5c750c098c1e1a1d0fa19a (patch)
tree3464a38ac5846a0bf9a88585697c21f9dfb129c3 /tools
parent5aa7162561481a0a475779c57179dd2bdbcaa582 (diff)
Add WIP README for the svn-git conversion
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31474 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'tools')
-rw-r--r--tools/git-migration/README19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/git-migration/README b/tools/git-migration/README
new file mode 100644
index 0000000000..03b827abb3
--- /dev/null
+++ b/tools/git-migration/README
@@ -0,0 +1,19 @@
+Howto for conversion (WIP)
+--------------------------
+1/ On alioth generate the AUTHORS.txt lists via fetch-authors script.
+
+2/ Clone the subversion repository using git-svn:
+
+ $ git svn clone svn+ssh://svn.debian.org/svn/secure-testing --prefix=origin/ -no-metadata -A AUTHORS.txt tmp-git-repo
+
+3/ Push repository to new bare git repo
+
+ $ cd tmp-git-repo
+ $ git remote add new-repo svn+ssh://git.debian.org/git/debian-security/debian-security.git
+ $ git config remote.new-repo.push refs/remotes/*:refs/heads/*'
+ $ git push new-repo
+
+4/ On the bare repo rename trunk to master branch
+
+ $ git branch -m trunk master
+

© 2014-2024 Faster IT GmbH | imprint | privacy policy