Don't add useless labels which will bother changelog generation#37267
Don't add useless labels which will bother changelog generation#37267lunny merged 2 commits intogo-gitea:mainfrom
Conversation
|
Can't we just ignore I do find these labels somewhat useful, but not overly so. |
The problem is maintainers will forget to add correct labels once modify labels are added. The changelog tool itself never read modify labels because they cannot be used to generate changelogs. |
|
Maybe we should just use AI to generate the changelog. Will probably be much more accurate then those labels will ever be because almost no one sets them correctly. I don't think I can approve removing all these labels, they could be slimmed down considerable, but outright removal is too much imho. Can you manually fix this up for v1.26 or do you absolutely need it now? |
Could you have some real usages for these labels? I don't know how will you use these labels and how many users/maintainers will use these labels. |
|
They give me a overview what a PR touches. When commits are pushed, it's often nice validation to see labels being added/removed. |
If you are using AI, it can have a summary for which files changed on the PR description which is more useful than these labels. i.e. What could you know from label |
|
Those 2 are useless, especially internal is ambiguous and should be dropped.
But no hard blocker I guess. If more people agree to remove all, I'm fine. |
|
Where is that changelog tool's source code? I think this is a weak attempt at fixing the problem from the wrong angle. The real fix should be in that tool. |
|
Why not mandate each PR to have a small markdown file for the changelog? |
|
I would remove this changelog tool and either:
|
This forces extra work onto every PR author that they might not be willing to do, I'm against it. Some authors don't even bother to write a good PR title or descriptions.
I don't mean summarize, I mean use AI just to identify notable user-facing changes and filter the list of commit titles. Same output format as currently. |
Yeah this won't work here unless PR descriptions get shortish and get updated before merge. Which isn't always the case from what I seen.
Still requires you to go through the output, unless you're willing to risk non-existing changes being documented. I don't trust LLMs to produce reliable output in that regard. Besides - personally - I don't like reading what they write. It feels... wrong. I can't explain why but there's sometimes an uncanny valley feeling to the text they make.
It's more for a blog post I think... But it's a good idea regardless.
why? Who else would know what the change changes? Author is the right person to write what their change does. |
You misunderstand. AI will not be writing any content, it will just do the filtering only, so it's job is just the identification of relevant PRs only.
Lazy authors will not bother and contribution count will go down. Many core contributors I would classify as lazy, they often open PRs with "no description" and sloppy titles. |
I did write it before you expanded on it so yeah, I did. Regardless I don't trust it to do that either. You have no guarantee that it'll catch all PRs that are relevant, nor that it won't include irrelevant ones. |
What do these labels mean to you? Once you find them, what information do they provide, and how would you interpret and act on it? |
These labels are not intended for changelog generation. I couldn’t find any meaningful purpose for them, and they only seem to confuse or bother reviewers. |
|
These labels give me context what subsystems a PR touches, it is marginally helpful imho. I already told that 3 times already.
Then ignore them in that tool, I already told you that 3 times already too. |
Do you mean that when a PR is labeled with a special modifies/xx label, that label determines whether you will review it without even clicking into the changed files? Personally, I don’t usually look at these labels—I make my judgment based on the PR title and description instead. |
|
I'll just remain neutral on this topic. If others don't like these labels I'm ok with removal. They do add some noise which I agree on. |
|
I would also like to keep them |
|
Was there ever a discussion about conventional commits? Would also help a lot I think |
|
I think labels could be kept but reorganized to be by subsystem purely, interesting subsystems identifyable by path alone may be |
silverwind
left a comment
There was a problem hiding this comment.
Let's remove them for now. @lunny after merge delete all relevant labels on GitHub UI please.
Not sure. If we generate Changelog via AI, than I'd say no, not needed. |
* main: (25 commits) Add WebKit to e2e test matrix (go-gitea#37298) Don't add useless labels which will bother changelog generation (go-gitea#37267) Fix Repository transferring page (go-gitea#37277) Stabilize issue-project e2e test, increase timeout factor (go-gitea#37297) Fix Mermaid diagrams failing when node labels contain line breaks (go-gitea#37296) Add project column picker to issue and pull request sidebar (go-gitea#37037) Fix container auth for public instance (go-gitea#37290) Refactor frontend `tw-justify-between` layouts to `flex-left-right` (go-gitea#37291) Update Nix flake (go-gitea#37284) Workflow Artifact Info Hover (go-gitea#37100) [skip ci] Updated translations via Crowdin release notes for 1.26.0 (go-gitea#37282) Enhance GetActionWorkflow to support fallback references (go-gitea#37189) Refactor LDAP tests (go-gitea#37274) Remove `SubmitEvent` polyfill (go-gitea#37276) Upgrade go-git to v5.18.0 (go-gitea#37268) Avoid top-level await (go-gitea#37272) Frontend iframe renderer framework: 3D models, OpenAPI (go-gitea#37233) pull: Fix CODEOWNERS absolute path matching. (go-gitea#37244) Swift registry metadata: preserve more JSON fields and accept empty metadata (go-gitea#37254) ...
|
Looking at the PR list now, it looks bare without the labels, making it impossible to visually categorize PRs. Not even dependency-touching PRs (which require extra scrutiny) are marked. I think it's a step back. I would definitely want to add automatic subsystem labels back e.g. a |
Yes please!!! |
|
I could make Claude find a label scheme for subsystem-based labels, I'd keep simple with no |
|
Sorry. I’ve never felt the need for those labels, and I’m personally very satisfied with the current system. My habit is to read every GitHub notification, so I review every PR notification anyway. Because of that, I don’t really need labels to help me filter PRs. I trust the labels that maintainers apply to understand what a PR is for. What's your requirements to filter PRs via labels? |
|
I don't really use it for filtering but as a visual classification. Take a look at https://github.com/nodejs/node/pulls, i want to replicate that, e.g. BTW you still have not told me where that changelog tool lives. I think it should be trivial to add a label exclusion config from within the repo. |
What's the labels meant for them? I will not block the tool if there are enough maintainers need it.
Sorry. Missed that. It's in https://gitea.com/gitea/changelog |
|
…n-better * origin/main: (645 commits) When the requested arch rpm is missing fall back to noarch (go-gitea#37236) Fix `relative-time` error and improve global error handler (go-gitea#37241) Enhance styling in actions page (go-gitea#37323) fix(oauth): Error on auth sources with spaces (go-gitea#37327) Fix actions concurrency groups cross-branch leak (go-gitea#37311) Fix bug when accessing user badges (go-gitea#37321) Fix AppFullLink (go-gitea#37325) Update go js dependencies (go-gitea#37312) Update GitHub Actions to latest major versions (go-gitea#37313) Revert "Add WebKit to e2e test matrix (go-gitea#37298)" (go-gitea#37315) Add `form-fetch-action` to some forms, fix "fetch action" resp bug (go-gitea#37305) Move heatmap to first-party code (go-gitea#37262) Use updated yaml fields for snapcraft (go-gitea#37318) Remove dead code identified by `deadcode` tool (go-gitea#37271) Enable strict TypeScript, add `errorMessage` helper (go-gitea#37292) Fix vite manifest update masking build errors (go-gitea#37279) bump snapcraft base (go-gitea#37301) Add WebKit to e2e test matrix (go-gitea#37298) Don't add useless labels which will bother changelog generation (go-gitea#37267) Fix Repository transferring page (go-gitea#37277) ... # Conflicts: # options/locale/locale_en-US.ini # templates/package/content/debian.tmpl
When generating release notes for v1.26, many pull requests haven't been given correct labels so that I have to do many manual work. I think this could be avoid to remove these useless modify labels.