This may be too complicated for this script, but I'd love the ability to "translate" my existing labels in to this "sane" format. I only recently started trying to use labels to their fullest extent, so I have 200+ projects in my GitLab instance that have an older format.
Being able to set something in the config file like:
{
...,
"translations": {
"enhancement": "Type: Enhancement",
"broken": "Type: Bug",
"done" : "Status: Completed"
}
}
I have two thoughts on how this could be achieved:
- After inserting labels for a project, index all issues. Delete existing labels, and assign translated labels
- Before inserting labels for a project, index existing labels, and adjust their settings to match the translated value. (i.e. update
broken/#FF0000 to Type: Bug/EE0701).
Any thoughts on this? It'd be a great help in getting all my projects reconfigured.
This may be too complicated for this script, but I'd love the ability to "translate" my existing labels in to this "sane" format. I only recently started trying to use labels to their fullest extent, so I have 200+ projects in my GitLab instance that have an older format.
Being able to set something in the config file like:
{ ..., "translations": { "enhancement": "Type: Enhancement", "broken": "Type: Bug", "done" : "Status: Completed" } }I have two thoughts on how this could be achieved:
broken/#FF0000toType: Bug/EE0701).Any thoughts on this? It'd be a great help in getting all my projects reconfigured.