Bug#845297: Website transition from CVS to Git - now with cvs-revisions file
Paul Wise <[email protected]>
| Newsgroups | gmane.linux.debian.devel.www |
|---|---|
| Organization | Debian |
| Message-ID | <1512446930.32452.8.camel__43459.2529469684$1512447139$gmane$org@debian.org> |
On Mon, 4 Dec 2017 14:50:41 +0100 Laura Arjona Reina wrote: > I've done another "git cvsimport" conversion, this time with the -R > option so we get a file "cvs-revisions" mapping each file+cvsrevision to > the corresponding git commit. Great, we could use that for a redirector from viewvc to cgit URLs. I was thinking the revision info should be in the commit messages too, so that anyone can look up historical CVS version numbers in gitk. Based on Osamu Aoki's git-cvs sync code I've come up with the attached script that works for me with a small CVS repository. Like git-cvs, the script rsyncs the repository locally for faster conversion. I haven't tried it on the full webwml CVS repository. The additions to the git commit logs are customisable. The script also adds itself to the git history as a record of exactly how the conversion was done. It needs customising to set your username and to switch from the small CVS repository to webwml. > -A ./cvs_authors_20170820.txt I couldn't find a copy of this, is it online somewhere? -- bye, pabs https://wiki.debian.org/PaulWise
cvs2git
(application/x-shellscript, 1.2 KB) - not displayed
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAlomG9IACgkQMRa6Xp/6 aaPy3xAAiOR3JWjo0LmqDgFqqXvSZ3C/9C+l8W9UhGR2WzzFbIcCVOqWhjtubrDv clQeamG7JJtFlD6cild8A3gyimnVeD9/r0IPPJdQT0Y7gF14O53lQOir+2VQz29O vFmyGSCCdwRJz8qY/nBEfc4WjR1F6hEzPlZbmc6PVuOqaBIF6tpf4sm2Faj0psE3 kEkdIEoY/uQT2nMj7BX2Dk4OR2x0KQy5AVSgyLKHa7fyE3Og8NJT6pCq2hHQbOKa 6CR9CjPcnCDLBCzDic1kNFZ5z+VJx7TGtVP2wEv/mO1HjLfyQXqKvTmUX2jCxeut FA2kZBHHb3W5LL9Ufd6ViGjNzrTUg85w6nJKFHFJ0ZJQ+9akXSLm7ExsWFK2L1nK 9ISo7waLGOLyIUpMH5g4/6T836mW9G05OevFoy7KRwRaL/5X1Im7S2GDtzNJytO0 Jco0Tq9HMJPNBhZ8t5BHyYWUhItFTR3AhB3d2m/kT+gvoNE4fo3tPIFFEuJTAvTm TjC5v8WA4hly8ezSevG2FJvOkywgufzPfmsiVl6mw5o2lGKWFdSkPnT5KX6csJqJ IInkz3KnEbe36TD3rY74t+cYd5kVaBi2eaLcQdPYaQnxANXJIVOgNRxnqTJG1VQ2 0Ceh7edbpbCZNXp5WhIdONhq5Uf7CvRnKlRd9ay1dhZEdX094e0= =tw08 -----END PGP SIGNATURE-----