mapbox / tilesets-cli

CLI for interacting with the Mapbox Tilesets API and Mapbox Tiling Service
https://docs.mapbox.com/mapbox-tiling-service
BSD 2-Clause "Simplified" License
125 stars 27 forks source link

`tilesets delete-source` does not delete source #171

Open skouzini opened 1 year ago

skouzini commented 1 year ago

I uploaded a broken source file using tilesets upload-source and after I discovered the error with my file, I tried to delete the existing source with tilesets delete-source and upload a fixed file to the same source id. (I also deleted the tileset with tilesets delete but that is not where the issue is being encountered.)

When I use tilesets view-source I see the "files" key-value increment by one and "source_size"/"file_size" increase with each new try.

It would seem to me that tilesets delete-source is not actually deleting the source, even with Source deleted. confirmation.

My current workaround is to make a new source with a new source id, which is fine, but I thought it important to mention this error I found.

Thanks!