Title: `python/cpython` labels grouping · Issue #450 · python/core-workflow · GitHub
Open Graph Title: `python/cpython` labels grouping · Issue #450 · python/core-workflow
X Title: `python/cpython` labels grouping · Issue #450 · python/core-workflow
Description: There are two ways to group labels on GitHub: by color and by using a common prefix. Even though the color-coding helps, without a common prefix, labels that belong in the same category are not grouped together in the "Labels" dropdown i...
Open Graph Description: There are two ways to group labels on GitHub: by color and by using a common prefix. Even though the color-coding helps, without a common prefix, labels that belong in the same category are not gro...
X Description: There are two ways to group labels on GitHub: by color and by using a common prefix. Even though the color-coding helps, without a common prefix, labels that belong in the same category are not gro...
Opengraph URL: https://github.com/python/core-workflow/issues/450
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`python/cpython` labels grouping","articleBody":"There are two ways to group labels on GitHub: by color and by using a common prefix. Even though the color-coding helps, without a common prefix, labels that belong in the same category are not grouped together in the \"Labels\" dropdown in the sidebar. On the other hand, adding a prefix to all labels makes them longer and adds clutter.\r\n\r\nOn `python/cpython`, we currently have [61 labels](https://github.com/python/cpython/labels), that include misc labels (like `easy`, `pending`, etc.) and a few main groups, including:\r\n* types (uses the `type-*` prefix)\r\n* experts (uses the `expert-*` prefix)\r\n* OS (uses the `OS-*` prefix)\r\n* version number (no prefix/grouping needed -- they all start with 3)\r\n* \"dir\" (no prefix)\r\n\r\nThe \"dir\" category currently has 5 labels: `stdlib`, `docs`, `tests`, `interpreter-core`, and `extension-modules`, and they indicate what part of the source tree is affected, however since they have no prefix, they are not grouped. I'm not sure if `dir-*` would be a good prefix, but I can't think of anything better.\r\n\r\nAnother idea suggested on Discord is to use emojis as prefixes for some categories, since they only take 1 character, are easily recognizable, and can convey some semantic meaning as well.\r\n\r\nSome suggestions:\r\n* :open_file_folder: can be used as a prefix for the \"dir\" group\r\n* :snake: can be used as a prefix for experts\r\n* if we want to replace the `type-*` prefix:\r\n * :orange_book: for `crash` and `security`, :blue_book: for `bugs`, and :green_book: for `feature requests`\r\n * :red_circle: :orange_circle: :large_blue_circle: :green_circle: / :red_square: :orange_square: :blue_square: :green_square:\r\n * :file_cabinet: or :card_file_box: if we want the same emoji for all items\r\n* if we want to replace the `OS-*` prefix: :computer: or :desktop_computer: \r\n* we could keep some text-based prefix, and not all labels need a prefix\r\n* we could add prefixes to create some mini-groups:\r\n * ❌ for `invalid`/`spam`\r\n * :exclamation: for `release blocker`/`deferred blocker`\r\n * :robot: for labels that trigger bot actions\r\n* some bots/tools might need to be updated if we rename labels\r\n\r\nThe main goals I want to accomplish are:\r\n* group the \"dir\" labels\r\n* make related labels easier to find in the dropdown\r\n* make label names shorter\r\n* make the categories clearer\r\n\r\nIn addition I wanted to remove/rewrite the (already outdated) [\"GitHub Labels\" page in the devguide](https://devguide.python.org/gh-labels/) and just document the categories, linking to [the labels list on GitHub](https://github.com/python/cpython/labels) for the actual page and their description.\r\n\r\ncc @Mariatta ","author":{"url":"https://github.com/ezio-melotti","@type":"Person","name":"ezio-melotti"},"datePublished":"2022-05-06T09:45:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/450/core-workflow/issues/450"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8b5d24c0-24a4-43e7-196c-8a5036c9f9e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD5A:30B952:1021F39:1640557:6969F92C |
| html-safe-nonce | 7e5307887b9f96c2d36b003bb8c4cb4d41a0291f5ef5ad15ad95dbdeb00e6e18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDVBOjMwQjk1MjoxMDIxRjM5OjE2NDA1NTc6Njk2OUY5MkMiLCJ2aXNpdG9yX2lkIjoiNjY4ODMxMzQ2MjQxMDA0OTgzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 194ed2ee57b17fe4b628917c8de53a070800f3f7d2a00946de21f9ceb42bda7a |
| hovercard-subject-tag | issue:1227645273 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/core-workflow/450/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55a52245bbe4978f72d99fc8118ff594061cd0b493b66ec4a2cda6ce64370ef5/python/core-workflow/issues/450 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55a52245bbe4978f72d99fc8118ff594061cd0b493b66ec4a2cda6ce64370ef5/python/core-workflow/issues/450 |
| og:image:alt | There are two ways to group labels on GitHub: by color and by using a common prefix. Even though the color-coding helps, without a common prefix, labels that belong in the same category are not gro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ezio-melotti |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/core-workflow git https://github.com/python/core-workflow.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 76080865 |
| octolytics-dimension-repository_nwo | python/core-workflow |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76080865 |
| octolytics-dimension-repository_network_root_nwo | python/core-workflow |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width