Commit Graph

48 Commits

Author SHA1 Message Date
jichen e285070ec7 Fix doc link for api
doc link has an issue.
Trivial Fix

Change-Id: I949711ebfc51a09bbdc344fa0e242b924e66a29f
2018-04-16 11:14:16 +08:00
Chris Dent d7145270c3 [placement] Add to contributor docs about handler testing
A recent IRC conversation [1] discussed that there are generally no tests
for the placement handler code (the wsgi methods that respond to each
URI and HTTP method). This change adds a paragraph to point out that
this is mostly intentional and that when they get complex it would
be a good idea to extract a method.

[1] http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2018-03-28.log.html#t2018-03-28T13:00:40

Change-Id: I09774c123068e42e6a828fc37455dc5d374486b9
2018-03-30 11:30:52 +01:00
Zuul 4bfcac8baa Merge "Update contributor guide for Rocky" 2018-03-16 20:15:18 +00:00
Chris Dent eb637b9de7 Update contributor/placement.rst to contemporary reality
This udpates the placement contributor documentation to reflect the
current state of affairs. Ininitially this was just going to be an
update to reflect that the oslo versioned objects had moved. However,
while reviewing the rest of the doc it became clear there were other
issues that should be resolved. Doing so in one shot helps to maintain
the continuity of the document and doing it piecemeal means it is less
likely to happen.

Change-Id: Ia8d4861799e27a30108dd465d15828c5a1943819
2018-03-14 09:58:29 +00:00
Takashi NATSUME c69470ba8f Update contributor guide for Rocky
TrivialFix
Change-Id: I2e489fae6e86b3017b35c64514caca7bb4044053
2018-03-07 08:16:06 +09:00
Zuul db82a00a60 Merge "Fix the format file name" 2018-02-07 02:19:41 +00:00
Zuul 107fef8992 Merge "Document testing guide for new API contributions" 2017-12-27 11:37:13 +00:00
Matt Riedemann 749f1ecbc5 Document testing guide for new API contributions
This fills in the TODOs for the unit, functional and
docs part of the API contributor guide.

Since we don't rely on the DocImpact tag in the commit
message for API changes (that tag results in a nova bug
and was meant mostly for making changes to docs external
to the nova repo, which is no longer the case), this
changes that section to just talk about the in-tree docs
that should be updated for API changes.

Change-Id: I9ca423c09185d2e3733357fd47aaba82d716eea4
2017-12-22 08:52:15 -05:00
Chris Dent 13e3aff7f1 Provide example for placement last-modified header of now
In the comments to I8f0c3006d1bb97d228f73256c58a79235cd12670, a request
for clarification was made on when the last-modified header should
be "now". This adds an example to help things a bit more clear.

Change-Id: I301f17bc7aad9f0037d2b13aa6e493ac9a6abb80
2017-12-20 15:22:49 +00:00
Zuul e502f0d073 Merge "doc: add note about fixing admin-only APIs without a microversion" 2017-12-19 21:07:14 +00:00
Zuul 6a09908757 Merge "doc: link in some Sydney summit content" 2017-12-14 14:26:19 +00:00
Chris Dent 413d50e78e [placement] Add info about last-modified to contrib docs
Add some instructions on how and when to add last-modified headers
when creating a new handler in the placement API.

Change-Id: I8f0c3006d1bb97d228f73256c58a79235cd12670
2017-12-12 15:53:26 +00:00
Matt Riedemann e6498e6ef1 doc: add note about fixing admin-only APIs without a microversion
This is a follow up to change I947e927802f755ccb25a91efd82cac895779d19e
to document the decision and agreements made in that change about fixing
obvious regression bugs in admin-only APIs without a microversion.

Change-Id: I4051cb465c509db63620ee727654f7c896fab1e8
Related-Bug: #1733886
2017-12-12 10:07:28 -05:00
Matt Riedemann 1772abbb52 doc: link in some Sydney summit content
This adds some links to talks from the Sydney summit to the docs
for cells v2, bug triage, and the metadata service.

