Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenStack
oslo
python-oslo.versionedobjects
Commits
ffb349f9
Commit
ffb349f9
authored
Jul 11, 2017
by
Jenkins
Committed by
Gerrit Code Review
Jul 11, 2017
Browse files
Merge "rearrange existing documentation to fit the new standard layout"
parents
dcb1c059
bdcce8b8
Changes
17
Hide whitespace changes
Inline
Side-by-side
CONTRIBUTING.rst
View file @
ffb349f9
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
http://docs.openstack.org/infra/manual/developers.html
http://docs.openstack.org/infra/manual/developers.html
Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
the workflow documented at:
http://docs.openstack.org/infra/manual/developers.html#development-workflow
http://docs.openstack.org/infra/manual/developers.html#development-workflow
Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub:
https://bugs.launchpad.net/oslo.versionedobjects
https://bugs.launchpad.net/oslo.versionedobjects
doc/source/
opts
.rst
→
doc/source/
configuration/index
.rst
View file @
ffb349f9
File moved
doc/source/contribut
ing
.rst
→
doc/source/contribut
or/index
.rst
View file @
ffb349f9
...
...
@@ -2,4 +2,4 @@
Contributing
==============
.. include:: ../../CONTRIBUTING.rst
.. include:: ../../
../
CONTRIBUTING.rst
doc/source/history.rst
deleted
100644 → 0
View file @
dcb1c059
.. include:: ../../ChangeLog
doc/source/index.rst
View file @
ffb349f9
...
...
@@ -13,29 +13,18 @@ upgrade compatibility across distributed services.
* Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects
* Bugs: http://bugs.launchpad.net/oslo.versionedobjects
Contents
========
----
.. toctree::
:maxdepth: 2
installation
api/index
usage
examples
opts
contributing
install/index
user/index
configuration/index
reference/index
contributor/index
Release Notes
=============
.. toctree::
:maxdepth: 1
history
Indices and tables
==================
.. rubric:: Indices and tables
* :ref:`genindex`
* :ref:`modindex`
...
...
doc/source/install
ation
.rst
→
doc/source/install
/index
.rst
View file @
ffb349f9
File moved
doc/source/
api
/base.rst
→
doc/source/
reference
/base.rst
View file @
ffb349f9
File moved
doc/source/
api
/exception.rst
→
doc/source/
reference
/exception.rst
View file @
ffb349f9
File moved
doc/source/
api
/fields.rst
→
doc/source/
reference
/fields.rst
View file @
ffb349f9
File moved
doc/source/
api
/fixture.rst
→
doc/source/
reference
/fixture.rst
View file @
ffb349f9
File moved
doc/source/
api
/index.rst
→
doc/source/
reference
/index.rst
View file @
ffb349f9
=====
API
=====
=====
========
API
Reference
=====
========
.. toctree::
:maxdepth: 2
...
...
doc/source/examples.rst
→
doc/source/
user/
examples.rst
View file @
ffb349f9
...
...
@@ -9,7 +9,7 @@ IOT lightbulb
Full source located at :example:`iot_bulb`.
.. literalinclude:: ../../oslo_versionedobjects/examples/iot_bulb.py
.. literalinclude:: ../../
../
oslo_versionedobjects/examples/iot_bulb.py
:language: python
:linenos:
:lines: 14-
...
...
doc/source/user/history.rst
0 → 100644
View file @
ffb349f9
.. include:: ../../../ChangeLog
doc/source/user/index.rst
0 → 100644
View file @
ffb349f9
===========================
Using oslo.versionedobjects
===========================
.. toctree::
:maxdepth: 2
usage
examples
.. history contains a lot of sections, toctree with maxdepth 1 is used.
.. toctree::
:maxdepth: 1
history
doc/source/usage.rst
→
doc/source/
user/
usage.rst
View file @
ffb349f9
File moved
oslo_versionedobjects/base.py
View file @
ffb349f9
...
...
@@ -1129,7 +1129,7 @@ def obj_tree_get_versions(objname, tree=None):
level object with other objects as fields. It walks the tree recursively
to determine all the objects (by symbolic name) that could be contained
within the top-level object, and the maximum versions of each. The result
is a dict like:
is a dict like:
:
{'MyObject': '1.23', ... }
...
...
oslo_versionedobjects/fields.py
View file @
ffb349f9
...
...
@@ -1036,7 +1036,7 @@ class UUIDField(AutoTypedField):
your own objects/fields.py
:Example:
.. code-block:: python
.. code-block:: python
import oslo_versionedobjects.fields as ovo_fields
...
...
@@ -1049,8 +1049,8 @@ class UUIDField(AutoTypedField):
class UUIDField(ovo_fields.AutoTypedField):
AUTO_TYPE = UUID()
and then in your objects use
``<your_projects>.object.fields.UUIDField``.
and then in your objects use
``<your_projects>.object.fields.UUIDField``.
This will become default behaviour in the future.
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment