[openstreetmap/openstreetmap-website] Browse deleted objects (#1448)

mmd notifications at github.com
Tue Mar 13 12:11:27 UTC 2018

Thanks a lot for your detailed feedback!

> So anyone who wants to genuinely use this codebase for a project then needs to set up cgimap, and deal with cgi processes and marshalling calls between the two codebases based on incoming url paths and yada yada. 

I don't think this is too bad. The logic to route requests to either Rails port or cgimap is a [just a few lines in the Apache configuration](https://github.com/openstreetmap/chef/blob/49b3060a40a46300b238b0dbe304283f20522735/cookbooks/web/templates/default/apache.backend.erb#L69-L75) and can be easily adjusted as needed.  Running cgimap itself seems to be manageable quite well via a [systemd script](https://github.com/openstreetmap/chef/blob/49b3060a40a46300b238b0dbe304283f20522735/cookbooks/web/recipes/cgimap.rb). Overall this approach seems very reasonable to me, even for third parties.

> out-of-the-box experience for openstreetmap-website is much more performant, much closer to what OSM uses in production, and contains a lot less gnarly old unloved ruby code

This makes sense. Yet I wonder a bit if this OSM website/API project is really meant to be a general purpose editing API for third parties to build their own site upon.

>  I'd rather we were in a place where new ideas need only one implementation.

Fully agree that double effort might be slowing down things and a single implementation would be ideal.

I see this a bit from a different angle. Today, you can make some pretty good progress if you're familiar with either Ruby or C++. I'm worried that once cgimap-ruby comes into the picture, it requires (development, bug chasing, performance, ,... ) knowledge in both Ruby _and_ C++, a skillset that is very rare out there.

>  but I'd be interested to know if anyone is looking at it.

AFAIK, Paul suggested it as GSoC 2018 project, or it has been moved from the GSoC 2017 page to the current one. Maybe a student is brave enough to look into it.

>  I'll try to look into that for you (on the cgimap-ruby tracker) - it's been a while since I last compiled it myself.

Great, thanks a lot for looking in this. 👍 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180313/97633954/attachment.html>

More information about the rails-dev mailing list