github.com/gunjan5/docker@v1.8.2/project/ISSUE-TRIAGE.md (about) 1 Triaging of issues 2 ------------------ 3 4 Triage provides an important way to contribute to an open source project. Triage helps ensure issues resolve quickly by: 5 6 - Describing the issue's intent and purpose is conveyed precisely. This is necessary because it can be difficult for an issue to explain how an end user experiences an problem and what actions they took. 7 8 - Giving a contributor the information they need before they commit to resolving an issue. 9 10 - Lowering the issue count by preventing duplicate issues. 11 12 - Streamlining the development process by preventing duplicate discussions. 13 14 If you don't have time to code, consider helping with triage. The community will thank you for saving them time by spending some of yours. 15 16 ### Step 1: Ensure the issue contains basic information 17 18 Before triaging an issue very far, make sure that the issue's author provided the standard issue information. This will help you make an educated recommendation on how this to categorize the issue. Standard information that *must* be included in most issues are things such as: 19 20 - the output of `docker version` 21 - the output of `docker info` 22 - the output of `uname -a` 23 - a reproducible case if this is a bug, Dockerfiles FTW 24 - host distribution and version ( ubuntu 14.04, RHEL, fedora 21 ) 25 - page URL if this is a docs issue or the name of a man page 26 27 Depending on the issue, you might not feel all this information is needed. Use your best judgement. If you cannot triage an issue using what its author provided, explain kindly to the author that they must provide the above information to clarify the problem. 28 29 If the author provides the standard information but you are still unable to triage the issue, request additional information. Do this kindly and politely because you are asking for more of the author's time. 30 31 If the author does not respond requested information within the timespan of a week, close the issue with a kind note stating that the author can request for the issue to be 32 reopened when the necessary information is provided. 33 34 ### Step 2: Apply the template 35 36 When triaging, use the standard template below. You should cut and place the template in the issue's description. 37 The template helps other reviewers find key information in an issue. For example, using a template saves a 38 potential contributor from wading though 100s of comments to find a proposed solution at the very end. When adding 39 the template to the issue's description also add any required labels to the issue for the classification and difficulty. 40 41 Here is a sample summary for an [issue](https://github.com/docker/docker/issues/10545). 42 43 ``` 44 **Summary**: docker rm can return a non-zero exit code if the container does not 45 exist and it is not easy to parse the error message. 46 47 **Proposed solution**: 48 49 docker rm should have consistent exit codes for different types of errors so 50 that the user can easily script and know the reason why the command failed. 51 52 ``` 53 54 ### Step 3: Classify the Issue 55 56 Classifications help both to inform readers about an issue's priority and how to resolve it. 57 This is also helpful for identifying new, critical issues. "Kinds of" are 58 applied to the issue or pull request using labels. You can apply one or more labels. 59 60 61 Kinds of classifications: 62 63 | Kind | Description | 64 |------------------|---------------------------------------------------------------------------------------------------------------------------------| 65 | kind/enhancement | Enhancement are not bugs or new features but can drastically improve usability or performance of a project component. | 66 | kind/cleanup | Refactoring code or otherwise clarifying documentation. | 67 | kind/content | Content that is not documentation such as help or error messages. | 68 | kind/graphics | Work involving graphics skill | 69 | kind/regression | Regressions are usually easy fixes as hopefully the action worked previously and git history can be used to propose a solution. | 70 | kind/bug | Bugs are bugs. The cause may or may not be known at triage time so debugging should be taken account into the time estimate. | 71 | kind/feature | Functionality or other elements that the project does not currently support. Features are new and shinny. | 72 | kind/question | Contains a user or contributor question requiring a response. | 73 | kind/usecase | A description of a user or contributor situation requiring a response perhaps in code or documentation. | 74 | kind/writing | Writing documentation, man pages, articles, blogs, or other significant word-driven task. | 75 | kind/test | Tests or test infrastructure needs adding or updating. | 76 77 78 Contributors can add labels by using a `+kind/bug` in an issue or pull request comment. 79 80 ### Step 4: Estimate the experience level required 81 82 Experience level is a way for a contributor to find an issue based on their 83 skill set. Experience types are applied to the issue or pull request using 84 labels. 85 86 | Level | Experience level guideline | 87 |------------------|--------------------------------------------------------------------------------------------------------------------------| 88 | exp/beginner | You have made less than 10 contributions in your life time to any open source project. | 89 | exp/novice | You have made more than 10 contributions to an open source project or at least 5 contributions to Docker. | 90 | exp/proficient | You have made more than 5 contributions to Docker which amount to at least 200 code lines or 1000 documentation lines. | 91 | exp/expert | You have made less than 20 commits to Docker which amount to 500-1000 code lines or 1000-3000 documentation lines. | 92 | exp/master | You have made more than 20 commits to Docker and greater than 1000 code lines or 3000 documentation lines. | 93 94 As the table states, these labels are meant as guidelines. You might have 95 written a whole plugin for Docker in a personal project and never contributed to 96 Docker. With that kind of experience, you could take on an <strong 97 class="gh-label expert">exp/expert</strong> or <strong class="gh-label 98 master">exp/master</strong> level task. 99 100 Contributors can add labels by using a `+exp/expert` format in issue comment. 101 102 103 And that's it. That should be all the information required for a new or existing contributor to come in an resolve an issue. 104