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.
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.downloadandrctx.download_and_extractwhich doesn't private a primitive for downloading and decompressing a single file.For reference,
aspect_rules_lintwhich uses this rule set to download several tools (yamlfmt, terraform, etc.), uses a rawhttp_fileto download taplo along with a genrule to unwrap it. It would be great if we could natively support this in the multitool extension instead.