Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@superkhau
Copy link
Contributor

@superkhau superkhau commented Oct 12, 2016

We can update this over time as needed -- submitting my first stab at this to get the ball rolling.

@bajtos @strongloop/loopback-dev PTAL

Connect to #2837

### Bug or feature

- [ ] Bug
- [ ] Feature
Copy link
Member

@bajtos bajtos Oct 12, 2016

Choose a reason for hiding this comment

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

Why is this important? Shouldn't this be obvious from the pull request description?

IMO, backwards compatibility is the most important concern to address when sending a pull request.

 - [ ] backwards compatible
 - [ ] breaking change(s)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, bug or feature is pretty useless in terms of PR. Will update with your description instead. 👍

@superkhau superkhau force-pushed the add-pr-template branch 5 times, most recently from ca70b4a to ae58eb5 Compare October 12, 2016 21:31
### Bug or feature

- [ ] Bug
- [ ] Feature
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, bug or feature is pretty useless in terms of PR. Will update with your description instead. 👍


- [ ] MAJOR -- Incompatible API changes (ie. breaking change(s))
- [ ] MINOR -- Add functionality in a backwards-compatible manner
- [ ] PATCH -- Backwards-compatible bug fixes
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bajtos Actually, I took your idea and went a step further. Why don't we get community to suggest the type of change they are submitting? We follow semver anyways, so it's something they can do for us. Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

+1

@superkhau
Copy link
Contributor Author

@bajtos PTAL again

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

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

PTAL

See http://semver.org/ for more info.
-->

- [ ] MAJOR -- Incompatible API changes (ie. breaking change(s))
Copy link
Member

Choose a reason for hiding this comment

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

Backwards-incompatible changes

  1. Just "incompatible" does not say what we are not compatible with
  2. It's not only about API, a change in behaviour requires SEMVER-MAJOR too.

I am also proposing to prefix all three items with SEMVER-, e.g. SEMVER-MAJOR.

Copy link
Contributor Author

@superkhau superkhau Oct 14, 2016

Choose a reason for hiding this comment

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

FYI, those words were copied off of the semver doc at semver.org. They're probably intentionally generic to cover all areas. Updating with your wording since it's more specific.


- [ ] MAJOR -- Incompatible API changes (ie. breaking change(s))
- [ ] MINOR -- Add functionality in a backwards-compatible manner
- [ ] PATCH -- Backwards-compatible bug fixes
Copy link
Member

Choose a reason for hiding this comment

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

+1

