Comment with better formatting on GitHub:
https://github.com/apache/pulsar/issues/22277#issuecomment-2002553745
• Deprecate java label. Pulsar is written in Java and most PRs update Java
code.
• Instead of removing labels, deprecate them by renaming them to
deprecated/<label_name>. Probably pick another prefix that is alphabetically
closer to the end of the alphabet to reduce noise.
• Add go label automatically using labeler:
https://github.com/apache/pulsar/blob/master/.github/labeler.yml
go:
- changed-files:
- any-glob-to-any-file: '**/*.go'
• Add component/* labels automatically based on the file path
component/config:
- changed-files:
- any-glob-to-any-file: 'conf/**/*'
- any-glob-to-any-file: 'pulsar-config-validation/**/*'
component/client:
- changed-files:
- any-glob-to-any-file: 'pulsar-client/**/*'
- any-glob-to-any-file: 'pulsar-client-*/**/*'
...
• Rename bug label to type/bug for consistency. Keep the red color.
• (?) Rename component/* => area/* for shorter names. The
https://github.com/kubernetes/kubernetes/labels has such naming.
• Rename doc-required label to type/doc. Relabel open issues and PRs with
doc labels to the type/doc.
• Deprecate all other doc-* labels. If it is needed for some kind of
workflow, simply use the board project with ToDo -> In Progress -> Done states.
• (?) Probably it makes sense to enable and track website and docs issues
in apache/pulsar-site repository. And add a good visible link to apache/pulsar
README.md.
• Deprecate the question label. Instead, move such issues to Discussions ->
Q&A
• Migrate issues with the enhancement either to type/feature label or
Discussions. Add a new Suggest an idea issue template that redirects to the
Discussions -> Ideas
• (?) Rename PIP => type/PIP for consistency
• Rename flaky-test => type/flaky-test to consistency
• Deprecate lifecycle/stale label. Use Stale instead. Rename Stale => stale
for consistency.
• Add the ability to pick an area/* label from the dropdown on issue
creation.
systemd/systemd and a few other projects use this action for that:
https://github.com/redhat-plumbers-in-action/advanced-issue-labeler?tab=readme-ov-file#real-life-examples
Best,
Kiryl