microsoft / typespec

https://typespec.io/
MIT License
4.49k stars 214 forks source link

TypeSpec Repo Issue and PR orgranization #3265

Closed timotheeguerin closed 4 months ago

timotheeguerin commented 6 months ago

We have a bit of a mess in our labels and pr naming is inconsitent/hard to review

Labels

Area labels

Kind labels

Process label

Needs author feedback flow:

Current:

Proposed:

Design labels

Breaking change labels

Cleanup labels

Let's delete unused labels. Let's also delete low value labels if possible.

For example:

Issue & PR naming convention

Issue titles are just issue titles without metadata, so no prefixes, suffixes, or the like. Metadata exists in labels. This will ensure the smoothest possible experience with Chronus and other tooling, at the expense of slightly less useful commit descriptions.

Existing labels

Keep

Rename

Remove

Colors

compiler: -- typespec brand color (dark purple) lib: -- light purple ide:* -- mid purple

emitter:client: -- light yellow emitter:server: -- dark yellow/gold emitter:* -- mid yellow

eng: light blue (azure brand color) meta: mid blue tspd: dark blue

bug, feature, epic, docs -- light grey

needs-triage -- light red triage-accepted -- grey

design:needed -- light green design:proposed -- mid green design:approved -- dark green

breaking-change: mid red deprecation: dark red

m-nash commented 6 months ago

related to https://github.com/microsoft/typespec/issues/3157

m-nash commented 6 months ago

@timotheeguerin is the suggestion here every issue has at least one label from Area labels and one label from Impact labels? Or what exactly should a good issue look like?

bterlson commented 6 months ago

I think it's fair to say almost every issue should have an area label and an impact label. Issues in the meta and eng area may not have impact labels I suppose.

timotheeguerin commented 6 months ago

Yeah I agree I think every issue should get triaged into at least an area(maybe more) and have an impact(for most) For PRs we should be able to automatically add the area labels and that could be 1,2+ don't know if its necessary to have the impact label on the PR as well.

markcowl commented 6 months ago

Some comments