-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper API version for CartoCSS #2523
Conversation
* [Carto](https://github.com/mapbox/carto) >= 0.16.0 (we're using YAML) | ||
* [Mapnik](https://github.com/mapnik/mapnik/wiki/Mapnik-Installation) 3.0 | ||
* [CartoCSS](https://github.com/mapbox/carto) >= 0.16.0 (we're using YAML) | ||
* [Mapnik](https://github.com/mapnik/mapnik/wiki/Mapnik-Installation) >= 3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be kept at 3.0 because 3.1 can break backwards compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So can CartoCSS > 0.16.3 - you just never know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could just mention "3.0.x" and "0.16.x", it would be pretty safe. ">=" statement is too general and pinning bugfix versions would be too strict, I guess.
* [CartoCSS](https://github.com/mapbox/carto) >= 0.16.0 (we're using YAML) | ||
* [Mapnik](https://github.com/mapnik/mapnik/wiki/Mapnik-Installation) >= 3.0 | ||
|
||
Remember to run CartoCSS with proper API version to avoid errors (at least 3.0.0: `carto -a "3.0.0"`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we specify an exact version, or at least 3.0.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, but this should be stable for some time (should work with future CartoCSS versions), so we can specify exactly 3.0.0.
Obsoletes #2521.
Enables #2470.
Instructions for compiling this style using CartoCSS.