-
Notifications
You must be signed in to change notification settings - Fork 129
Merging CartoDB changes back upstream #413
Comments
We're happy to bring these changes back into the mainline - so far I'm a little confused by the direction of the browserification and note that we previously had another attempt at bringing changes back that made things browserify compatible, but not idiomatic or consistent with CommonJS - basic tenets like avoiding globals, using require(), and using a single entry point. If carto goes commonjs with browserify support, it should go all the way and follow the right patterns. |
I saw the ping, but haven't managed to find you online when I've looked |
As of 65fef93 I consider 1. done. Is there any work still considered from the CartoDB side? |
My work at CartoDB finished, so I'm not in a position to comment. cc @rochoa |
…SON variant is used and then either output directly or afterwards converted to XML, ref #413
…, document JS API, fixes #479, update man page
You can now specify your own reference and pass it to the renderer via the JS API. There is now also quite some documentation about that feature. With that I think carto is now flexible enough to support various use cases. Without interest from the CartoDB side I don't see No. 4 happening as I don't see the need for use cases outside of CartoDB. I'd be happy if these additions are tested. As carto got a lot of bugfixing lately I think this would benefit CartoDB also. But I don't know how much the two forks have already diverged. Closing for now. |
I'm working at getting our carto changes merged back here to minimize different versions, and I'm wondering about what strategy to use to make it easy for you to merge.
In principle, the changes are
browserify
carto and run it in the browserframe-offset
in selectorsThe cartodb tree is https://github.com/CartoDB/carto/tree/master, but Github won't diff it since it was forked before mapbox/carto was made not a fork of less/less.css. This shell might help see changes while ignoring docs and compiled files:
git diff mapbox/master cartodb/master --
git diff mapbox/master cartodb/master --name-only | grep -v '^dist/' | grep -v '.*.md$'``My inclination is to first PR small non-browserify dependent changes, add browser support and tests, then add json output.
I'm not sure how to best handle 3 and 4. 3 is fairly easily to locally patch if we need to, but 4 is an addition that Mapnik wouldn't support.
The text was updated successfully, but these errors were encountered: