Skip to content

Commit 2565c9d

Browse files
authored
Merge pull request cli#2186 from cli/help-wanted-docs
Improve contributing documentation
2 parents f87b684 + bd25dae commit 2565c9d

File tree

3 files changed

+36
-42
lines changed

3 files changed

+36
-42
lines changed

.github/CONTRIBUTING.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
## Contributing
22

3-
[legal]: https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license
4-
[license]: ../LICENSE
5-
[code-of-conduct]: CODE-OF-CONDUCT.md
6-
[bug issues]: https://github.com/cli/cli/issues?q=is%3Aopen+is%3Aissue+label%3Abug
7-
[feature request issues]: https://github.com/cli/cli/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement
8-
93
Hi! Thanks for your interest in contributing to the GitHub CLI!
104

115
We accept pull requests for bug fixes and features where we've discussed the approach in an issue and given the go-ahead for a community member to work on it. We'd also love to hear about ideas for new features as issues.
@@ -17,11 +11,11 @@ Please do:
1711
* Open an issue to propose a significant change.
1812
* Open a pull request to fix a bug.
1913
* Open a pull request to fix documentation about a command.
20-
* Open a pull request for an issue with the `help-wanted` label and leave a comment claiming it.
14+
* Open a pull request for any issue labelled [`help wanted`][hw] or [`good first issue`][gfi].
2115

2216
Please avoid:
2317

24-
* Opening pull requests for issues marked `needs-design`, `needs-investigation`, `needs-user-input`, or `blocked`.
18+
* Opening pull requests for issues marked `needs-design`, `needs-investigation`, or `blocked`.
2519
* Adding installation instructions specifically for your OS/package manager.
2620
* Opening pull requests for any issue marked `core`. These issues require additional context from
2721
the core CLI team at GitHub and any external pull requests will not be accepted.
@@ -52,6 +46,18 @@ We generate manual pages from source on every release. You do not need to submit
5246

5347
## Resources
5448

55-
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
56-
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
57-
- [GitHub Help](https://help.github.com)
49+
- [How to Contribute to Open Source][]
50+
- [Using Pull Requests][]
51+
- [GitHub Help][]
52+
53+
54+
[bug issues]: https://github.com/cli/cli/issues?q=is%3Aopen+is%3Aissue+label%3Abug
55+
[feature request issues]: https://github.com/cli/cli/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement
56+
[hw]: https://github.com/cli/cli/labels/help%20wanted
57+
[gfi]: https://github.com/cli/cli/labels/good%20first%20issue
58+
[legal]: https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-terms-of-service#6-contributions-under-repository-license
59+
[license]: ../LICENSE
60+
[code-of-conduct]: ./CODE-OF-CONDUCT.md
61+
[How to Contribute to Open Source]: https://opensource.guide/how-to-contribute/
62+
[Using Pull Requests]: https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-pull-requests
63+
[GitHub Help]: https://docs.github.com/

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44

55
![screenshot of gh pr status](https://user-images.githubusercontent.com/98482/84171218-327e7a80-aa40-11ea-8cd1-5177fc2d0e72.png)
66

7-
## Availability
8-
97
GitHub CLI is available for repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.
108

119
## Documentation
1210

13-
Read the [official docs][] for usage and more information.
11+
[See the manual][manual] for setup and usage instructions.
12+
13+
## Contributing
1414

15-
## We want your feedback
15+
If anything feels off, or if you feel that some functionality is missing, please check out the [contributing page][contributing]. There you will find instructions for sharing your feedback, building the tool locally, and submitting pull requests to the project.
1616

17-
We'd love to hear your feedback about `gh`. If you spot bugs or have features that you'd really like to see in `gh`, please check out the [contributing page][].
1817

1918
<!-- this anchor is linked to from elsewhere, so avoid renaming it -->
2019
## Installation
@@ -86,13 +85,13 @@ tools bring GitHub to the terminal, `hub` behaves as a proxy to `git`, and `gh`
8685
tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
8786

8887

89-
[official docs]: https://cli.github.com/manual
88+
[manual]: https://cli.github.com/manual/
9089
[Homebrew]: https://brew.sh
9190
[MacPorts]: https://www.macports.org
9291
[scoop]: https://scoop.sh
9392
[Chocolatey]: https://chocolatey.org
9493
[releases page]: https://github.com/cli/cli/releases/latest
9594
[hub]: https://github.com/github/hub
96-
[contributing page]: https://github.com/cli/cli/blob/trunk/.github/CONTRIBUTING.md
95+
[contributing]: ./.github/CONTRIBUTING.md
9796
[gh-vs-hub]: ./docs/gh-vs-hub.md
9897
[build from source]: ./docs/source.md

docs/triage.md

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,51 +16,40 @@ triage day.
1616

1717
# Incoming issues
1818

19-
just imagine a flowchart
20-
2119
- can this be closed outright?
2220
- e.g. spam/junk
2321
- close without comment
2422
- do we not want to do it?
2523
- e.g. have already discussed not wanting to do or duplicate issue
26-
- comment acknowledging receipt
27-
- close
24+
- comment and close
2825
- do we want someone in the community to do it?
2926
- e.g. the task is relatively straightforward, but no people on our team have the bandwidth to take it on at the moment
3027
- ensure that the thread contains all the context necessary for someone new to pick this up
31-
- add `help-wanted` label
32-
- do we want to do it, but not in the next year?
33-
- comment acknowledging it, but that we don't plan on working on it this year.
34-
- add `future` label
35-
- add additional labels as needed(examples include `enhancement` or `bug`)
36-
- close
28+
- add `help wanted` label
29+
- consider adding `good first issue` label
3730
- do we want to do it?
38-
- e.g. bugs or things we have discussed before
3931
- comment acknowledging it
4032
- label appropriately
41-
- add to project TODO column if appropriate, otherwise just leave it labeled
42-
- is it intriguing but needs discussion?
33+
- add to project TODO column if this is something that should ship soon
34+
- is it intriguing, but requires discussion?
4335
- label `needs-design` if design input is needed, ping
4436
- label `needs-investigation` if engineering research is required before action can be taken
45-
- ping engineers if eng needed
46-
- ping product if it's about future directions/roadmap/big changes
4737
- does it need more info from the issue author?
48-
- ask the user for that
38+
- ask the user for details
4939
- add `needs-user-input` label
50-
- is it a user asking for help and you have all the info you need to help?
51-
- try and help
40+
- is it a usage/support question?
41+
- offer some instructions/workaround and close
5242

5343
# Incoming PRs
5444

5545
just imagine a flowchart
5646

5747
- can it be closed outright?
58-
- ie spam/junk
59-
- do we not want to do it?
60-
- ie have already discussed not wanting to do, duplicate issue
61-
- comment acknowledging receipt
48+
- e.g. spam/junk
6249
- close
63-
- is it intriguing but needs discussion?
50+
- do we not want to do it?
51+
- comment and close
52+
- is it intriguing, but requires discussion and there is no referenced issue?
6453
- request an issue
6554
- close
6655
- is it something we want to include?
@@ -82,7 +71,7 @@ For each PR, ask:
8271

8372
## Examples
8473

85-
We want the cli/cli repo to be a safe and encouraging open-source environment. Below are some examples
74+
We want our project to be a safe and encouraging open-source environment. Below are some examples
8675
of how to empathetically respond to or close an issue/PR:
8776

8877
- [Closing a quality PR its scope is too large](https://github.com/cli/cli/pull/1161)

0 commit comments

Comments
 (0)