Hi all, here is a sketch on the migration of shutdown-at-night from SVN to Git. 1. Create a fresh Git project for shutdown-at-night on vasks: $ ssh git.debian.org $ cd /git/debian-edu/pkg-team $ ../setup-project shutdown-at-night "shutdown-at-night Debian package" 2.Clone a Git repository from the SVN version of shutdown-at-night (make sure to get the line breaks right, some line breaks are here for readability):
$ git svn -A <authors-file> clone svn+ssh://svn.debian.org/svn/debian- edu/trunk/src/shutdown-at-night/ 3. Enter the new local Git project: $ cd shutdown-at-night 4. Specify the new remote origin Git repository: $ git remote add origin ssh://git.debian.org/git/debian-edu/pkg- team/shutdown-at-night.git 5. Push the local version to remote: $ git push origin master:master 6.This can be improved!!! ::: I then tagged the 12 releases manually and also pushed those:
$ git tag -s debian/0.12 -m "Debian release 0.12" <hash> $ ... 11x more ... $ git push origin --tagsThe script provided by Andreas Tille will be more handy with converting the SVN tags (and branches) to Git. For projects like debian-edu-config, his script should be used IMHO.
7.Last but not least: remove all files from the SVN version of shutdown-at-night and place a README.migrated2git into that folder that points to the new Vcs location.
Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
Attachment:
binNbCjJDyfkb.bin
Description: =?utf-8?b?w5ZmZmVudGxpY2hlciA=?= =?utf-8?b?UEdQLVNjaGzDvHNzZWw=?=
Attachment:
pgphfGIwDQqKV.pgp
Description: Digitale PGP-Signatur