Skip to content

Feature Request: Support compressed (non-archived) tools #97

@rafikk

Description

@rafikk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions