Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement issue and pr templates #641

Merged
merged 1 commit into from Jan 8, 2018

Conversation

shrugs
Copy link
Contributor

@shrugs shrugs commented Jan 4, 2018

  • πŸ“˜ I've reviewed the OpenZeppelin Contributor Guidelines
  • βœ… I've added tests where applicable to test my new functionality.
  • πŸ“– I've made sure that my contracts are well-documented.
  • 🎨 I've run the JavaScript linter (npm run lint:fix) and fixed all issues.

Fixes #639


πŸš€ Description

Adds issue and pr templates as well as updates the contributing doc slightly.

@shrugs shrugs added the review label Jan 4, 2018
@shrugs shrugs requested a review from maraoz January 4, 2018 19:46
@frangio
Copy link
Contributor

frangio commented Jan 4, 2018

I think we should also mention the JavaScript linter in the PR template.

@spalladino
Copy link
Contributor

Agree with @frangio. I'd actually replace the style guides item in favour of the linter.

- [ ] πŸ“– I've made sure that my contracts are well-documented.
- [ ] 🎨 I've run the JavaScript linter (`npm run lint`) and fixed all issues.

**Does this close any open issues?** If so, list them here.
Copy link
Contributor

@frangio frangio Jan 4, 2018

Choose a reason for hiding this comment

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

The problem with this is that the contributor will not write a phrase like "fixes #PR" which is what GitHub uses to close said issue automatically when the PR is merged. How can we nudge the contributor towards that?

Does this close any open issues? I so, list them here.
Fixes #...

Also, should this line be an HTML comment?

@@ -0,0 +1,16 @@
πŸŽ‰ Thank you for submitting a PR! Before submitting, please review the following checklist:
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this line also be an HTML comment?

@@ -80,6 +80,8 @@ git checkout -b fix/some-bug
git checkout -b remove/some-file
```

If your branch is planned to fix an open issue, postfix your branch name with the issue number like `fix/some-bug-#123`.
Copy link
Contributor

Choose a reason for hiding this comment

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

I see that this was done in this PR but Waffle didn't associate it to the corresponding issue correctly. It may be related to the lack of "fixes #639" thing mentioned above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shrugs
Copy link
Contributor Author

shrugs commented Jan 5, 2018

@frangio did we switch to solium or what, yet? Do we have a process for linting the solidity files? I see a soliumrc, but not sure how we invoke solium officially. It should be an npm script.

( and I've updated the PR description above to the most recent push)

@frangio
Copy link
Contributor

frangio commented Jan 8, 2018

Solium was set up once a long time ago but at some point we stopped using it. There is #556, we should merge that and add an npm script, and probably run it in Travis.

@frangio frangio merged commit 59cd714 into OpenZeppelin:master Jan 8, 2018
@frangio frangio removed the review label Jan 8, 2018
@shrugs shrugs deleted the feat/issue-templates-#639 branch January 8, 2018 20:20
ProphetDaniel pushed a commit to classicdelta/Smart-Contracts that referenced this pull request Mar 9, 2018
…#639

feat: implement issue and pr templates
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.

Create a PR / Issue Template for OZ
3 participants