-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from jrperritt/master
penultimate additions (or so) from `rackspace/gophercloud`
- Loading branch information
Showing
83 changed files
with
6,314 additions
and
450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
ExtractJSON method on gophercloud.Result | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
## On Pull Requests | ||
|
||
- Before you start a PR there needs to be a Github issue and a discussion about it | ||
on that issue with a core contributor, even if it's just a 'SGTM'. | ||
|
||
- A PR's description must reference the issue it closes with a `For <ISSUE NUMBER>` (e.g. For #293). | ||
|
||
- A PR's description must contain link(s) to the line(s) in the OpenStack | ||
source code (on Github) that prove(s) the PR code to be valid. Links to documentation | ||
are not good enough. The link(s) should be to a non-`master` branch. For example, | ||
a pull request implementing the creation of a Neutron v2 subnet might put the | ||
following link in the description: | ||
https://github.com/openstack/neutron/blob/stable/mitaka/neutron/api/v2/attributes.py#L749 | ||
From that link, a reviewer (or user) can verify the fields in the request/response | ||
objects in the PR. | ||
|
||
- A PR that is in-progress should have `[wip]` in front of the PR's title. When | ||
ready for review, remove the `[wip]` and ping a core contributor with an `@`. | ||
|
||
- A PR should be small. Even if you intend on implementing an entire | ||
service, a PR should only be one route of that service | ||
(e.g. create server or get server, but not both). | ||
|
||
- Unless explicitly asked, do not squash commits in the middle of a review; only | ||
append. It makes it difficult for the reviewer to see what's changed from one | ||
review to the next. | ||
|
||
## On Code | ||
|
||
- In re design: follow as closely as is reasonable the code already in the library. | ||
Most operations (e.g. create, delete) admit the same design. | ||
|
||
- Unit tests and acceptance (integration) tests must be written to cover each PR. | ||
Tests for operations with several options (e.g. list, create) should include all | ||
the options in the tests. This will allow users to verify an operation on their | ||
own infrastructure and see an example of usage. | ||
|
||
- If in doubt, ask in-line on the PR. |
Oops, something went wrong.