[OSM-dev] git.openstreetmap.org

Ævar Arnfjörð Bjarmason avarab at gmail.com
Wed Apr 21 16:42:31 BST 2010


On Wed, Apr 21, 2010 at 15:11, Tom Hughes <tom at compton.nu> wrote:
> On 21/04/10 15:06, Chris Browet wrote:
>> The real question is whether it is wanted/desirable to have the myriad
>> of OSM related projects hosted under a single repository (or at least
>> under an "openstreetmap.org <http://openstreetmap.org>" umbrella).
>> I don't actually have any opinion on this.
>
> Well one problem is that managing it will be a pain if we have lots of
> projects as an admin will have to create the repos and things.
>
> The git security model also makes it a pain because it's OS security based
> so would mean adding lots of system users and creating some complicated
> system of group ownership to control who owned each repo.

If you want to give people ssh:// access it can be (although GitHub,
Gitorious et al manage with git-shell). But are you aware of
git-http-backend(1)? You could set it up to do .htaccess push
authentication via a CGI script exactly like SVN is set up now.

> To do it on any non-trivial scale we would probably have to use something
> like a local install of gitorious.

Personally I don't see any reason why OSM needs to be in the business
of hosting Git repositories for the general case. Hosting stuff like
rails.git makes sense (although that could also just be a production
branch in some other repo).

There are plenty of good Git hosting providers out there and it's
relatively easy to sync ssh public keys via their APIs if we want
people to be able to push to GitHub, Gitorious and git.osm.org.

Using those providers also makes it easier for people to fork/watch
projects and would ease the admin burden on the osm.org admins.




More information about the dev mailing list