Feature Request: Support compressed (non-archived) tools
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system
Research direction
Start by tracing the multitool module extension's use of rctx.download and rctx.download_and_extract. Compare that behavior with the aspect_rules_lint example at MODULE.bazel#L33 and tools/format/BUILD.bazel#L67. Done means multitool can support a gzip-compressed, non-archived executable such as taplo without an external genrule.
Written by the indexing model from the issue text.
Description
I want to use multitool to download a binary (taplo) that's distributed as a gzip-compressed executable. That doesn't seem to be supported by this rule set as only archives are able to be decompressed.
Do you think this is something that could be supported? I know it's nontrivial since the module extension uses rctx.download and rctx.download_and_extract which doesn't private a primitive for downloading and decompressing a single file.
For reference, aspect_rules_lint which uses this rule set to download several tools (yamlfmt, terraform, etc.), uses a raw http_file to download taplo along with a genrule to unwrap it. It would be great if we could natively support this in the multitool extension instead.
- Dominant language
- Starlark
- Stars
- 26
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bazel-contrib/rules_multitool
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
bazel-contrib/rules_multitool#131 ·
-
make a new releaseOpen
Difficulty 4/5 3-5 days Newbie friendliness 35/100
bazel-contrib/rules_multitool#130 · 2 comments · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
bazel-contrib/rules_multitool#127 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
bazel-contrib/rules_multitool#113 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
bazel-contrib/rules_multitool#107 · 1 comment ·
All issues in bazel-contrib/rules_multitool
Similar issues
-
Build failure: limoOpen0.kind: build failure
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area:contributor-experience bug difficulty:easy good first issue Stellar Wave
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
Upgrade to Go 1.27.1Openhelp wanted
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
Upgrade to Go 1.27.1Openhelp wanted
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
meshery-extensions/meshery-mcp-server#63 · 1 comment ·
-
Upgrade to Go 1.27.1Openhelp wanted
Difficulty 2/5 1-3 hours Newbie friendliness 62/100