Moving the JOSM plugin repository from `svn` to `git`
Posted by vorpalblade on 27 December 2023 in English.As I’ve noted elsewhere, I’m working on moving the JOSM plugin repository from svn
to git
.
I’ve managed to get something for most authors, but I am still missing attribution information for 47 authors with 95 commits between them.
If you have previously contributed to the JOSM plugin svn repository or the OSM svn repository (which used to include the JOSM plugin svn repository), please reach out to me via OSM messages or email (tsmock@meta.com, taylor.smock@kaart.com, or smocktaylor@gmail.com) if the attribution for your contributions is missing or wrong.
What I need from you:
- The name you want your patches to be attributed to
- The email you want your patches to be attributed to
- As a reminder, this email will be publicly visible via git history. GitHub and GitLab both have
noreply
email addresses if privacy is a concern for you. - Grant Slater (firefishy) has the map used for migrating http://svn.openstreetmap.org/ to git. This will likely be used as a “last resort”; if the attribution from that conversion is OK, then no action is necessary.
- As a reminder, this email will be publicly visible via git history. GitHub and GitLab both have
- Optionally, the timezone offset for your patches (UTC±offset)
Notes on the conversion:
patch by <foo>
commits have been modified such that the originator (“<foo>
”) is shown as the author, while the committer remains unchanged.- Doesn’t do much to reduce repo size –
git lfs
could be used for this prior to the final conversion - The
dist
directory for plugin releases has been excluded from the test repository due to size constraints - Does not split plugins into their own repositories. This can be done later.
- plugin externals were converted to submodules; if a plugin had externals in it, those were not converted
WIP Repositories (please do not fork these; I may rebuild them at any time as I get new attribution information):
- JOSM core: https://github.com/tsmock/josm
- JOSM plugins + jmapviewer: https://github.com/tsmock/josm-osmsvn-svn2git
Discussion
Comment from 快乐的老鼠宝宝 on 7 January 2024 at 12:51
I’m not a plugin author, but I must say the work you’ve made are great! Because basically everyone is using git instead of svn now, this obviously allows more people to participate in code work (in fact, I first noticed JOSM on svn more than two or three years ago, because I wanted to submit a small fix, although I had forgotten what I wanted to fix. But I failed because I didn’t know how to use svn at that time)
(Even Firefox has given up using mercurial)
I hope that one day we will see that not only the plug-in repository, but also the JOSM repository itself will switch from svn to a more modern version control system, not necessarily github, but definitely git.