Feature request: Delete labels #2394
Labels
No labels
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Forgejo/migration
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Community#2394
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Comment
Would like the ability to delete labels. Currently if a label is used, then deleted, it still remains in your labels list forever. This is causing lots of issues for me at the moment when trying to filter "high priority" issues and "High Priority" issues.
Hi @LexGear, I wasn't able to reproduce the issue on the next developer version of Forgejo: https://v15.next.forgejo.org/mahlzahn2/test-delete-labels/labels, here removing the
help wantedlabel:For a moment I was puzzled. But then I remembered an extra step that is probably required to help replicate.
If you add the label that is to be deleted to an issue. And then even if the issue is closed or the label is removed from the issue, then, and only then should the label be undeletedable. I think its because the label is still referenced in the issues update history.
I tried also as you suggested, but again I could delete the label
won't fixInteresting... is my migrated (gitlab) repo simply bugged or something?
Maybe? But we'd need some reproducer to tackle the issue.
To your original problem: Can you at least archive the label? Then it also shouldn't show up in the label selectors.
How does one archive a label?
Please find all instructions concerning labels here: https://forgejo.org/docs/latest/user/labels/
Interesting. Yes, this is what I did initially, though instead of Archive I "Deleted" which gave me the message that it would remove the label from all issues. It didn't remove the label from the issues but it did remove the label from the label list under the settings menu and now the label is "undeletable".