rust-lang / spec

The Rust specification
Apache License 2.0
103 stars 7 forks source link

Meta Policy: Adopt Semantic issue labels #52

Closed chorman0773 closed 5 months ago

chorman0773 commented 8 months ago

I'd like to formally recommend that we adopt the semantic issue labels format used by the rest of the rust-lang org for labelling issues. It will probably be easier to migrate both labels and issues now while we have a limited set (vs. later when we have a few hundred), and the labels are fairly helpful in filtering things.

It would also make it easier to set up labeling from triagebot (I did that set up a bit ago for the unsafe-code-guidelines repo used by T-opsem), and allow contributors to more immediately identify information about the issue/PR. This can be useful particularily for PRs that touch the spec chapters, as making it easy for contributors to identify stylistic/maintenance changes vs. salient textual changes. With some work, it can also be useful to interface with the rest of the project, by raising potential issues in spec PRs to the relevant teams when something may be unclear (using standard labels like I-lang-nominated).

chorman0773 commented 8 months ago

For the specific set of labels, I recommend adopting the same top-level set set that rust-lang/rust has with a few exceptions:

It may be reasonable to automate these labels - for the lccc project, I wrote a tool that creates labels in this style, though the template repo would need to be forked to the rust-lang org (the tool updates repo labels via GHA CI), and then the data for it would need to be created. I am hesitant to recommend we use the tool over manual label creation for now, but it is an option for keeping the label list up to date.

chorman0773 commented 8 months ago

(One thing that might make sense is if we had an A-label for each "rule-id" or chapter rule-id, then using the tool to keep those A labels in sync would be useful)

chorman0773 commented 6 months ago

Is there any progress on this? I believe Joel took this as an action item back at the beginning of april. If he doesn't have time, I'd take it, though I don't believe I have the required permissions to do so currently.

JoelMarcey commented 6 months ago

If I understood what came out of this at the last t-spec meeting, @chorman0773 was going to give us a list of labels that we could add to the project here. And then @chorman0773, me and others were going to relabel all the issues with the new labels.

chorman0773 commented 5 months ago

This can probably be closed since it's been completed.