thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Add GitHub label configuration

Open wmontwe opened this issue 1 year ago • 4 comments

The GitHub labels are now derived from a configuration. This aims to simplify their setup and streamline their structure.

This adds descriptions where they have been missing.

Have a look.

Use github-label-sync to mangage labels:

github-label-sync --access-token {GITHUB_TOKEN} --dry-run --labels .github/labels.json thunderbird/thunderbird-android

Remove --dry-run once your satisfied.

wmontwe avatar Feb 27 '24 10:02 wmontwe

What benefit do we get from using this? To me, it feels like it just makes adding/updating labels more complicated than it needs to be.

cketti avatar Feb 27 '24 13:02 cketti

What benefit do we get from using this? To me, it feels like it just makes adding/updating labels more complicated than it needs to be.

I used it to organise our GitHub labels and it made my work way easier.

wmontwe avatar Feb 27 '24 16:02 wmontwe

I don't think it's necessary to keep a copy of labels.json in the repository. It'll just be a question of time before what is configured in GitHub and the file will disagree. That could be solved with automation to keep the two in sync. But changing labels is not something we do nearly often enough to justify spending time on that.

If the tool works for you, that's great. You could document your approach in the docs/ folder.

cketti avatar Feb 27 '24 16:02 cketti

Fine if you don't like it here, I'll create a repository to host it instead. But in case that should be automated, it makes more sense here.

It'll just be a question of time before what is configured in GitHub and the file will disagree.

But that happens hopefully purposely.

wmontwe avatar Feb 27 '24 17:02 wmontwe