Hi Kiryl,

Thanks for your suggestions, and they are looking good to me
I'll follow your suggestions on renaming or deprecating the labels.

For the label automation, do you want to push a PR to add it?

Regards,
Penghui


On Mon, Mar 18, 2024 at 9:39 PM Kiryl Valkovich <visorte...@gmail.com>
wrote:

> 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
>
>

Reply via email to