-
Notifications
You must be signed in to change notification settings - Fork 143
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
Update contributing docs #1574
Update contributing docs #1574
Conversation
This got heavily inspired by the web-ext contribution docs, kudos for them! Fix #1572
… via 'scripts' section
1 similar comment
CONTRIBUTING.md
Outdated
process of contributing patches, have a read through these | ||
[good first bugs](https://github.com/mozilla/web-ext/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+bug%22). | ||
|
||
If you are already familiar with the process or want to contribute even more we appreciate any help on our [contrib: welcome](https://github.com/mozilla/addons-linter/issues?q=is%3Aissue+is%3Aopen+label%3A"contrib%3A+welcome) issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe something like this:
If you're already familiar with the project or would like take on something
a little more challenging, please take a look at the
[contrib: welcome](%LINK%) issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some editorial comments but if you make them I'd say r+wc 😄
@@ -1,20 +1,144 @@ | |||
Thanks for wanting to contribute to Mozilla's Add-ons Linter! You rock! 😊 | |||
Hi! Thanks for wanting to contribute to Mozilla's Add-ons Linter! You rock! 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CONTRIBUTING.md
Outdated
|
||
## Submitting a Pull Request | ||
The linter is used in various stages of [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is phrased a bit awkwardly and it makes it hard to parse. Also I'm pretty sure we're not supposed to say WebExtensions? I dunno. Saying "contributions are awesome" is a bit of a generic call-to-action as well, but I'd encourage people involved with extensions to relay their experience and get involved... I'd try:
This linter is used to help develop and publish [extensions](https://developer.mozilla.org/en-US/Add-ons/WebExtensions) for Firefox. You're an add-on developer, we would really value your contributions–no one knows add-on development and publishing better than an add-on developer!
CONTRIBUTING.md
Outdated
Please run the tests locally with `npm test` before you commit. | ||
- [Picking an issue](#picking-an-issue) | ||
- [Installation](#installation) | ||
- [Develop all the things](#develop-all-the-things) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know that "All the things" is a cute meme but not everyone gets memes, especially non-Western, English-speaking folks. This could be better written as "Development environment".
But actually looking at that section I think it can be removed and folded into testing.
CONTRIBUTING.md
Outdated
- [Picking an issue](#picking-an-issue) | ||
- [Installation](#installation) | ||
- [Develop all the things](#develop-all-the-things) | ||
- [Run all application tests](#run-all-application-tests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be "Testing the linter" and the "develop all the things" section should be moved under it to "Run tests when you make changes"
CONTRIBUTING.md
Outdated
|
||
# Picking an issue | ||
|
||
If you're looking for a small task to work on so you can get familiar with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd change this whole paragraph to:
For first-time contributors or those who want to start with a small task: [check out our list of good first bugs](https://github.com/mozilla/web-ext/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+bug%22). These issues have an assigned mentor to help you out and are great issues for learning about the linter and our development process.
CONTRIBUTING.md
Outdated
|
||
npm test | ||
|
||
The other commands below are just variations on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need this line.
CONTRIBUTING.md
Outdated
Fixes #123 | ||
|
||
The issue number in this case is "123." | ||
The word *Fixes* is magical; github will automatically close the issue when your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"github" -> "GitHub"
CONTRIBUTING.md
Outdated
|
||
Good commit messages serve at least three important purposes: | ||
|
||
* To speed up the reviewing process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "to" in front of these bullet points aren't quite right... I'd say "they" instead of "to".
CONTRIBUTING.md
Outdated
|
||
* To speed up the reviewing process. | ||
* To help us write a good release note. | ||
* To help the future maintainers of addons-linter (it could be you!), say five years into the future, to find out why a particular change was made to the code or why a specific feature was added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is too long especially compared to the others. I'd just say "They help future maintainers understand your change and the reasons behind it."
CONTRIBUTING.md
Outdated
Good commit messages serve at least three important purposes: | ||
|
||
* To speed up the reviewing process. | ||
* To help us write a good release note. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"They help us write good release notes"
12ddf20
to
bd3ff7b
Compare
…pdate-contribution-docs
1 similar comment
CONTRIBUTING.md
Outdated
|
||
## Submitting a Pull Request | ||
This linter is used to help develop and publish [Add-ons](https://developer.mozilla.org/en-US/Add-ons/) for Firefox. You're an add-on developer, we would really value your contributions–no one knows add-on development and publishing better than an add-on developer! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to remove the /en-US/
directory and let MDN redirect to the user's preferred locale.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh good point, damn copy & paste. Thanks!
This got heavily inspired by the web-ext contribution docs, kudos for
them!
Fix #1572