Skip to content

Commit

Permalink
Merge pull request #256 from erget/procedural-items
Browse files Browse the repository at this point in the history
This pull request implements #257 on procedural (GitHub) items for the conventions repo.
  • Loading branch information
JonathanGregory authored Jun 23, 2020
2 parents a42b095 + 45d0b3d commit e57fb55
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 51 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/defect-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ assignees: ''
Before submitting an issue be sure you have read and understand the github contributing guidelines: https://github.com/cf-convention/cf-conventions/blob/master/CONTRIBUTING.md and the rules for CF changes: http://cfconventions.org/rules.html

Change proposals should include the following information as applicable.
If important to the issue, the problem text should be pasted in the body of the issue and proposed fix included.
A link to the line where the problem exists could also be included.
Alternatively, a pull request can be used to describe the problem and the proposed solution more precisely.

# Title
Short and descriptive.
Expand All @@ -23,5 +26,7 @@ Brief proposal overview
Who or what will benefit from this proposal?
# Status Quo
Discussion of the current state CF and other standards.
# Associated pull request
Link to associated pull request, if present.
# Detailed Proposal
Complete proposal
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ assignees: ''

Before submitting an issue be sure you have read and understand the github contributing guidelines: https://github.com/cf-convention/cf-conventions/blob/master/CONTRIBUTING.md and the rules for CF changes: http://cfconventions.org/rules.html

If the modification is straightforward and non-controversial, feel free to open a pull request simultaneously with the proposed changes.

Change proposals should include the following information as applicable.

# Title
Expand All @@ -25,5 +27,7 @@ Brief proposal overview
Who or what will benefit from this proposal?
# Status Quo
Discussion of the current state CF and other standards.
# Associated pull request
Link to associated pull request, if present.
# Detailed Proposal
Complete proposal
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/github-usage-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ assignees: ''
---

Before submitting an issue be sure you have read and understand the github contributing guidelines: https://github.com/cf-convention/cf-conventions/blob/master/CONTRIBUTING.md and the rules for CF changes: http://cfconventions.org/rules.html

# Associated pull request
Link to associated pull request, if present.
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/style-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ assignees: ''
---

Before submitting an issue be sure you have read and understand the github contributing guidelines: https://github.com/cf-convention/cf-conventions/blob/master/CONTRIBUTING.md and the rules for CF changes: http://cfconventions.org/rules.html

# Associated pull request
Link to associated pull request, if present.
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/typo-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ assignees: ''
---

Before submitting an issue be sure you have read and understand the github contributing guidelines: https://github.com/cf-convention/cf-conventions/blob/master/CONTRIBUTING.md and the rules for CF changes: http://cfconventions.org/rules.html

# Associated pull request
Link to associated pull request, if present.
12 changes: 11 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
See issue #XXX for discussion of these changes.
See issue #XXX for discussion of these changes.

