bazelbuild / bazelbuild/rules_license

Tools should not be in the default metadata gathering

Open
#89 1 comment 0 reactions 0 assignees View on GitHub
bug P2
Dominant language
Starlark
Stars
85
Forks
37
PR merge metrics
No merged PRs in 30d

Description

When you depend on a tool it should not be included in the license/metadata gathering.
We have the filtering function, but it is insufficient.

Some ideas:
- filter any dependency in the exec configuration. Crude but mostly right.
- metadata about the attribute usage on attributes. Elegant but hard.

Contributor guide

Open the contributing guide

Research direction

Start with the existing filtering function and inspect how default license/metadata gathering handles dependencies from the exec configuration. Compare that behavior with attribute usage metadata, using the issue's two proposed approaches as the scope. Done means tool dependencies are excluded from default license/metadata gathering without filtering ordinary dependencies.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.