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
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
label further identifies issues that are particularly well-sized for newcomers.
34
33
35
-
Unless otherwise noted, the Dep source files are distributed under
34
+
Unless otherwise noted, the `dep` source files are distributed under
36
35
the BSD-style license found in the LICENSE file.
37
36
38
37
All submissions, including submissions by project members, require review. We
@@ -52,3 +51,49 @@ your current agreements on file or to sign a new one.
52
51
You generally only need to submit a CLA once, so if you've already submitted one
53
52
(even if it was for a different project), you probably don't need to do it
54
53
again.
54
+
55
+
## Maintainer's Guide
56
+
57
+
`dep` has subsystem maintainers; this guide is intended for them in performing their work as a maintainer.
58
+
59
+
### General guidelines
60
+
61
+
*_Be kind, respectful, and inclusive_. Really live [that CoC](https://github.com/golang/dep/blob/master/CODE_OF_CONDUCT.md). We've developed a reputation as one of the most welcoming and supportive project environments in the Go community, and we want to keep that up!
62
+
* The lines of responsibility between maintainership areas can be fuzzy. Get to know your fellow maintainers - it's important to work _with_ them when an issue falls in this grey area.
63
+
* Remember, the long-term goal of `dep` is to disappear into the `go` toolchain. That's going to be a challenging process, no matter what. Minimizing that eventual difficulty should be a guiding light for all your decisions today.
64
+
* Try to match the toolchain's assumptions as closely as possible ([example](https://github.com/golang/dep/issues/564#issuecomment-300994599)), and avoid introducing new rules the toolchain would later have to incorporate.
65
+
* Every new flag or option in the metadata files is more exposed surface area that demands conversion later. Only add these with a clear design plan.
66
+
*`dep` is experimental, but increasingly only on a larger scale. Experiments need clear hypotheses and parameters for testing - nothing off-the-cuff.
67
+
* Being a maintainer doesn't mean you're always right. Admitting when you've made a mistake keeps the code flowing, the environment health, and the respect level up.
68
+
* It's fine if you need to step back from maintainership responsibilities - just, please, don't fade away! Let other maintainers know what's going on.
69
+
70
+
### Issue management
71
+
72
+
* We use [Zenhub](https://www.zenhub.com) to manage the queue, in addition to what we do with labels.
73
+
* Pipelines, and [the board](https://github.com/golang/dep#boards) are one thing we try to utilize:
74
+
***New Issues Pipeline**: When someone creates a new issue, it goes here first. Keep an eye out for issues that fall into your area. Add labels to them, and if it's something we should do, put it in the `Backlog` pipeline. If you aren't sure, throw it in the `Icebox`. It helps to sort this pipeline by date.
75
+
***Icebox Pipeline**: Issues that we aren't immediately closing but aren't really ready to be prioritized and started on. It's not a wontfix bucket, but a "not sure if we should/can fix right now" bucket.
76
+
***Backlog Pipeline**: Issues that we know we want to tackle. You can drag/drop up and down to prioritize issues.
77
+
* Marking dependencies/blockers is also quite useful where appropriate; please do that.
78
+
* We use epics and milestones in roughly the same way (because OSS projects don't have real sprints). Epics should be duplicated as milestones; if there's a main epic issue, it should contain a checklist of the relevant issues to complete it.
79
+
* The `area:` labels correspond to maintainership areas. Apply yours to any issues or PRs that fall under your purview. It's to be expected that multiple `area:` labels may be applied to a single issue.
80
+
* The [`help-wanted`](https://github.com/golang/dep/issues?q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted) and [`good-first-pr`](https://github.com/golang/dep/issues?q=is%3Aissue+is%3Aopen+label%3Agood-first-pr) labels are two of our most important tools for making the project accessible to newcomers - a key goal for our community. Here's how to use them well.
81
+
*`good-first-pr` should be applied when there's a very straightforward, self-contained task that is very unlikely to have any hidden complexity. The real purpose of these is to provide a "chink in the armor", providing newcomers a lens through which to start understanding the project.
82
+
*`help-wanted` should be applied to issues where there's a clear, stated goal, there is at most one significant question that needs answering, and it looks like the implementation won't be inordinately difficult, or disruptive to other parts of the system.
83
+
*`help-wanted` should also be applied to all `good-first-pr` issues - it's duplicative, but not doing so seems unfriendly.
84
+
85
+
86
+
### Pull Requests
87
+
88
+
* Try to make, and encourage, smaller pull requests.
89
+
*[No is temporary. Yes is forever.](https://blog.jessfraz.com/post/the-art-of-closing/)
90
+
* Long-running feature branches should generally be avoided. Discuss it with other maintainers first.
91
+
* Unless it's trivial, don't merge your own PRs - ask another maintainer.
92
+
* Commit messages should follow [Tim Pope's rules](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
93
+
* Checklist for merging PRs:
94
+
* Does the PR pass [the code review comments](https://github.com/golang/go/wiki/CodeReviewComments)? (internalize these rules!)
95
+
* Are there tests to cover new or changed behavior? Prefer reliable tests > no tests > flaky tests.
96
+
* Does the first post in the PR contain "Fixes #..." text for any issues it resolves?
97
+
* Are any necessary follow-up issues _already_ posted, prior to merging?
98
+
* Does this change entail the updating of any docs?
99
+
* For docs kept in the repo, e.g. FAQ.md, docs changes _must_ be submitted as part of the same PR.
0 commit comments