bazel-contrib / bazel-contrib/buildtools

Warning for name="all"

Open
#793 2 comments 3 reactions 0 assignees View on GitHub
P2
Dominant language
Go
Stars
1.2k
Forks
471
Avg merge
2d 22h
Merged PRs (30d)
13

Description

Copying a comment from somewhere else:

> Are there actually targets named `all`? I thought that was reserved. This should be a strong ban on 'reserved' target names `all`, `__pkg__`, `__subpackages__`... any others? Build Doctor could start flagging these and filing bugs.

We could have a warning for this.

Contributor guide

Open the contributing guide

Research direction

Start by locating Build Doctor’s target-validation entry point; the issue names no file or test. Confirm which names are reserved and define the warning behavior, with tests covering the agreed list. Done means reserved target names such as all, __pkg__, and __subpackages__ are flagged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.