PowerShell/docs/maintainers
Aditya Patwardhan a53547ce78 Add scripts to generate unified Nuget package (#6167)
Remove the functions which generated Nuget packages for Windows.
Add function New-UnifiedNugetPackage to generate nuget packages for each assembly with unix and windows runtimes.
Add function New-NuSpec and New-ReferenceAssembly for creating the required items forNew-UnifiedNugetPackage.
Add a sample for cross platform project with conditional compilation for Linux.
Add function Publish-NugetToMyGet to publish nuget packages to powershell.myget.or
2018-02-26 15:35:09 -08:00
..
issue-management.md new Issue-Announcement label (#6041) 2018-01-30 16:10:08 -08:00
README.md Update docs about the pull-request-process (#4710) 2017-09-04 10:29:20 -07:00
releasing.md Add scripts to generate unified Nuget package (#6167) 2018-02-26 15:35:09 -08:00

Repository Maintainers

Repository Maintainers are trusted stewards of the PowerShell repository responsible for maintaining consistency and quality of PowerShell code. One of their primary responsibilities is merging pull requests after all requirements have been fulfilled.

They have write access to the PowerShell repositories which gives them the power to:

  1. git push to the official PowerShell repository
  2. Merge pull requests
  3. Assign labels, milestones, and people to issues

Table of Contents

Current Repository Maintainers

Repository Maintainer Responsibilities

Repository Maintainers enable rapid contributions while maintaining a high level of quality in PowerShell by ensuring that all development processes are being followed correctly.

If you are a Repository Maintainer, you:

  1. MUST ensure that each contributor has signed a valid Contributor License Agreement (CLA)
  2. MUST verify compliance with any third party code license terms (e.g., requiring attribution, etc.) if the contribution contains third party code.
  3. MUST make sure that any change requiring approval from the PowerShell Committee has gone through the proper RFC or approval process
  4. MUST validate that code reviews have been conducted before merging a pull request when no code is written
  5. MUST validate that tests and documentation have been written before merging a pull request that contains new functionality
  6. SHOULD add the correct labels to issues and pull requests
  7. SHOULD make sure the correct Area Experts are assigned to relevant pull requests and issues. This includes adding extra reviewers when it makes sense (e.g. a pull request that adds remoting capabilities might require a security expert)
  8. SHOULD validate that the names and email addresses in the git commits reasonably match identity of the person submitting the pull request
  9. SHOULD make sure contributors are following the contributor guidelines
  10. SHOULD ask people to resend a pull request, if it doesn't target master
  11. SHOULD wait for the CI system build to pass for pull requests (unless, for instance, the pull request is being submitted to fix broken CI)
  12. SHOULD encourage contributors to refer to issues in their pull request description (e.g. Resolves issue #123). If a user did not create an issue prior to submitting their pull request, their pull request should not be rejected. However, they should be reminded to create an issue in the future to frontload any potential problems with the work and to minimize duplication of efforts.
  13. SHOULD encourage contributors to create meaningful titles for all PRs. Edit the title if necessary to provide clarity on the problem
  14. SHOULD encourage contributes to write meaningful, descriptive git commits
  15. SHOULD NOT merge pull requests with a failed CI build (unless, for instance, the pull request is being submitted to fix broken CI)
  16. SHOULD NOT merge pull requests without the label cla-signed or cla-not-required from the Microsoft CLA bot (unless the CLA bot is broken, and CLA signing can be confirmed through other means)
  17. SHOULD NOT merge pull requests too quickly after they're submitted. Even if the pull request meets all the requirements, people should have time to give their input (unless the pull request is particularly urgent for some reason)
  18. SHOULD NOT merge your own pull requests. If a Repository Maintainer opens a pull request, another Maintainer should merge it unless there are extreme, short-term circumstances requiring a merge or another Maintainer has given explicit sign-off without merging

Issue Management Process

Please see Issue Management

Pull Request Workflow

Please see Contributing

Becoming a Repository Maintainer

Repository Maintainers currently consist mostly of Microsoft employees. It is expected that over time, regular trusted contributors to the PowerShell repository will be made Repository Maintainers. Eligibility is heavily dependent on the level of contribution and expertise: individuals who contribute consistently in meaningful ways to the project will be recognized accordingly.

At any point in time, the existing Repository Maintainers can unanimously nominate a strong community member to become a Repository Maintainer. Nominations are brought to the PowerShell Committee to understand the reasons and justification. A simple majority of the PowerShell Committee is required to veto the nomination. Once a nominee has been approved, a PR will be submitted by a current Maintainer to update this document to add the nominee's name to the Current Repository Maintainers with justification as the description of the PR to serve as the public announcement.