NCSLI-MII / measurand-taxonomy

MII Taxonomy Catalog
https://measurand-taxonomy.readthedocs.io/en/latest/
Creative Commons Attribution Share Alike 4.0 International
0 stars 0 forks source link

Contribution guide #29

Open ryanmwhitephd opened 1 year ago

ryanmwhitephd commented 1 year ago

Contribution guide for measurement domain experts. The guide is currently included in the README as well as in docs/contributing.rst. See branch contrib_guide.

ryanmwhitephd commented 1 week ago

Contribution guide should also include the process for reviewing and approving issues and pull requests. Pull requests can have rules applied before a merge into main can occur. Main branch protection rules:

ryanmwhitephd commented 1 week ago

A number of approvals can be added. To add specific persons for approval (which we should), we'll need to setup a Team. With a Team, the governance would be reflected clearly in the GitHub team and approval process. GitHub Teams may have a fee. Here is a guide: Here's a guide:

Teams:
    Ensure that you have teams created on your GitHub organization that represent contributing teams and approving teams.

Branch Protection:
    Go to your repository on GitHub.
    Navigate to "Settings" > "Branches."
    Add a branch protection rule for the branch you want to protect (e.g., master).
    Enable "Require pull request reviews before merging."

Reviewers:
    Under "Require review from Code Owners," specify the team(s) that should be responsible for code reviews.
    Add other teams or individuals who should also review the code.

Required Reviewers:
    Enable "Dismiss stale pull request approvals when new commits are pushed."
    Set the "Required approving review" to 3 (or the number you prefer).
ryanmwhitephd commented 1 week ago

Information about Teams. We should setup a Team to create roles that can be used to manage the review process. Here is the guide: https://docs.github.com/en/organizations/organizing-members-into-teams

MarkKuster commented 1 week ago

Thanks, Ryan. I read the material and the idea looks very helpful. I suppose the team structure would effectively become our WG structure under the MII&AC.

ryanmwhitephd commented 3 days ago

In addition to setting up Teams under the Organization, we also need to codeowners.

In order to setup reviews by codeowners in the pull request process, we need

The Teams @SchwartzMichael we want committers and coordinators to also be committee members, and at least one committer approves a PR and/or @MarkKuster approves a pull request.