-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Move presets / data into a separate repository #2656
Comments
I believe it is possible to create a separate repository and add it as a git submodule to this one, while preserving those files's history (using some of gits history-rewriting commands). Though I'm not sure how we could migrate the related Github issues to the new presets repository. It should also be verified if the presets are cleanly separated in different directories, because otherwise we would need to refactor current code to accomodate this change (and that could be a deal-breaker unless it was a really trivial change). |
Yes the presets are cleanly isolated under |
Bumping the priority of this issue. As soon as reasonably possible, I will:
HOT really needs their own presets because:
This also helps me out because now quibbles about proper tagging can be moved elsewhere. |
I created a separate module for building presets, which expects data in the same structure as We use this for building custom presets for different deployments. Hopefully this can be useful for others working with custom presets and also be used when OSM presets move to a separate repository. Differences from the iD Most of the code is pulled from build.js with the following differences:
|
I realize I stuck a MIT license on this by default, happy to license it as whatever, as needed. |
I've changed my thinking on this.. read more here tl;dr:
Let's leave the presets in iD for now, but make it easier for users to replace them with #5049 |
It is hard to track code changes between all the changes and issues around presets.
Keeping the data folder as a separate repository would also make it easier for those of us using iD with custom presets, and in general keep the issues cleaner for each.
The text was updated successfully, but these errors were encountered: