I got tired of waiting for `svn up' when rebuilding JOSM and wanted to
commit some local patches. So I made a Git mirror of JOSM that I and
others can use. It's very handy for getting faster updates, a local
history and the ability to patch JOSM without SVN write access:

    http://github.com/avar/josm

It's made with `git-svn`. It has two branches, the master branch is
unaltered from git-svn and can be used to bootstrap from git-svn[1]:

    http://github.com/avar/josm/tree/master

The second one is the mirror branch. This one is checked out by
default and includes all the svn externals plus this hack to get it to
build under Git:

    http://github.com/avar/josm
    http://github.com/avar/josm/commit/f5f16565e

It would be nice if the core build.xml supported getting the revision
from the git history if applicable, but my ant fu didn't suffice to
make this happen.

Finally this is the script that does the mirroring:

    http://github.com/avar/josm-mirror

It runs through cron every 30 minutes and hits the
josm.openstreetmap.org server with `git svn fetch`. I can adjust the
frequency if the server admins think this is too much.

1. Example of git-svn bootstrapping:
http://trac.parrot.org/parrot/wiki/git-svn-tutorial

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to