mapbox / mapbox/mason

Multiple libraries that share a download url

Open
#391 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
258
Forks
68
PR merge metrics
No merged PRs in 30d

Description

This is regarding packages like the android ndk and boost, where multiple libraries end up downloading the same file.

Is there any way to have the cache files be based on url, or to override the slug? My goal is to have packages like this all share the same cache file instead of redownloading it under a different name.

Boost isn't as bad, since the download is only ~85mb, but downloading the entire ndk for each architecture hurts.

Contributor guide

Open the contributing guide

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.

Research direction

The issue does not name files, tests, or entry points. Start by tracing Mason's download and cache-file naming logic, then determine how packages such as the Android NDK and Boost could share a URL-based cache or an overridden slug; done means identical download URLs reuse one cache file without breaking package retrieval.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.