[OSM-dev] I converted the rails port to Git

Tom Hughes tom at compton.nu
Mon Feb 22 00:09:20 GMT 2010


On 21/02/10 22:30, Ævar Arnfjörð Bjarmason wrote:

> We were discussing maybe moving over to Git in #osm and I thought I'd
> do a quick conversion just to show how easy it is:
>
>      http://github.com/avar/openstreetmap-website
>
> Here are the commands you need to execute to convert it yourself:
>
>      http://wiki.github.com/avar/openstreetmap-website/subversion-to-git-commands

Whilst I'm prepared to consider moving to git we need to give serious 
consideration to whether we want to host on an external site, if only 
from the point of view of maintaining a solid set of backups.

> Is anyone maintaining a file with the E-Mail addresses of commiters?
> Tom?

I don't have that as such, but if you can give me a list of usernames I 
should be able to come up with a list of addresses.

> We discussed briefly on IRC where we would host our Git repositories
> if we hypothetically converted all of the OpenStreetMap SVN to
> it. Personally I think Github would be great for that, the alternative
> of just setting up our own git ssh:// and gitweb really misses the
> added benefit of the web-based forking, pull requests,
> multi-repostiory tracking and the other collaborative aspects of git
> which really shine through with Github.

Well apparently we can setup our own github if we want, but I will need 
to look at that.

> Some people on IRC were worried about the case where Github might be
> down and they wanted to deploy the site. It is down every once in a
> while but in those cases it should be just a matter of doing:
>
>      git push ssh://deploy.openstreetmap.org/repos/web.git master
>
>  From your local machine which also has those changes, and of course it
> would also be trivial to automatically replicate Github's repositories
> somewhere else as commits come in due to the distributed nature of
> Git.

What is deploy.openstreetmap.org exactly? In order to make deployment 
work we need somewhere we can pull from to multiple machines.

> In the very worst case of it getting nuked from orbit by invading
> aliens you'll just copy the ssh keys you've allowed to somewhere else
> and tell commiters to do:
>
>      git config remote.origin.url
> git://aliens-ate-github.org/openstreetmap/web.git

That presumes that aliens-ate-github.org has somehow magically gained a 
copy of the code from github before the aliens arrived.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/




More information about the dev mailing list