# Release checklist
- [ ] Authors updated in `cf-conventions.adoc`?
- [ ] Next version in `cf-conventions.adoc` up to date? Versioning inspired by [SemVer](https://semver.org).
- [ ] `history.adoc` up to date?
- [ ] Conformance document up-to-date?

# For maintainers
After the merge remember to delete the source branch.
Tags are set at the conclusion of the annual meeting; until then `master` always is a draft for the next version.
4 changes: 1 addition & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the Contributor Covenant
(http:contributor-covenant.org), version 1.0.0, available at
http://contributor-covenant.org/version/1/0/0/
This Code of Conduct is adapted from the Contributor Covenant (http:contributor-covenant.org), version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/
66 changes: 26 additions & 40 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,67 +1,53 @@
# Contributing to the NetCDF-CF conventions
# Contributing to the netCDF-CF Conventions

Dear CF community member,

Thank you for taking the time to consider making a contribution to the [cf-conventions](http://cfconventions.org/).
The NetCDF Climate and Forecasting conventions are a product by and for a broad community and your contribution is the key to their usefulness.
The netCDF Climate and Forecasting conventions are a product by and for a broad community and your contribution is the key to their usefulness.

This set of guidelines provides a brief overview of the practices and procedures that should be used in fixing, updating, or adding to the conventions.
This set of guidelines provides a brief overview of the practices and procedures that should be used in fixing, updating, or adding to the conventions.
It builds on the [rules for CF Convention changes.](http://cfconventions.org/rules.html)

As a prerequisite to this guide, please review the community's code of [conduct.](https://github.com/cf-convention/cf-conventions/blob/master/CODE_OF_CONDUCT.md)
The CF community takes great pride in respectful and collegial discourse. Any disrespectful or otherwise derogatory communication will not be tolerated.

## General Guidelines
These contribution guidelines are designed to make it easy to contribute to the
CF Conventions and are tailored to the platform where they are hosted, GitHub.
They are intended to support your work and not to constrict you; if at any time
you find them difficult to follow, ask for help.
Your contribution is valuable and the community will be happy to give a hand.

1. **A given proposal should be discussed as one issue.** It shouldn't fork or be superseded by another one, unless that reflects what has happened to the proposal.
This is so it is easy to trace the discussion that led to a given agreed proposal.
## General guidelines for using GitHub to change the CF Conventions

2. **A proposal should convey the reasoning and effect on all relevant sections of the specification.**
An overview of all actual changes and the impact the changes have on the specification should be clear.
1. **A given proposal should be discussed as one issue.** It shouldn't fork or be superseded by another one, unless that reflects what has happened to the proposal.
This is so it is easy to trace the discussion that led to a given agreed proposal.
1. **A proposal should convey the reasoning and effect on all relevant sections of the specification.**
An overview of all actual changes and the impact the changes have on the specification should be clear.
Depending on the length and nature of the proposal, this may require different approaches as described below.

3. **In general, issues should be used for discussion of proposed changes and pull requests should be used for review of agreed upon changes.**
In other words, if the content or concept of what is being proposed needs to be vetted by the community it should be vetted in an issue.
1. **In general, issues should be used for discussion of proposed changes and pull requests should be used for review of agreed upon changes.**
In other words, if the content or concept of what is being proposed needs to be vetted by the community it should be vetted in an issue.
If the proposal is non-controversial (such as a typo correction) or has been agreed to in concept in an issue, then detailed review of the text may take place in a pull request.
Practically all changes should be documented and discussed in an issue fixed in a related pull request.

4. **Use [labels](https://github.com/cf-convention/cf-conventions/labels) on issues and pull requests.**
1. **Use [labels](https://github.com/cf-convention/cf-conventions/labels) on issues and pull requests.**
Currently this is achieved by using an appropriate issue template when creating a [new issue](https://github.com/cf-convention/cf-conventions/issues/new/choose).
1. **Comments in pull requests.** These should be avoided, unless discussing changes to the wording of a proposal that do not impact on the agreed meaning. This is so that the scientific development of the proposal is easily found in one place, i.e. the GitHub issue.

5. **Comments in pull requests.** These should be avoided, unless discussing changes to the wording of a proposal that do not impact on the agreed meaning. This is so that the scientific development of the proposal is easily found in one place, i.e. the GitHub issue.

## Issues and Pull Requests
## Issues and pull requests
Note that it takes a minimum of three weeks for a change to the content of the CF Conventions to be merged into the Convention's next version.
As the Conventions are published once a year, this means that the de facto "feature freeze" for a given version of the CF Conventions is three weeks before that year's annual meeting.

Issues should attempt to follow the guidelines here and in the issue template as much as possible.
Issues should attempt to follow the guidelines in the issue template as much as possible.
All new pull requests should be submitted to the master branch of this repository.
It is recommended that pull requests are created on a branch of a personal fork of this repository.
Use of other branches is at the discretion of the repository administrators.
The following cases describe potential patterns of use for issues and pull requests.

1. **Typo Fix** If the change is a non-controversial fix such as a typo, no issue is required as these changes do not appear in the convention history.
A pull request with the fix can be submitted directly.
Contributors not familiar with github can submit issues for typos and similar issues for others to fix.

2. **Single Section Change** In the case of a change concerning one to a few paragraphs, an issue should be opened that describes the problem and proposed fix.
If important to the issue, the problem text should be pasted in the body of the issue and proposed fix included.
A link to the line where the problem exists could also be included.
If the modification is non-controversial, a pull request could be opened simultaneously.
Discussion of the proposal should take place in one issue.
Final review should take place in the pull request and the issue closed when the pull request is merged.

3. **Changes Spanning Multiple Sections** If reasonable, changes concerning multiple sections should follow the pattern described in Single Section Change.
If explicitly listing proposed changes is not practical, general guideline 2 should be followed to document the proposal.
Depending on the nature of the proposal, interested community members can decide what the most effective tool is for development and review of specification changes.
Tools used for development of significant changes are up to those contributing and reviewing it.
Note that there is a rendered "rich-diff" view of a pull request that can be helpful for review of large contributions.

## Merging of pull requests, and closing and reopening of issues

When an issue and accompanying pull request concludes with an agreed change to the conventions, then the pull request will be merged into the master branch after a further 3 weeks has elapsed, assuming that no more discussion occurs. This is as described by the rules for conventions changes at http://cfconventions.org/rules.html. If further substantive comments are raised during this period, then the final 3 week period will restart after a new conclusion is agreed.

The pull request will be merged by a member of the governance panel or the CF conventions and standard names committee.
When an issue and accompanying pull request concludes with an agreed change to the conventions, the pull request is merged into the master branch according to the [Rules for CF Convention Changes](http://cfconventions.org/rules.html).

The person who merges the pull request should also close the issue, leaving a comment that the issue was concluded with no further comment during the subsequent 3 weeks.
The pull request is merged by a member of the Governance Panel or the CF Conventions and Standard Names Committee.
The person who merges the pull request also closes the issue.

If subsequent discussion is required after the pull request has been merged then a new issue should be raised, rather than reopening the closed issue.
An issue may be closed without the merging of a pull request if the change was not accepted by the community. In this case the issue may be reopened for further discussion at a later date.
An issue may be closed without the merging of a pull request if the change was not accepted by the community.
In this case the issue may be reopened for further discussion at a later date.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[![Build Status](https://secure.travis-ci.org/cf-convention/cf-conventions.png)](http://travis-ci.org/cf-convention/cf-conventions)

### Status
This repository contains the official source of the CF metadata conventions.
The source files are built into HTML automatically when changes are merged into this repository.
The latest build of the specification is held in the `gh-pages` branch and can be seen [here](http://cfconventions.org/cf-conventions/cf-conventions.html).

This repository contains the official source of the CF metadata conventions.
The source files are built into HTML automatically when changes are merged into this repository.
The latest build of the specfication is held in the `gh-pages` branch and can be seen at: http://cfconventions.org/cf-conventions/cf-conventions.html.
For the official web site please visit: http://cfconventions.org and the [corresponding GitHub organisation](https://github.com/cf-convention).

For the official web site please visit: http://cfconventions.org/,
and the corresponding GitHub organisation: https://github.com/cf-convention.
# Contributing to the CF Conventions
The CF Conventions are changed by changing the source files in this repository.
The rules for doing this are set forth on the [CF website](http://cfconventions.org/rules.html).
Their implementation in GitHub is described in this repository's [CONTRIBUTING.md file](https://github.com/cf-convention/cf-conventions/blob/master/CONTRIBUTING.md).

### Building the HTML
# Building the HTML

To convert the AsciiDoc files into the resulting HTML file:

Expand Down

0 comments on commit e57fb55

Please sign in to comment.