Skip to content

Updating the contributing.md - #302

Merged
jeff-phillips-18 merged 3 commits into
patternfly:masterfrom
LHinson:update-contributing.md
Apr 17, 2018
Merged

jeff-phillips-18 merged 3 commits into
patternfly:masterfrom
LHinson:update-contributing.md

Conversation

@LHinson

@LHinson LHinson commented Apr 10, 2018

Copy link
Copy Markdown
Member

I have updated the contributing.md to include information about how to become a maintainer.

@coveralls

coveralls commented Apr 10, 2018 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 1167

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.5%) to 73.966%

Totals Coverage Status
Change from base Build 1127: 1.5%
Covered Lines: 1445
Relevant Lines: 1782

💛 - Coveralls

Comment thread CONTRIBUTING.md
- [Code Consistency](#code-consistency)
- [Code Contribution Guidelines](#code-contribution-guidelines)
- [Becoming a Maintainer](#becoming-a-maintainer)
- [How do I become a maintainer?](how-do-i-become-a-maintainer?)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maintainer or committer? there might be a slight difference between the two

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ohadlevy yeah I noticed this discrepancy between Foreman and PF. For PatternFly, each repo has two sets of teams, "Contributors" and "Maintainers". Therefore I decided to keep consistent with our current definitions as seen on our teams page: https://github.com/orgs/patternfly/teams

WDYT?

Comment thread CONTRIBUTING.md Outdated

If you want to become a maintainer, we expect you to:

- Review and test pull requests submitted by others .

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: extra space EOL before the .

@dlabrecq dlabrecq left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would these nomination rules apply to UXD devs who wish to be a maintainer?

Comment thread CONTRIBUTING.md Outdated

### Quick tips for new maintainers

- If something you merged broke something, it’s your responsibility to provide a fix.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't agree with this how this statement is worded. I believe this applies more to a committer, not necessarily the person merging a PR.

It's typically not the maintainer's responsibility to provide fixes for code they did not write? The person who wrote the code really should be the one to provide a fix.

Perhaps it should be the maintainer's responsibility to back out a commit that caused the breakage? That is, until the developer of the code can provide a fix.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps better worded as "All maintainers are responsible for the health of the repo. If unit tests, doc/example site, or CI (travis, jenkins) fails; you are responsible for investigating and/or providing a fix".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't object to @dtaylor113's comment, but I also like being explicit about what to do if you merged a PR and it broke something. I agree with Dan's comment that the person merging might not be the best person to fix the issue, and we should give them the option to back out a commit.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes - this has happened in the past and during high activity periods, i think a judgement call should be made about other contributors submitting a fix (if the committer can't provide one immediately). But usually it is just an open discussion...but yes, agree w/ @dtaylor113 ' s point about all maintainers trying to retain the health of the repo at all times. The test coverage/CI tooling in this repo is steadily improving so hopefully this is less and less of an issue..

Comment thread CONTRIBUTING.md Outdated

### How do I lose maintainers status?

If you are inactive in the community for one year, we will remove you from the maintainers list and revoke your permission, but we will make a mention of you on a list of previous maintainers.

@dlabrecq dlabrecq Apr 10, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One year is very generous.

Comment thread CONTRIBUTING.md
If you are inactive in the community for one year, we will remove you from the maintainers list and revoke your permission, but we will make a mention of you on a list of previous maintainers.

In the event that a maintainer continues to disregard good citizenship (or actively disrupts the project), we may need to revoke that person’s status. The process is the same as for nominating a new maintainer: someone suggests the revocation with a good reason, two people second the motion, and a vote may be called if consensus cannot be reached. We hope that’s simple enough, and that we never have to test it in practice.

@dlabrecq dlabrecq Apr 10, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The process for nominating a person sounds good, but the same process for revoking? I can see that publicly revoking a person's privileges could get ugly. This should probably be done more discreetly so people are not publicly shamed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to Dan's comment, if I can privately object to a nomination, then should I be able to privately request that their status be removed? If that's the case, who would I send my request to?

@dtaylor113

Copy link
Copy Markdown
Member

Not part of the changes for this PR, just general comment for Contribution Process ->
Creating Issues for Bugs:

  1. In the issue tracker, check if the bug has already been reported.
    If it does exist, ...add a comment to the existing bug.

For existing bugs, OpenShift/Bugzilla also have a practice of updating a counter, or adding +1', whenever a dev/user hits the bug. Good indication of frequency of occurrence.

Comment thread CONTRIBUTING.md Outdated
- Review and test pull requests submitted by others.
- Encourage and ensure design remains an integral part of the review process and pull in designers for review as needed (you can leverage @patternfly/pf-<framework>-design if there is no known associated designer).
- Maintain sustained activity versus sporadic.
- Support users and other developers on [PatternFly Slack](https://patternfly.slack.com/) and the [mailing list](mailto:[email protected]).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably want to add the pf-react slack channel and mailing list.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no react ML. I will update the slack info though.

Comment thread CONTRIBUTING.md Outdated
If you want to become a maintainer, we expect you to:

- Review and test pull requests submitted by others.
- Encourage and ensure design remains an integral part of the review process and pull in designers for review as needed (you can leverage @patternfly/pf-<framework>-design if there is no known associated designer).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patternfly/pf-<framework>-design should be updated to @patternfly/patternfly-react-ux

Comment thread CONTRIBUTING.md
### Quick tips for new maintainers

- If something you merged broke something, it’s your responsibility to provide a fix.
- Do not merge your own commits

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this tie in to the existing approval process agreed upon in pf-react? I guess it is good to distinguish that we don't self-merge when one becomes a maintainer...and we typically wait for ux/design/development review (unless a PR doesn't pertain such as tests/build/tooling changes/dependency changes only). This repo is mission critical now for many teams so it's important to keep it healthy as we introduce new components/new build processes/new tooling/new workspaces for development. I believe that additional maintainers will help further this and continue to improve the quality overall, as well as the performance downstream.

@priley86

Copy link
Copy Markdown
Member

exciting - thanks @LHinson 🌟

@LHinson

LHinson commented Apr 14, 2018 •

Copy link
Copy Markdown
Member Author

Thanks everyone for the awesome review! @jgiardino @dtaylor113 @dlabrecq @priley86 @ohadlevy @jeff-phillips-18 I've made updates per your recommendations.

@dlabrecq becoming a maintainer can apply to anyone, not just UXD devs.

@dtaylor113 I didn't update the part about code since I'm not so knowledgable about this. File an issue to update this in a separate PR.

@jeff-phillips-18

Copy link
Copy Markdown
Member

@dlabrecq @priley86 @dtaylor113 @ohadlevy @jgiardino Any further comments?

@jgiardino jgiardino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants