-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Update vector-tile to MapLibre fork #2460
Conversation
Bloaty Results (iOS) 🐋Compared to main
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-2460-compared-to-main.txt |
Just in case anyone else has the same problem, I'm encountering an error, I think related to this change of submodule. I started seeing an error when updating:
If you're hitting that error, I think the fix could be:
Here's my debug steps in case it's interesting to anyone... I don't really know enough about git submodules, but:
It's still referencing the old remote! Sanity check that I have the up-to-date .gitmodule
Ok, .gitmodules looks good. Maybe it's cached in the .git/config? TBH I don't really know the practical difference.
Yep! The .git/config has the old entry. So maybe I need to manually delete that entry from .git/config and re-initialize?
Huh! It's still failing. It recloned the submodule with the stale remote. So I gave up.
In hindsight, I probably could have manually set the new remote vendor/vector-tile. But I was expecting the client to be able to infer this automatically based on the changes to .gitmodules. Maybe there's a reason it's manual that I don't understand.
|
@michaelkirk Thanks for sharing your struggles. Submodules can be a pain... |
Updates the vector-tile vendored dependency to use the MapLibre fork hosted at https://github.com/maplibre/mvt-cpp
Includes a commit cherry-picked by @nathreed maplibre/mvt-cpp#2
Closes #795
Also some progress towards #2227