Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feedback for upload-source endpoint

Open
#99 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, cli

Research direction

Start at the CLI entry points for upload-source and list-source, and trace how the tileset ID and source list are handled. Verify the existing-source prompt, --replace path, add-source choice, and continue-with-existing-sources choice against the issue text; done means upload-source lists existing sources before adding or replacing one.

Written by the indexing model from the issue text.

Description

nice-to-have

It would be helpful to have the upload-source endpoint, automatically call the list-source endpoint to list all the already existing sources for the tileset ID before moving to add or replace the source. That way users can compare source sizes and avoid duplicating a source that already exists in their tileset. So it will be something like:

tilesets upload-source <username> <id> ./file.geojson
“The following source exists in tileset if you want to replace your source use --replace flag. If you want to add an additional source enter, "Yes". Enter "No" to continue with the existing sources”
List of the sources here...

Dominant language
Python
Stars
141
Forks
27
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapbox/tilesets-cli

All issues in mapbox/tilesets-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.