Notes for whoever's maintaining the server side of the openstreetmap-mirror.
The osm-mirror scripts run on w.nix.is. To set it up again do:
sudo adduser --disabled-login --disabled-password osm-mirror
Which'll run these cronjobs to mirror the repositories.
The .gitconfig
for the user:
$ perl -pe 's/token = \K.*/seekrt/' ~osm-mirror/.gitconfig
[github]
user = openstreetmap
token = seekrt
[user]
name = OpenStreetMap GitHub mirror
email = [email protected]
This use of GitHub has been approved by GitHub staff.
This is how I add a new mirror. It would be nice to script this all up via the GitHub API so that this can be done trivially through a config file. I.e. just add something like:
repository = gosmore
url = http://svn.openstreetmap.org/applications/rendering/gosmore
Create a new repository for it:
Project name: gosmore
Description: Mirror of Gosmore's Subversion repository
Homepage URL: http://svn.openstreetmap.org/applications/rendering/gosmore
Then set up a cronjob for it, see the cronjobs
file for examples.