Skip to content
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

Merged
merged 1 commit into from
Dec 21, 2016
Merged

Conversation

kocio-pl
Copy link
Collaborator

Obsoletes #2521.
Enables #2470.

Instructions for compiling this style using CartoCSS.

* [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
Copy link
Collaborator

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

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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"`).
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@pnorman pnorman merged commit 286b292 into gravitystorm:master Dec 21, 2016
@kocio-pl kocio-pl deleted the carto-api branch December 21, 2016 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants