-
Notifications
You must be signed in to change notification settings - Fork 4
Labels converted from Trac Type, Component, Priority, Resolution, Status, special Milestones, some Keywords #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The labels can also be renamed after the migration |
Why do you want to rename them? Because the name is unsatisfactory or because you want to change the meaning? In both cases we also need to adapt this to the migrated tickets (to keep them visible there). In the first case, it would be more efficient to find a satisfactory name before migrating. In the second case, there could be confusion regarding the migrated tickets. I think the main problem we have here is that the GitHub labels are not a suitable substitute for select lists. If these labels are in place, they can also be used for new issues (not just migrated tickets). Then there may be issues marked as As for naming, I would prefer if they were all prefixed with |
What I meant was that the prefixes don't necessarily have to be added as part of the migration, i.e. its fine to migrate tickets and label them with "bug" , and then after the migration rename the label to "t: bug" without any issues (and this then automatically applies to all issues). If its however easy to prefix them in the script, then there is of course also no harm in doing this now.
That only makes sense for some groups. For example, you can easily imagine an issue that is a bug and needs changes to the docs (t: bug + t: docs). The idea was to keep using these labels also for new issues/pull-requests, right? |
I see! Sorry for misunderstanding!
Sure! Groups that come from select list and radio buttons via the migration.
Independent whether that is the idea or not, if they are there they can be used. Or can we block them after the migration? |
Nope, as of now, you can only delete labels (which then also removes them from the issues). A workaround would be to rename them to something that sort them last and add in the label description that they shouldn't be used. |
Maybe changing habits will be easier if we keep them (see my recent post on sage-devel). But when we do that, we should eliminate sources of confusion. |
Also we should not create "PLEASE CHANGE" labels - https://github.com/sagemath/trac_to_gh/blob/main/Issue%2018792.md |
In a8ace24, I introduce a "component: " prefix (instead of the cryptic "c: ") and reduce noise by suppressing labels for the default priority and for ticket types other than "bug". |
I would still add types for enhancement/feature request and questions. You can always remove labels later, but it's going to be hard to add the correct labels after the migration. Also it's handy to e.g. filter out questions (which me might want to convert to Discussions anyway). |
The ticket status (needs review etc) should also be mapped to a label. |
Not sure about "needs review" because that is just the status of a non-draft, non-approved PR. (See #57 "create PRs instead of Issues for closed tickets with branches") |
But I agree that we should make an effort to map to the default labels defined by Github:
|
We may also want to get rid of the special milestones and map them to labels instead:
|
In the code, we can change |
Resolutions are now mapped to labels (done in 40f262d) |
Some early tickets (for example https://trac.sagemath.org/ticket/3304) have keywords "editor_mabshoff", "editor_wstein", etc. @williamstein |
In theory yes, but in practice you often have a non-draft, non-approved PR that needs (minor) revision by the opener. Github sadly doesn't have a good search function for "has a review requiring changes" and thus many repos use a "needs review" and "needs work" label to indicate what is required to move this PR forward. As a project maintainer this is usually important, as you can easily find PRs that need your active review and, on the other hand, from time to time you can go though the list of "needs work" and remind people. |
Looks like these are better handled as Projects instead of milestones/labels. |
For now (in df64414) I'm just mapping sage-{feature,pending,wishlist} to labels, just to preserve the information. Better than as a ticket comment. I agree that Projects is something that we want to look into, but I'm not going to attempt that in the migration script. |
OK, good points there. I'll map them to labels. Preparation for this is in 9c0c175. Probably best to refactor label handling next. |
Status is mapped to labels now as of 0f5c82d. |
I think this is in good shape now. |
It's a good idea to have I think we can use triggers like this for that. |
as proposed in https://github.com/sagemath/sage/wiki/migration-from-trac-to-Git**b#proposed-workflow-on-github-with-transition-guide-from-trac
Type ("defect", "enhancement", "task") is mapped to a "Label" with prefix t:, e.g., t: bug
Component ("basic arithmetic", "linear algebra", "geometry", ...) are mapped to "Labels" with prefix c:
Priority ("major"/"minor"/"critical") is mapped to "Labels" with prefix p:
The text was updated successfully, but these errors were encountered: