Milestones and labels are used to track progress and organize the issue tracker across all WP-CLI packages.
Milestones
- Purpose: Open milestones typically represent the next upcoming release.
- Usage: Both issues and pull requests (PRs) must be assigned to the upcoming milestone to ensure they are included in the generated release notes.
Label Groups
Labels are categorized into semantic groups using specific prefixes:
Command Labels (command:)
Defines the specific command the issue/PR applies to.
- Example:
command:cli-update or command:core.
Scope Labels (scope:)
Defines the area of the ecosystem affected:
scope:bootstrap: The bootstrap process (loading WP-CLI and WordPress Core).scope:distribution: The distribution process (Phar building and releases).scope:documentation: Handbook, command reference, or inline help.scope:framework: The WP-CLI architecture, API, and helper functions.scope:testing: Unit or functional tests.scope:website: Infrastructure on wp-cli.org or make.wordpress.org.
State Labels (state:)
Defines the current status of the issue:
state:unconfirmed: The bug could not be replicated or is environment-specific.state:unsupported: The issue is outside the scope of GitHub support (redirect to official support channels).
Required Labels
These labels are mandatory across all official packages:
bug: A confirmed bug where code does not produce expected results (unexpected behavior of existing functionality).upstream-bug: A bug in upstream software (e.g., WordPress core, PHP) that will not be fixed in WP-CLI.good-first-issue: Small-scope issues suitable for new contributors.