Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Conversation

PIC123
Copy link
Contributor

@PIC123 PIC123 commented Aug 16, 2019

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

@coveralls
Copy link

coveralls commented Aug 16, 2019

Coverage Status

Coverage increased (+0.2%) to 84.875% when pulling e0ee389 on phcherne/contribution into 660f8b7 on dev.

---

<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
Copy link
Contributor

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
Copy link
Contributor

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

<!--
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
Copy link
Contributor

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_**:
Copy link
Contributor

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.

Copy link
Contributor

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.
Copy link
Contributor

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.
Copy link
Contributor

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.

@@ -0,0 +1,51 @@
<!--
1. Please check out and follow our Contributing Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Contributor

@wbreza wbreza left a 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_**:
Copy link
Contributor

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

Copy link
Contributor

@tbarlow12 tbarlow12 left a comment

Choose a reason for hiding this comment

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

LGTM

@PIC123 PIC123 requested a review from mydiemho August 27, 2019 17:40
Copy link
Contributor

@mydiemho mydiemho left a 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


## Todos:

_**Note: Run `npm run test-ci` to run all validation checks on proposed changes**_
Copy link
Contributor

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
Copy link
Contributor

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.
Copy link
Contributor

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)

@PIC123 PIC123 merged commit 50256a8 into dev Aug 28, 2019
tbarlow12 pushed a commit that referenced this pull request Aug 30, 2019
* 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
tbarlow12 pushed a commit that referenced this pull request Sep 13, 2019
* 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
@tbarlow12 tbarlow12 deleted the phcherne/contribution branch September 16, 2019 16:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants