You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-7Lines changed: 19 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@
10
10
11
11
**TL;DR:**_Want [beautiful GitHub Labels like these](https://github.com/seantrane/github-label-presets/labels)?_ Want to have them unobtrusively synced with your repos? Want to persist them indefinitely? Want to maintain your own labels? If the answers have been yes, this is definitely not _too long_, please read on.
12
12
13
-
**TL;DR:2** Really? Still _too long_? Run; `npm install -g github-label-sync && github-label-sync -a <github_token> -l 'https://git.io/fAe5i' <github_name>/<github_repo>`
13
+
1. Run; `npm install -g github-label-sync`
14
+
2. Provide env-vars; `GITHUB_ACCESS_TOKEN`, `GITHUB_NAME`, `REPO`
@@ -21,6 +23,8 @@ The default GitHub Labels are, well... not ideal. This has been described many t
21
23
22
24
There are many very good examples of GitHub Label strategies. Almost all of them are an improvement over the default. But for several reasons or another few, in practice, none of them have felt truly great or sustainable.
23
25
26
+
#### Principles
27
+
24
28
`@seantrane/github-label-presets` were designed according to the following thoughts and principles:
25
29
26
30
- GitHub Labels are used for both Issues and Pull Requests (PR), therefore the label context should be agnostic.
@@ -37,11 +41,19 @@ There are many very good examples of GitHub Label strategies. Almost all of them
37
41
-`work` = describe situation; `chaotic`, `complex`, `complicated` or `obvious`
38
42
- The only labels without prefixes are; `breaking`, `good first issue`, `greenkeeper`, `help` and `semantic-release`
39
43
40
-
The _GitHub Label presets_ are meant to be used with [github-label-sync](https://github.com/Financial-Times/github-label-sync):
44
+
#### Label Groups
45
+
46
+
| Standard | Effort | Priority | State | Type | Work |
| Standard labels commonly used in most repositories. | Describes the relative effort to complete an issue or pull request. | Priority labels, but focused on describing the immediacy of attention required. | Describes the _decision_ state of the issue or pull request. | Describes the _type_ of issue or pull request. | Describes the kind of work involved in resolving the issue, using the [Cynefin framework](https://en.wikipedia.org/wiki/Cynefin_framework). |
-_Synchronise your GitHub labels with as few destructive operations as possible - similar labels get renamed._
43
-
- Load [label config](https://github.com/Financial-Times/github-label-sync#label-json) via path or URL.
44
-
- Run on specified repo via CLI parameter.
53
+
-[`github-label-sync`](https://github.com/Financial-Times/github-label-sync) is used to _synchronize your GitHub labels with as few destructive operations as possible - similar labels get renamed_.
54
+
- The [label config](https://github.com/Financial-Times/github-label-sync#label-json) is loaded via path or URL, or more specifically; the config file supplied by [`@seantrane/github-label-presets`](https://github.com/seantrane/github-label-presets).
55
+
- The `github-label-sync -l 'https://git.io/fAe5i' ${GITHUB_NAME}/${REPO}` command is run to have the label config applied to _your_`profile/repo`.
56
+
- The command can be run anywhere and anytime, but it's recommended during a CI plan. This will automatically keep your labels clean and synchronized with your chosen configuration - depending on how often your plan is run, of course.
45
57
46
58
## Usage <aid="usage"></a>
47
59
@@ -74,11 +86,11 @@ You can provide your own `labels.json` via the `[ -l, --lables ]` argument.
74
86
75
87
## Contribute <a id="contribute"></a>
76
88
77
-
Contributions are always appreciated. Read [CONTRIBUTING.md](https://github.com/seantrane/balanced-theme-for-atom/blob/master/CONTRIBUTING.md) documentation to learn more.
89
+
Contributions are always appreciated. Read [CONTRIBUTING.md](https://github.com/seantrane/github-label-presets/blob/master/CONTRIBUTING.md) documentation to learn more.
78
90
79
91
## Changelog <a id="changelog"></a>
80
92
81
-
Release details are documented in the [CHANGELOG.md](https://github.com/seantrane/balanced-theme-for-atom/blob/master/CHANGELOG.md) file, and on the [GitHub Releases page](https://github.com/seantrane/balanced-theme-for-atom/releases).
93
+
Release details are documented in the [CHANGELOG.md](https://github.com/seantrane/github-label-presets/blob/master/CHANGELOG.md) file, and on the [GitHub Releases page](https://github.com/seantrane/github-label-presets/releases).
0 commit comments