-
Notifications
You must be signed in to change notification settings - Fork 205
Maintainers
Maintainers (a.k.a. coordinators) are trusted people with knowledge in a resource module domain.
They have write access for one or more DSC Resource Kit repositories which gives them the power to:
-
push
. - Merge pull requests.
- Assign labels, milestones and people to issues.
If you are maintainer, please follow these rules:
-
DO reply to new issues and pull requests (while reviewing PRs, leave your comment even if everything looks good - simple "Looks good to me" or "LGTM" will suffice, so that we know someone has already taken a look at it).
-
DO make sure contributors are following the contributor guidelines.
-
DO ask people to resend a pull request, if it targets the wrong branch.
-
DO encourage people to write Pester tests for all new/changed functionality.
-
DO wait for the CI system build to pass for pull requests.
-
DO encourage contributors to refer to issues in PR title/description (e.g.
Closes #11
). Edit title if necessary. -
DO encourage contributors to create meaningful titles for all PRs. Edit title if necessary.
-
DO verify that all contributors are following the style guidelines.
-
DO ensure that each contributor has signed a valid Contributor License Agreement (CLA).
-
DO verify compliance with any third party code license terms (e.g., requiring attribution, etc.) if the contribution contains third party code.
-
DON'T merge pull requests to master branch.
-
DON'T merge pull requests with a failed CI build.
-
DON'T merge pull requests without the label
cla-signed
orcla-not-required
from the Microsoft CLA bot. -
DON'T merge pull requests that do not include all meaningful changes under the Unreleased section in the repository's
README.md
. -
DON'T merge your own pull requests before they are reviewed by someone else.
- If there is no one else to review your pull request, please wait 24 hours to merge it in case anyone comes along and has a comment.
- Someone creates an issue.
- A maintainer assigns one of the following labels:
bug
,enhancement
,discussion
,question
- In some cases, other special labels may be used (e.g.
new module
for issues requesting new DSC resource modules in the DscResources repository) - If the issue is a duplicate of another issue, the maintainer adds the
duplicate
label, references the issue this one is a duplicate of, and closes the issue. - If for some reason an issue should not be fixed, the maintainer adds the
wontfix
label, comments with an explaination of why the issue will not be fixed, and closes the issue. - A maintainer assigns the
help wanted
label to let contributors know this issue needs someone to work on it - Once a contributor volunteers to work on the issue, the maintainer removes the
help wanted
label, adds thein progress
label, and assigns the issue to the volunteer. - Once issue is fixed, the maintainer removes the
in progress
label and closes the issue.
- A contributor opens a pull request.
- The contributor ensures that their pull request passes the CI system build.
- If the build fails, a maintainer adds the
waiting for author
label to the pull request. The contributor can then continue to update the pull request until the build passes.
- Once the build passes, the maintainer either reviews the pull request immediately or adds the
needs review
label. - A maintainer or trusted contributor reviews the pull request code.
- If the contributor does not meet the reviewer's standards, the reviewer makes comments. A maintainer then removes the the
needs review
label and adds thewaiting for author
label. The contributor must address the comments and repeat from step 2. - If the contributor meets the reviewer's standards, the reviewer comments that they are satisfied. A maintainer then removes the the
needs review
label.
- Once the code review is completed, a maintainer merges the pull request.
A pull request with the label waiting for the author
for more than 2 weeks without word from the author is considered abandoned.
In these cases:
- Ping the author of PR to remind him of pending changes.
- If the contributor responds, it's no longer an abandoned pull request, proceed as normal.
- If the contributor does not respond within a week:
- If the reviewer's comments are very minor, merge the change, fix the code immediately, and create a new PR with the fixes addressing the minor comments.
- If the changes required to merge the pull request are significant but needed, create a new branch with the changes and open an issue to merge the code into the dev branch. Mention the original pull request ID in the description of the new issue and close the abandoned pull request.
- If the changes in an abandoned pull request are no longer needed (e.g. due to refactoring of the codebase or a design change), simply close the pull request.
Breaking changes may be accepted if they make a resource better.
Breaking changes usually include:
- Adding a new mandatory parameter
- Changing an existing parameter
- Removing an existing parameter
- Fundamentally changing an existing functionality of a resource
If you need to accept a breaking change in your module please please ensure:
- Any issues or PRs associated with the breaking change include the
breaking change
label. - At least one of the bullet points in the updated release notes starts with 'BREAKING CHANGE:'.
- The title of the PR that includes the breaking change starts with 'BREAKING CHANGE:'.
Upon release, the version of a module with a breaking change will be updated as such:
- Modules that still have the x... naming are incremented by a full version number if there is a breaking change (2.2.0.0 --> 3.0.0.0). All of these modules are still considered to be in the 'preview' or 'experimental' phase.
- Modules that have the ...Dsc naming but are still in the 'preview' phase (prior to 1.0.0.0) are incremented only by a sub-version regardless of breaking changes until they are ready to come out of preview (0.3.0.0 --> 0.4.0.0).
- Modules that have the ...Dsc naming and are out of the 'preview' phase (1.0.0.0 and after) are incremented by a full version number (2.2.0.0 --> 3.0.0.0).