feat: use Jan's label / milestone sync.

This commit is contained in:
Paul
2021-10-30 20:43:36 +01:00
parent f9b9d5e01e
commit e23fd93165
7 changed files with 142 additions and 88 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "labels/sync"]
path = labels/sync
url = https://github.com/Jan0660/GitHubMilestoneSync
+1
View File
@@ -58,3 +58,4 @@ performance | Issues relating to app performance
privacy | Change which improves user privacy
question | Further information is requested
wontfix | This will not be worked on
use-preview | Create GitHub pages preview for PR
+6 -6
View File
@@ -1,13 +1,13 @@
#### Issue Labels
This folder contains a json file that manages the issue labels for the revoltchat organization.
This folder contains a json file that manages the issue labels and milestones for the revoltchat organization.
It is applied to our repos via [github-labels](https://github.com/popomore/github-labels).
It is applied using Jan's GitHub sync tool.
```bash
# Install github-labels
$ yarn global add github-labels
# Enter project
cd sync
# Apply labels, this assumes you have 2FA on
$ PAT=abc ./apply.sh
# Apply labels and milestones
$ GITHUB_TOKEN=token CONFIG_FILE=../config.json dotnet run
```
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash
labels -c conf.json -t $PAT revoltchat/revolt
labels -c conf.json -t $PAT revoltchat/delta
labels -c conf.json -t $PAT revoltchat/revite
labels -c conf.json -t $PAT revoltchat/revolt.js
labels -c conf.json -t $PAT revoltchat/autumn
labels -c conf.json -t $PAT revoltchat/january
labels -c conf.json -t $PAT revoltchat/desktop
labels -c conf.json -t $PAT revoltchat/vortex
labels -c conf.json -t $PAT revoltchat/self-hosted
labels -c conf.json -t $PAT revoltchat/admin-panel
labels -c conf.json -t $PAT revoltchat/legal
labels -c conf.json -t $PAT revoltchat/translations
labels -c conf.json -t $PAT revoltchat/api
labels -c conf.json -t $PAT revoltchat/revolt.chat
labels -c conf.json -t $PAT revoltchat/documentation
-66
View File
@@ -1,66 +0,0 @@
[
{
"name": "bug",
"color": "d73a4a"
},
{
"name": "documentation",
"color": "0075ca"
},
{
"name": "draft",
"color": "d93f0b"
},
{
"name": "duplicate",
"color": "cfd3d7"
},
{
"name": "enhancement",
"color": "a2eeef"
},
{
"name": "fluff",
"color": "6a5acd"
},
{
"name": "good first issue",
"color": "7057ff"
},
{
"name": "help wanted",
"color": "008672"
},
{
"name": "improvement",
"color": "ff9f19"
},
{
"name": "invalid",
"color": "e4e669"
},
{
"name": "needs design",
"color": "1d76db"
},
{
"name": "performance",
"color": "51e898"
},
{
"name": "privacy",
"color": "ff78cb"
},
{
"name": "question",
"color": "d876e3"
},
{
"name": "wontfix",
"color": "ffffff"
},
{
"name": "use-preview",
"color": "c5def5"
}
]
+131
View File
@@ -0,0 +1,131 @@
[
{
"repositories": [
"revoltchat/revolt",
"revoltchat/delta",
"revoltchat/revite",
"revoltchat/desktop",
"revoltchat/self-hosted",
"revoltchat/revolt.js",
"revoltchat/vortex",
"revoltchat/autumn",
"revoltchat/january",
"revoltchat/revolt.chat",
"revoltchat/api",
"revoltchat/translations",
"revoltchat/themes",
"revoltchat/documentation",
"revoltchat/cli",
"revoltchat/legal"
],
"milestones": [
{
"title": "0.5.3: Backend Overhaul",
"state": "open",
"description": "Improve the state of the current backend."
},
{
"title": "0.5.4: Moderation Tools",
"state": "open",
"description": "Add well-defined platform content and server moderation tools."
},
{
"title": "0.5.5: Emoji Update",
"state": "open",
"description": "Add emojis, stickers and reactions."
},
{
"title": "0.6.0: End-to-end Encrypted Chat",
"state": "open",
"description": "Implement secret chats for groups and DMs."
},
{
"title": "(stalled) Native Bridges",
"state": "open",
"description": "Native bridges from Revolt to various providers such as Discord and Matrix."
}
],
"labels": [
{
"name": "bug",
"color": "d73a4a",
"description": "Something isn't working"
},
{
"name": "documentation",
"color": "0075ca",
"description": "Improvements or additions to documentation"
},
{
"name": "draft",
"color": "d93f0b",
"description": "This issue needs more work"
},
{
"name": "duplicate",
"color": "cfd3d7",
"description": "This issue or pull request already exists"
},
{
"name": "enhancement",
"color": "a2eeef",
"description": "New feature or request"
},
{
"name": "fluff",
"color": "6a5acd",
"description": "Minor app improvement / quality of life change"
},
{
"name": "good first issue",
"color": "7057ff",
"description": "Good for newcomers"
},
{
"name": "help wanted",
"color": "008672",
"description": "Extra attention is needed"
},
{
"name": "improvement",
"color": "ff9f19",
"description": "Areas that can be improved in"
},
{
"name": "invalid",
"color": "e4e669",
"description": "This doesn't seem right"
},
{
"name": "needs design",
"color": "1d76db",
"description": "This issue needs a design to be implemented"
},
{
"name": "performance",
"color": "51e898",
"description": "Issues relating to app performance"
},
{
"name": "privacy",
"color": "ff78cb",
"description": "Change which improves user privacy"
},
{
"name": "question",
"color": "d876e3",
"description": "Further information is requested"
},
{
"name": "wontfix",
"color": "ffffff",
"description": "This will not be worked on"
},
{
"name": "use-preview",
"color": "c5def5",
"description": "Create GitHub pages preview for PR"
}
]
}
]
Submodule
+1
Submodule labels/sync added at 85cc3f19d7