- [ ] Commit message conforms with the [Git commit message
guidelines](http://loopback.io/doc/en/contrib/git-commit-messages.html)
- [ ] Code includes passing unit tests (`npm test`)
- [ ] Code passes linting (`npm run lint` or `npm test` which also runs the
Copy link
Member

Choose a reason for hiding this comment

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

I would rephrase these two items:

- [ ] New tests are added to cover all changes
- [ ] Code passes `npm test`

@superkhau superkhau force-pushed the add-pr-template branch 2 times, most recently from 6e07a3b to 652c1cb Compare October 14, 2016 19:34
@superkhau
Copy link
Contributor Author

@bajtos PTAL again

@superkhau
Copy link
Contributor Author

@0candy PTAL -- I want to land this to demo on Monday too.

cc @bajtos

-->

- [ ] SEMVER-MAJOR -- Backward-incompatible changes
- [ ] SEMVER-MINOR -- Add functionality in a backwards-compatible manner
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make it consistent? Either backward or backwards?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, its a typo.

@superkhau
Copy link
Contributor Author

@0candy PTAL again

@superkhau superkhau merged commit ed76a34 into master Oct 14, 2016
@superkhau superkhau deleted the add-pr-template branch October 14, 2016 19:46
@superkhau superkhau removed the #review label Oct 14, 2016
superkhau added a commit that referenced this pull request Oct 14, 2016
superkhau added a commit that referenced this pull request Oct 17, 2016
bajtos added a commit that referenced this pull request Oct 24, 2016
 * Need index on principalId for performance. (#2883) (#2884) (Simon Ho)
 * Remove redundant items in PR template (#2877) (#2878) (Simon Ho)
 * Refactor PR template based on feedback (#2865) (#2874) (Simon Ho)
 * Add pull request template (#2843) (#2862) (Simon Ho)
 * Fix description of updateAll response (Miroslav Bajtoš)
bajtos added a commit that referenced this pull request Dec 5, 2016
 * Fix use-strict issue with connectors after merge (Loay)
 * Fix connector naming in strict mode (ebarault)
 * Add "returnOnlyRoleNames" option to Role.getRoles (Eric)
 * Update translation files (Candy)
 * Fix broken document for `upsertWithWhere` (Amir Jafarian)
 * Fix js doc for deleteAll event (Candy)
 * add allowArray to relations' create remoteMethod (David Cheung)
 * Remove workaround for default value (Loay)
 * Fix remote method example (Amir Jafarian)
 * Remove `example/context` (Amir Jafarian)
 * Turn on "no-unused-expressions" rule for eslint (Miroslav Bajtoš)
 * Update eslint to loopback config v5 (Loay)
 * Fix total calculation in example (Candy)
 * make test individually runable (David Cheung)
 * Add options to bulkUpdate (Kogulan Baskaran)
 * Fix context within listByPrincipalType role method (codyolsen)
 * Add Node v7 to Travis CI platforms (Miroslav Bajtoš)
 * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
 * Add templateFn option to User#verify() (Adrien Kiren)
 * Require verification after email change (Loay)
 * Update doc links (Candy)
 * adding check of string for case insensitive emails (Dhaval Trivedi)
 * Update test confirmation text in PR template (#2897) (Simon Ho)
 * allow batch create for persisted models (David Cheung)
 * Fix PR template to not link all PRs to #49 (#2887) (Miroslav Bajtoš)
 * Need index on principalId for performance. (#2883) (Simon Ho)
 * Remove redundant items in PR template (#2877) (Simon Ho)
 * Refactor PR template based on feedback (#2865) (Simon Ho)
 * Add pull request template (#2843) (Simon Ho)
 * Update README.md (Rand McKinney)
 * Reword ticking checkbox note in issue template (#2854) (Simon Ho)
 * Add how to tick checkbox in issue template (#2851) (Simon Ho)
 * Fix description of updateAll response (Miroslav Bajtoš)
 * Allow tokens with eternal TTL (value -1) (Miroslav Bajtoš)
 * Use GitHub issue templates (#2810) (Simon Ho)
 * Update ja and nl translation files (Candy)
 * Remove 3.0 DEVELOPING & RELEASE-NOTES (Miroslav Bajtoš)
 * Fix support for remote hooks returning a Promise (Tim van der Staaij)
 * Validate non-email property partial update (Loay)
 * Update release notes (Amir Jafarian)
 * Update translation files - round#2 (Candy)
 * Add license text (Candy)
 * Temporarily disable Karma tests on Windows CI (Miroslav Bajtoš)
ebarault pushed a commit to ebarault/loopback that referenced this pull request Dec 6, 2016
 * Fix use-strict issue with connectors after merge (Loay)
 * Fix connector naming in strict mode (ebarault)
 * Add "returnOnlyRoleNames" option to Role.getRoles (Eric)
 * Update translation files (Candy)
 * Fix broken document for `upsertWithWhere` (Amir Jafarian)
 * Fix js doc for deleteAll event (Candy)
 * add allowArray to relations' create remoteMethod (David Cheung)
 * Remove workaround for default value (Loay)
 * Fix remote method example (Amir Jafarian)
 * Remove `example/context` (Amir Jafarian)
 * Turn on "no-unused-expressions" rule for eslint (Miroslav Bajtoš)
 * Update eslint to loopback config v5 (Loay)
 * Fix total calculation in example (Candy)
 * make test individually runable (David Cheung)
 * Add options to bulkUpdate (Kogulan Baskaran)
 * Fix context within listByPrincipalType role method (codyolsen)
 * Add Node v7 to Travis CI platforms (Miroslav Bajtoš)
 * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
 * Add templateFn option to User#verify() (Adrien Kiren)
 * Require verification after email change (Loay)
 * Update doc links (Candy)
 * adding check of string for case insensitive emails (Dhaval Trivedi)
 * Update test confirmation text in PR template (strongloop#2897) (Simon Ho)
 * allow batch create for persisted models (David Cheung)
 * Fix PR template to not link all PRs to strongloop#49 (strongloop#2887) (Miroslav Bajtoš)
 * Need index on principalId for performance. (strongloop#2883) (Simon Ho)
 * Remove redundant items in PR template (strongloop#2877) (Simon Ho)
 * Refactor PR template based on feedback (strongloop#2865) (Simon Ho)
 * Add pull request template (strongloop#2843) (Simon Ho)
 * Update README.md (Rand McKinney)
 * Reword ticking checkbox note in issue template (strongloop#2854) (Simon Ho)
 * Add how to tick checkbox in issue template (strongloop#2851) (Simon Ho)
 * Fix description of updateAll response (Miroslav Bajtoš)
 * Allow tokens with eternal TTL (value -1) (Miroslav Bajtoš)
 * Use GitHub issue templates (strongloop#2810) (Simon Ho)
 * Update ja and nl translation files (Candy)
 * Remove 3.0 DEVELOPING & RELEASE-NOTES (Miroslav Bajtoš)
 * Fix support for remote hooks returning a Promise (Tim van der Staaij)
 * Validate non-email property partial update (Loay)
 * Update release notes (Amir Jafarian)
 * Update translation files - round#2 (Candy)
 * Add license text (Candy)
 * Temporarily disable Karma tests on Windows CI (Miroslav Bajtoš)
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.

5 participants