While adding a "References" section to the metadata docs, I figured
it was also useful to link to a blog post from mikal about vendordata
since it also includes code samples.

Change-Id: Ifc47a5472db37f5526004d2e00751365a026975a
2017-12-07 22:27:50 -05:00
Zuul 96cf7ed401 Merge "Do not use “-y” for package install" 2017-12-01 04:50:37 +00:00
Luong Anh Tuan 5d2c8fa9e1 Fix the format file name
The file name should be marked follow [1]
as consistent with their semantic meaning.

[1] https://docs.openstack.org/doc-contrib-guide/rst-conv/inline-markups.html#file-name-and-path

Change-Id: Ic18d0563412650d3b42c2ed5c07e69f309877cb9
2017-11-27 11:43:41 +07:00
Zuul f7da17b8e3 Merge "[placement] Fix a wrong redirection in placement doc" 2017-11-21 12:23:07 +00:00
Matt Riedemann 85235d229b doc: fix link to creating unit tests in contributor guide
The testing strategy doc was linking to the hacking repo docs
on creating unit tests, which are very specific to creating
unit tests for hacking rules.

This changes the link to the 'creating unit tests' section in
the HACKING.rst file, which has more information on testing
within nova.

Along with that change, the HACKING.rst testing section is
updated a bit to point out that we use stestr now instead of
testr and adds a proper link to the development environment
quickstart docs.

The nova/tests/unit/README.rst actually needs a lot of work,
but that's left for another day.

Change-Id: Ie5106d87d632286162b31ce132e947c306d21abd
Closes-Bug: #1732024
2017-11-14 11:22:43 -05:00
Zuul 93d2c5e168 Merge "placement: Contributor doc microversion checklist" 2017-11-13 16:42:04 +00:00
Vu Cong Tuan 449558b190 Do not use “-y” for package install
According to "code conventions" [1], do not use "-y" option.
Instead, use apt-get install package, yum install package,
or zypper install package.

[1] https://docs.openstack.org/doc-contrib-guide/writing-style/
code-conventions.html

Change-Id: I49c9f0d63ba08656965c632644c45a0c92d874f9
2017-11-07 13:16:50 +07:00
Takashi NATSUME e69f0f1d95 [placement] Fix a wrong redirection in placement doc
Change-Id: I9f404838c36618f5d632c6fb77b69287263f2611
2017-11-06 23:44:05 +00:00
Eric Fried 3e55e77609 Update contributor microversion doc for compute
In the microversion contributor doc, refresh the checklist for creating
a new microversion.

- Remove reference to "doc team"
- Add bullet about release note
- Add bullet for updating the API reference

Change-Id: I81a8cd68792f06738ee9709d07d557a37367a806
2017-11-03 14:22:18 +00:00
Eric Fried ab5e2e00d2 placement: Contributor doc microversion checklist
I put out a new placement microversion [1] and initially missed updating
the API reference documentation [2].  I'd like to say it would have
helped if the checklist in the Microversion section of the contributor
doc had been up to date, except I didn't even know about that document
at the time.  Anyway, this change set adds that bullet - and I'll know
to refer to it next time.

[1] https://review.openstack.org/499826
[2] https://review.openstack.org/515748

Change-Id: Id0329d9824eeb1d210defe0567286372b72cb1cf
2017-10-31 15:07:57 -05:00
Takashi NATSUME 48eb371e62 Fix inconsistency of 'NOTE:' description
Use the 'note' directive.

TrivialFix
Change-Id: If342940f8cc64591778ad21ce6cccbe006c0145b
2017-09-28 16:28:49 +09:00
jolie c7b3a2457c Remove SCREEN_LOGDIR from devstack install setting
Screen support has been completely removed from devstack.
So we should remove this setting.

