Hi Pino! On Sun, Apr 22, 2018 at 09:04:29PM +0200, Pino Toscano wrote: > Please invoke svn-all-fast-export with: > * --add-metadata, so each commit has the information about its SVN > commit (useful for history search) > * --svn-ignore, so at least basic .gitignore's are available (if there > were)
--add-metadata added. Unfortunately the version of svn-all-fast-export which is installed on Alioth does not support --svn-ignore, and the version where this flag was added (1.0.10+git4158cb06-1) FTBFS with libsvn from wheezy. I also tried to run svn-all-fast-export on my own server instead of Alioth, but there it fails with assertion error. > Also, once a conversion is done and all the unwanted stuff removed, > please compress it using `git gc --aggressive --prune=now`: this way > it will have no spurious stuff in its .git, and take less space on disk > (for the joy of salsa, and all the users cloning them). I added two commands to my clean script: - for tag in $(git tag --list 'backups/*'); do git tag -d $tag; done - git gc --aggressive --prune=now > Also², some of the repositories converted are not needed: > - k3b: I guess I forgot to update the Vcs-* headers, will do it in the > next upload > - libkdcraw & libkexiv2: converted to git looong ago These two were removed from sid, so I am now also checking Vcs-Git in stable. k3b removed manually. > So, I reviewed the folling repositories, which can be reconverted and > cleaned as I wrote above, and pushed to salsa: > - ctemplate -> 3rdparty/ctemplate > - icemon -> 3rdparty/icemon > - kalternatives -> kde-extras/kalternatives > - kchmviewer -> kde-extras/kchmviewer > - kmymoney2 -> kde-extras/kmymoney > - kphotoalbum -> kde-extras/kphotoalbum > - kradio4 -> kde-extras/kradio4 > - kraft -> kde-extras/kraft > - lensfun -> 3rdparty/lensfun > - skrooge -> kde-extras/skrooge > - smb4k -> kde-extras/smb4k All done now. Should I delete their directories from SVN? > Few more issues I found: > > * icecc: > - the tag debian/0.7.14-1 has no parent: most likely it was copied with > manual cp (and not svn cp), but still I'd like this to be fixed > > * kio-gopher: > - please remove the "kio-gopher-" prefix from the tags > > * krename: > - the tag debian/3.0.14-1 and the 4 commits for it have no parents > - the tag debian/4.0.3-1 has no parents > - the experimental branch has no parent > > * rsibreak: > - the tags debian/0.9.0-1, debian/0.9.0-2, and debian/0.9.0-3 need the > epoch in their names (like done starting from debian/1%0.9.0-4) > - there are tags with no parent: debian/0.9.0_beta3, and > debian/0.10_beta1-1 > > I will review the remaining repositories, and the ones above with > issues fixed, next weekend (I cannot earlier). kio-gopher fixed manually. For the remaining packages I think the best solution is deleting the old tags from Salsa manually and maybe pushing the replacement tags. My next step would be bulk updating Vcs-* fields in all repositories on Salsa, migrated from both Git and Svn. -- Dmitry Shachnev
signature.asc
Description: PGP signature
-- https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-kde-talk
