Re: [OSM-dev] git.openstreetmap.org

2010-04-22 Thread Chris Browet
>
> > 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.
>
> Here's more info on this from GitHub which just rolled it out:
> http://github.com/blog/642-smart-http-support
>

Hmm... That's indeed a big plus...
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-22 Thread Ævar Arnfjörð Bjarmason
On Wed, Apr 21, 2010 at 15:42, Ævar Arnfjörð Bjarmason  wrote:
> On Wed, Apr 21, 2010 at 15:11, Tom Hughes  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 " 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.

Here's more info on this from GitHub which just rolled it out:
http://github.com/blog/642-smart-http-support

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Seth Voltz
I'm not sure if this is how Gitorious works in the backend, but I have had good 
luck with Gitosis [1], which was built to mimic the way GitHub works. You 
always connect as g...@git.server... and the Gitosis config file takes care of 
ensuring you (using your SSH key) have access to that project. There's a nice 
tutorial [2] that I've used a number of times.

[1]: http://eagain.net/gitweb/?p=gitosis.git
[2]: 
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

— Seth


On Apr 21, 2010, at 7:06 AM, Chris Browet wrote:

> 
> *nod*, but on the other hand we're offering free hosting services for
> SVN now, it would be neat to eventually have a hosting plan if those
> projects want to move to Git (or if we decide to mandate it because we
> don't want to host SVN anymore).
> 
> I think anyone can host its project at github/gitorious for free.
> 
> 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" umbrella). 
> I don't actually have any opinion on this.
> 
> But I'd really like to move Merkaartor to git ;-)
> If a decision could me made quite rapidly on what could be hosted in 
> git.openstreetmap.org and what couldn't, it would be great.
> 
> - Chris -
> ___
> dev mailing list
> dev@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev



PGP.sig
Description: PGP signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Łukasz Jernaś
On Wed, Apr 21, 2010 at 5:35 PM, Ævar Arnfjörð Bjarmason
 wrote:
> On Wed, Apr 21, 2010 at 14:06, Chris Browet  wrote:
>> But I'd really like to move Merkaartor to git ;-)
>
> Do you need any help with converting it? The OSM website was converted
> via some hacky work I did (http://gist.github.com/373809). I could do
> the same for Merkaartor.
>
>> If a decision could me made quite rapidly on what could be hosted in
>> git.openstreetmap.org and what couldn't, it would be great.
>
> You don't need to wait for osm.org to move Merkaartor to git. Isn't it
> mostly maintained by <5 authors or so?

I for one welcome our new git overlords!

-- 
Łukasz [DeeJay1] Jernaś

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 17:35, Ævar Arnfjörð Bjarmason wrote:

> On Wed, Apr 21, 2010 at 14:06, Chris Browet  wrote:
> > But I'd really like to move Merkaartor to git ;-)
>
> Do you need any help with converting it? The OSM website was converted
> via some hacky work I did (http://gist.github.com/373809). I could do
> the same for Merkaartor.
>

Thanks for your offer. I can handle it.

It's just that I'm not sure where to go, gitorious (although nicer, I
somewhat discard github for not being opensource) or OSM.

If the decision is made that not all projects can go to
git.openstreetmap.org, the dilemma would be resolved by itself...
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Ævar Arnfjörð Bjarmason
On Wed, Apr 21, 2010 at 15:11, Tom Hughes  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 " 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.

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Ævar Arnfjörð Bjarmason
On Wed, Apr 21, 2010 at 14:06, Chris Browet  wrote:
> But I'd really like to move Merkaartor to git ;-)

Do you need any help with converting it? The OSM website was converted
via some hacky work I did (http://gist.github.com/373809). I could do
the same for Merkaartor.

> If a decision could me made quite rapidly on what could be hosted in
> git.openstreetmap.org and what couldn't, it would be great.

You don't need to wait for osm.org to move Merkaartor to git. Isn't it
mostly maintained by <5 authors or so?

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 04:06:04PM +0200, 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
> > "_ o_ p_ e_ n_ s_ t_ r_ e_ e_ t_ m_ a_ p_ ._ o_ r_ g" umbrella).
> > I don't actually have any opinion on this.
> Gitorious is Open Source and can be installed to provide Git-repositories.
> Maybe gitorious.openstreetmap.org would be a nice idea?
>

Indeed, nice idea.
It would keep the OSM projects together while taking advantage of gitorious
to ease the admin burden on TomH...
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Tom Hughes
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 " 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.

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

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Stephan Plepelits
On Wed, Apr 21, 2010 at 04:06:04PM +0200, 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
> "_o_p_e_n_s_t_r_e_e_t_m_a_p_._o_r_g" umbrella).
> I don't actually have any opinion on this.
Gitorious is Open Source and can be installed to provide Git-repositories.
Maybe gitorious.openstreetmap.org would be a nice idea?

greetings,
Stephan

PS: OpenStreetBrowser recently moved to Git/Gitorious:
http://gitorious.org/openstreetbrowser
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik & Raumplanung |
| Projects:   |
| > openstreetbrowser.org > couchsurfing.org > tubasis.at > bl.mud.at |
| Contact:|
| > Mail: sk...@xover.mud.at > Blog: plepe.at > Jabber: sk...@fsinf.at|
| > Twitter: twitter.com/plepe > Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
> *nod*, but on the other hand we're offering free hosting services for
> SVN now, it would be neat to eventually have a hosting plan if those
> projects want to move to Git (or if we decide to mandate it because we
> don't want to host SVN anymore).
>

I think anyone can host its project at github/gitorious for free.

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" umbrella).
I don't actually have any opinion on this.

But I'd really like to move Merkaartor to git ;-)
If a decision could me made quite rapidly on what could be hosted in
git.openstreetmap.org and what couldn't, it would be great.

- Chris -
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Ævar Arnfjörð Bjarmason
On Wed, Apr 21, 2010 at 09:28, Tom Hughes  wrote:
>> I've seen that the rails_port has (quite silently) moved to a OSM owned
>> git repository. I'm a bit surprised I didn't hear more of that (or maybe
>> I wasn't listening at the right place). But whatever...
>
> It only happened about 24 hours ago! Give us a chance and we'll get all
> the details sorted out and make some announcements...
>
>> The actual question is what is the status of this git repo. Is this more
>> or less private or open to the other OSM projects?
>
> That repo is the master repo for the live site and is only likely to be
> open to a limited number of committers. The nature of a DVCS is that it
> doesn't need to be open to everybody as people can just fork and then
> ask for changes to be pulled in to the live site.

Here's a mirror I set up for those interested in forking/watching it
from GitHub:

http://github.com/avar/morbo

It'll probably be taken down in lieu of a more official mirror soon-ish.

> If you're asking whether other projects can have repos on that server
> then we may consider it for some other core tools but I'd like to let
> what we have settle down a bit first - if nothing else I need to get
> used to git.

If you need some admin help with it you know who to call :)

> I don't see it becoming the kind of vast dumping ground for all and
> sundry that the svn repo is - once again that isn't really the spirit of
> a DVCS anyway.

*nod*, but on the other hand we're offering free hosting services for
SVN now, it would be neat to eventually have a hosting plan if those
projects want to move to Git (or if we decide to mandate it because we
don't want to host SVN anymore).

Wherever the "master" repos are hosted it would be nice to set up a
project-wide mirror for all the osm Git stuff on GitHub, simiral to
e.g. http://github.com/apache and http://github.com/facebook.

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 12:16, Tom Hughes  wrote:

> On 21/04/10 11:13, Chris Browet wrote:
>
> Is there (or do plan to) put a gitweb or similar on it?
>>
>>
>>I take you didn't actually look at http://git.openstreetmap.org/ then?
>>
>>
>> Yes I did. I receive a really nice "It works!" ;-)
>>
>
> That suggests your browser isn't sending a host header so that you are
> seeing the default vhost. But if that was true you wouldn't see the trac
> site.
>
> Maybe you have an old page cached? You would have to have had it cached for
> a couple of weeks though which is a bit odd.
>
> Indeed, it was cached somewhere. Sorry.

- Chris -
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Tom Hughes
On 21/04/10 11:13, Chris Browet wrote:

> Is there (or do plan to) put a gitweb or similar on it?
>
>
> I take you didn't actually look at http://git.openstreetmap.org/ then?
>
>
> Yes I did. I receive a really nice "It works!" ;-)

That suggests your browser isn't sending a host header so that you are 
seeing the default vhost. But if that was true you wouldn't see the trac 
site.

Maybe you have an old page cached? You would have to have had it cached 
for a couple of weeks though which is a bit odd.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 11:28, Tom Hughes  wrote:

> On 21/04/10 09:47, Chris Browet wrote:
>
>  I've seen that the rails_port has (quite silently) moved to a OSM owned
>> git repository. I'm a bit surprised I didn't hear more of that (or maybe
>> I wasn't listening at the right place). But whatever...
>>
>
> It only happened about 24 hours ago! Give us a chance and we'll get all the
> details sorted out and make some announcements...


Sorry, just that I saw you already deleted the branch from svn, which (I
assume) could upset the guys running from svn. So I assumed some kind of
announcement was done somewhere...

>
>
>  The actual question is what is the status of this git repo. Is this more
>> or less private or open to the other OSM projects?
>>
>
> That repo is the master repo for the live site and is only likely to be
> open to a limited number of committers. The nature of a DVCS is that it
> doesn't need to be open to everybody as people can just fork and then ask
> for changes to be pulled in to the live site.
>
> If you're asking whether other projects can have repos on that server then
> we may consider it for some other core tools but I'd like to let what we
> have settle down a bit first - if nothing else I need to get used to git.
>
> I don't see it becoming the kind of vast dumping ground for all and sundry
> that the svn repo is - once again that isn't really the spirit of a DVCS
> anyway.


Ok.

>
>
>  Is there (or do plan to) put a gitweb or similar on it?
>>
>
> I take you didn't actually look at http://git.openstreetmap.org/ then?
>

Yes I did. I receive a really nice "It works!" ;-)

- Chris -
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Tom Hughes
On 21/04/10 09:47, Chris Browet wrote:

> I've seen that the rails_port has (quite silently) moved to a OSM owned
> git repository. I'm a bit surprised I didn't hear more of that (or maybe
> I wasn't listening at the right place). But whatever...

It only happened about 24 hours ago! Give us a chance and we'll get all 
the details sorted out and make some announcements...

> The actual question is what is the status of this git repo. Is this more
> or less private or open to the other OSM projects?

That repo is the master repo for the live site and is only likely to be 
open to a limited number of committers. The nature of a DVCS is that it 
doesn't need to be open to everybody as people can just fork and then 
ask for changes to be pulled in to the live site.

If you're asking whether other projects can have repos on that server 
then we may consider it for some other core tools but I'd like to let 
what we have settle down a bit first - if nothing else I need to get 
used to git.

I don't see it becoming the kind of vast dumping ground for all and 
sundry that the svn repo is - once again that isn't really the spirit of 
a DVCS anyway.

> Is there (or do plan to) put a gitweb or similar on it?

I take you didn't actually look at http://git.openstreetmap.org/ then?

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

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