Change-Id: I574b5d5020edc87cebcc9e10daa9a12a493f9039
2017-09-26 16:27:29 +08:00
Stephen Finucane 88c31c8077 doc: Further cleanup of doc contributor guide
Change-Id: I03f00876fd8a51af487b18b8eb3f53454f81f0a2
2017-09-15 10:44:27 -06:00
Jenkins 8a1a7c1531 Merge "Amend the code review guide for microversion API" 2017-09-08 18:12:20 +00:00
Andreas Jaeger 4e6eec5c9b Fix broken URLs
Fix broken nova URLs that linked to the old developer/nova places and
use the new link instead.

Change-Id: Ideb50626e140201dded19fc82584440f1a407e47
2017-09-07 15:42:31 +02:00
Takashi NATSUME 7506ffed52 Update contributor guide for Queens
TrivialFix
Change-Id: Ia72ffc571041000deeea31229438c434005a5515
2017-09-07 13:15:30 +09:00
zhangbailin 582d16e51b Replace http with https for doc links in nova
Update doc links according to OpenStack document migration,
Use https instead of http for docs links, and update.

Change-Id: Ia4c58ffd799444b939175603bdf511622def75cc
2017-09-05 02:43:08 -07:00
Jenkins 6a70fd9749 Merge "doc: code review considerations for online data migrations" 2017-08-22 17:05:44 +00:00
Jenkins f34e8421ee Merge "doc: Address review comments for contributor index" 2017-08-21 20:06:01 +00:00
Jenkins f28da08a1b Merge "Fix contributor documentation" 2017-08-17 04:55:56 +00:00
Jenkins 029c42243f Merge "Add documentation for documentation contributions" 2017-08-16 19:54:35 +00:00
Ken'ichi Ohmichi 547725946b Fix contributor documentation
There are some small comments on the review of
Ib2b49f70c55311195535a5ef250ff555e227fa0a
This is a follow-up for these comments.

Change-Id: I1d2d95a0864578161a34084db31eb460e895c1ec
2017-08-16 10:20:12 -07:00
Takashi NATSUME fe933acfc8 Amend the code review guide for microversion API
A new patch for the microversion API change in python-novaclient side
should be submitted before the microversion change in Nova is merged.

Change-Id: Ie8868a2e767825e08ae4a2e1bfffa7b3fbfb7273
2017-08-16 20:18:29 +09:00
ghanshyam 796f3036c2 Update api doc with latest updates in api framework
api.rst has many stale information now as we have done
many changes in api framework specially removal of
stevedore extensions loading and plain routing.

This commit modify this doc to reflect latest information
and remove v2 specific info which are no longer valid.

Note- in next part we will merge api_2.rst in this doc and
show 'adding api method' step by step.

Change-Id: I0628d8fa0b19c3fb09f1896402fc85dcae90916f
2017-08-15 07:02:40 +00:00
Stephen Finucane 3fcf82b32b doc: Address review comments for contributor index
Per comments in If5e7940ddd0ae3316f7475742c02abfe3df28ac4.

Part of bp: doc-migration

Change-Id: Ide8921b0d891a65212bc2173e0113f4ce00f50b0
2017-08-09 15:30:40 -04:00
Sean Dague 54529f03c9 Add documentation for documentation contributions
Missing from our contributor guides is documentation guidelines,
starting a page there for now especially as there are a couple of
things that emerged in the great pike import that would be good to
write down.

Part of bp: doc-migration

Change-Id: Ib2b49f70c55311195535a5ef250ff555e227fa0a
2017-08-09 11:20:12 -04:00
Sean Dague ad69d0507f Add For Operators section to front page
This attempts to reorganize the front page content relevant to
operators into digestable chunks, including some summaries of links to
explain to people why they might want to follow those links to learn
more.

Part of bp: doc-migration

