Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build/maintner: Support additional label details #24444
Is it in scope of
If this is chosen to be done, it should be a tiny increase of file size and memory requirements, compared to what's needed fetching all the issues already. Labels change very little. This is assuming it is implemented efficiently, where each issue only contains the label ids, but the label details are stored in a separate map. I.e., you probably wouldn't want copies of "Used by googlebot to label PRs as having a valid CLA. The text of this label should not change." label description text to be stored alongside with each issue that has the
I'm not yet closely familiar with how data is stored, so I don't know if the efficient implementation can be attained while modifying
changed the title
golang.org/x/build/maintner: Support additional label details.
Mar 19, 2018
I primarily want this to display the label colors (and maybe descriptions on hover) at goissues.org. If this is rejected, I can do it inside that particular project. But I think this would be generally useful.
It could also be used in
If this is implemented in a way that preserves historical data and all changes to labels, this might be helpful for #24023, since it'd make it easier to track changes to label descriptions (and revert them if needed, etc.). (Edit: Now that I understand how
Some additional notes that may come in handy for implementation:
There are label events when labels are created, edited, or deleted. See https://developer.github.com/v3/activity/events/types/#labelevent (and