bazelbuild / bazelbuild/rules_pkg

Support make var expansion in pkg_tar

Open
#947 5 comments 0 reactions 0 assignees View on GitHub
feature-request P3
Dominant language
Starlark
Stars
253
Forks
221
Avg merge
10h 33m
Merged PRs (30d)
1

Description

We have a use case where we need to use variables from the toolchain's make vars in order to interpolate paths passed to remap_paths attribute in pkg_tar. Currently this is unsupported and results in the files not being found. Is this something that we'd be open to supporting?

Contributor guide

Open the contributing guide

Research direction

Start by locating the pkg_tar implementation and the remap_paths attribute handling, then trace how the toolchain's make vars are exposed. Done means remap_paths can interpolate those variables and the resulting paths are found.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.