bazelbuild/bazel

rctx.download_and_extract should fully unpack .deb files

Open

#23,634 opened on Sep 16, 2024

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Java (4,465 forks)batch import
P2help wantedteam-ExternalDepstype: feature request

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (Avg merge 22d 20h) (77 merged PRs in 30d)

Description

Description of the feature request:

Currently, rctx.download_and_extract just extracts .deb files into its internals, e.g. data.tar, control.tar. It'd probably be more useful if it could actually extract the real data under it, like dpkg -x would do.

Which category does this issue belong to?

Core

What underlying problem are you trying to solve with this feature?

Easily unpack .deb files.

Which operating system are you running Bazel on?

Ubuntu 24.04

What is the output of bazel info release?

release 7.3.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Contributor guide