bazelbuild / bazelbuild/bazel

Add a way to deprecate attributes of rules

Open
#5,654 3 comments 3 reactions 0 assignees View on GitHub
not stale P3 team-Rules-API type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Description of the problem / feature request:

Sometimes it is desirable to be able to deprecate certain attributes of a rule, currently there is no way to do that.

### Feature requests: what underlying problem are you trying to solve with this feature?

I want to deprecate an attribute.

### Have you found anything relevant by searching the web?

No.

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

No.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing how rule attributes are declared and how deprecation is handled elsewhere in the project, then clarify the expected behavior for deprecated attributes. Done should include an agreed design, implementation scope, and tests covering the deprecation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.