-
Notifications
You must be signed in to change notification settings - Fork 159
docs: Add contribution guidelines #248
Conversation
…rror main Serverless Repo
.github/ISSUE_TEMPLATE/bug_report.md
Outdated
--- | ||
|
||
<!-- | ||
1. If you have a question and not a bug report please ask first at http://forum.serverless.com |
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.
even for azure plugin question?
|
||
Welcome, and thanks in advance for your help! Please follow these simple guidelines :+1: | ||
|
||
# How to contribute to the Serverless Azure Plugin |
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.
also need a section on commit message style guide
.github/ISSUE_TEMPLATE/bug_report.md
Outdated
<!-- | ||
1. If you have a question and not a bug report please ask first at http://forum.serverless.com | ||
2. Please check if an issue already exists. This bug may have already been documented | ||
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md |
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.
We should update this to point to this repo.
|
||
## Additional Data | ||
|
||
- **_Serverless Framework Version you're using_**: |
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.
we should also add serverless azure functions plugin version.
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.
And the version of the Serverless CLI itself
CONTRIBUTING.md
Outdated
|
||
# Testing | ||
|
||
We aim for a (near) 100% test coverage, so make sure your tests cover as much of your code as possible. |
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.
80%? Targeting 100 seems unrealistic.
CONTRIBUTING.md
Outdated
|
||
# Code Style | ||
|
||
We aim for clean, consistent code style. We're using ESlint to check for codestyle issues using the Airbnb preset. |
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.
We can remove the reference to Airbnb; we're using eslint typescript recommended settings.
.github/PULL_REQUEST_TEMPLATE.md
Outdated
@@ -0,0 +1,51 @@ | |||
<!-- | |||
1. Please check out and follow our Contributing Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md |
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.
ditto here.
<!-- | ||
1. If you have a question and not a feature request please ask first at http://forum.serverless.com | ||
2. Please check if an issue already exists. This feature may have already been requested | ||
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md |
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.
update this url reference as well
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.
Couple of comments, otherwise looks good!
|
||
## Additional Data | ||
|
||
- **_Serverless Framework Version you're using_**: |
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.
And the version of the Serverless CLI itself
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.
LGTM
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.
some nit suggestion and one require change test:ci
not test-ci
.github/PULL_REQUEST_TEMPLATE.md
Outdated
|
||
## Todos: | ||
|
||
_**Note: Run `npm run test-ci` to run all validation checks on proposed changes**_ |
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.
test:ci
CONTRIBUTING.md
Outdated
This results in erratic, jumpy scrolling and a poor user experience. Improve | ||
stability and usability with debouncing. | ||
|
||
AB#17056 |
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 would use Github issues syntax here, closes #123
CONTRIBUTING.md
Outdated
|
||
# Testing | ||
|
||
We aim for a (near) 80% test coverage, so make sure your tests cover as much of your code as possible. |
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.
a bit high isn't it? I think 75% is good (that's also the lower limit on our codecov config)
* Add contribution guidelines and issue/freature request template to mirror main Serverless Repo * Update Readme and pr tempalte * Address pr feedback * Add cli version to bug report * Address last comments
* Add contribution guidelines and issue/freature request template to mirror main Serverless Repo * Update Readme and pr tempalte * Address pr feedback * Add cli version to bug report * Address last comments
Add contribution guidelines and templates for pull requests, bug reports, and feature requests for the plugin repo. Most of the templates and guides are taken from the core Serverless repo to best match the process put forth there, with minor adjustments to reflect the setup of this repo
AB#805