kart icon indicating copy to clipboard operation
kart copied to clipboard

Adds support for basic s3 url redirects

Open olsen232 opened this issue 7 months ago • 0 comments

Adding url redirect rules to the linked-storage.json meta item causes those redirect rules to be honoured when fetching tiles for any commit that includes the new linked-storage.json.

However, this won't help when fetching tiles for older commits which were created before the redirect rules were added. The fix will be to add logic such that Kart finds redirect rules from a newer commit even when fetching tiles when checking out an older commit.

TODO in later PRs: TODO: add logic such that Kart finds redirect rules from newer commits. TODO: add a command for setting up redirect rules - right now there is just kart meta set which is pretty bare bones.

Related links:

https://github.com/koordinates/kart/issues/905

Checklist:

  • [x] Have you reviewed your own change?
  • [x] Have you included test(s)?
  • [ ] Have you updated the changelog?

olsen232 avatar Dec 03 '23 23:12 olsen232