Change-Id: I6815958b2533d462a2e5d27e7be57440d9f4f40a
2017-08-08 15:21:02 -04:00
Matt Riedemann 8ab41c83a8 doc: code review considerations for online data migrations
Online data migrations that move something from the cell database
to the API database typically create new things in the API DB and
on a query, look in the API DB first and then fallback to the cell
database. We started supporting multiple cells in Pike, so any online
data migrations that move things to the API DB after that will need
to be multi-cell aware for the fallback lookup code.

This just adds a reminder in the code review guide.

Change-Id: If0d7d9b80e336b696aaf87ec13ac18daa1068357
2017-08-08 15:06:17 -04:00
Sean Dague b9efc9d641 Create reference subpage
In an attempt to make the main navigation sidebar not be visual mud
(and really confusing) create a reference sub page that explains all
the references.

Part of bp: doc-migration

Change-Id: I005fc24e49487631d7fe73cb498c61619bcaac9d
2017-08-08 12:28:50 +00:00
Sean Dague a5acc83c21 Add Contributor Guide section page
In order to wrangle together a top level TOC that makes sense, stop
including everything in the TOC (ideally we could convince sphinx to
not warn on that).

This creates a Contributor Documentation landing page with deep links
to all the relevant documents. It removes all those links from the
front page, and the TOC. They can be found by deep links or search,
and it is a less confusing initial experience for folks.

Part of bp: doc-migration

Change-Id: If5e7940ddd0ae3316f7475742c02abfe3df28ac4
2017-08-04 10:51:15 -04:00
Sean Dague 12c0a66657 Fix list rendering in code-review.rst
Sub lists have to be indented exactly 2 additional spaces from their
parent, otherwise it is treated as a blockquote, which isn't what we
want.

Part of bp: doc-migration

Change-Id: Iab46b5e39e4bd0d154f33dc795f24362c77a88a5
2017-08-03 07:45:25 -04:00
Sean Dague ce53afce8c Fix lists in process doc
A lot of our rst was actually misformatted with extra spaces indenting
the bullet lists. This wasn't very visually noticable in the
oslosphinx theme, but it's really bad in the new theme. There will
need to be lots of fixes here, but will do them one page at a time.

Part of bp: doc-migration

Change-Id: Ic1d1383148b005b884fdfa3e9a9658adcb13ee70
2017-08-03 07:29:51 -04:00
Stephen Finucane ef9cbc0017 doc: Populate the 'user' section
Per the spec [1]:

  user/ – end-user content such as concept guides, advice, tutorials,
  step-by-step instructions for using the CLI to perform specific tasks,
  etc.

The remaining content all ends up in here.

[1] specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration

Change-Id: I480eee9cd7568efe2f76dd185004774588eb4a99
2017-07-18 15:41:20 +01:00
Stephen Finucane 83e7763518 doc: Populate the 'reference' section
Per the spec [1]:

  reference/ – any reference information associated with a project that
  is not covered by one of the above categories. Library projects should
  place their automatically generated class documentation here.

There are a couple of documents that focus on nova internals, but won't
necessarily be applicable to user. These are moved here.

[1] specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration

Change-Id: I94614c2383329e1fbed60d9c5aca3fab5170ef8f
2017-07-18 15:41:20 +01:00
Stephen Finucane a2165cf651 doc: Populate the 'contributor' section
Per the spec [1]:

  contributor/ – anything related to contributing to the project or how
  the team is managed. Applies to some of the current content under
  /developer, we are changing the name to emphasize that not all
  contributors are developers and sometimes developers are users but not
  contributors.

We currently have a handful of docs that focus on the "how to develop or
contribute" aspects of nova, and these are moved. Docs that focus on
architecture or design decisions for nova are not moved, as these will
go into 'reference'.

A TODO is added to the former 'api_plugins' document as it's mega
out-of-date and needs some serious work.

[1] specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration

Change-Id: Iad770688b4eafeb9caa710b4398b02d80a017a70
2017-07-18 15:41:19 +01:00