Commit Graph

4589 Commits

Author SHA1 Message Date
Tony Breeds 322537e058 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: Id9f3cc222d06698d89108bd6c3d98bebcde287dc
2017-09-12 16:08:04 -06:00
OpenStack Proposal Bot b65e47382e Updated from global requirements
Change-Id: Idcb316cdf7faf45b5e447c9716b5eb6a84644288
2017-07-18 01:55:13 +00:00
Jenkins ca9423b43b Merge "Update URLs in documents according to document migration" 2017-07-14 00:29:47 +00:00
Jenkins 15ca1e389a Merge "Fix the object is unhashable when inheriting the class "ComparableVersionedObject"" 2017-07-13 11:36:17 +00:00
ChangBo Guo(gcb) 02531ea9e4 Update URLs in documents according to document migration
Change-Id: I4aba61ee6e6b27e9b1e49adcc3a55c857211ad1b
2017-07-13 10:00:49 +08:00
Jenkins 578b23b642 Merge "Add unit test for unicode in object __repr__" 2017-07-12 01:08:07 +00:00
Jenkins ffb349f9d3 Merge "rearrange existing documentation to fit the new standard layout" 2017-07-11 07:19:25 +00:00
ChangBo Guo(gcb) 36539df232 Add unit test for unicode in object __repr__
This adds a unit test for the behavior when an object has a unicode
string field. If on python 2, the repr is encoded to the default
encoding (ascii) before being returned. This is to ensure calls like
str(obj_repr) will work under python 2.

This patch also adjusts logic to make the code compatbile for Python 4.

[1] http://astrofrog.github.io/blog/2016/01/12/stop-writing-python-4-incompatible-code/

Co-Authored-By: melanie witt <melwittt@gmail.com>
Change-Id: I65dd271ac2198b384d201349607e74992c447f75
2017-07-11 04:21:46 +00:00
Guoshuai Li c4d7b10e5c Fix the object is unhashable when inheriting the class
"ComparableVersionedObject"

In python3, A class that overrides __eq__() and does not define
"__hash__()" will have its __hash__() implicitly set to None.
This will cause the set method to unhashable failed.
https://docs.python.org/3/reference/datamodel.html#object.__hash__

Change-Id: I21685303e9bd233241b7b4216e3feb7bdaecc0a4
Closes-Bug: #1687592
2017-07-07 02:00:02 +00:00
Jenkins dcb1c05919 Merge "Remove pbr warnerrors in favor of sphinx check" 2017-07-06 04:19:46 +00:00
Akihiro Motoki bdcce8b8ad rearrange existing documentation to fit the new standard layout
Minor formatting improvements found during the document check
are also done.

Change-Id: I55d582100c40961a5b0f5ec4b2ea9a55f2d8d8a1
2017-07-01 21:02:49 +09:00
Akihiro Motoki 464c9b62b8 switch from oslosphinx to openstackdocstheme
Change-Id: Ieadb6ebd1b2714a07cc5c479a1c13da43c95fabc
2017-07-01 21:02:48 +09:00
Akihiro Motoki a2a65ac0a9 Enable warning-is-error in doc build
pbr warnerrors is no longer needed.

Change-Id: I0268962ab4856e8234a7218f961dfb9b2a59ee0d
2017-07-01 21:02:47 +09:00
OpenStack Proposal Bot ec05ef405d Updated from global requirements
Change-Id: Ia1292c7e5a7e93e411fb9293bbb76994c7c308d7
2017-06-27 12:20:40 +00:00
OpenStack Proposal Bot 0600004f1a Updated from global requirements
Change-Id: I1afb73e388062281a9932b51fed1c3a892d81c24
2017-06-15 16:33:22 +00:00
Vu Cong Tuan 6ae644370e Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting,
which is replaced by "warning-is-error" in sphinx
releases >= 1.5 [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/
2017-March/113085.html

Change-Id: I3f558a5bbb5c536c26929e9e6d79628a7e377a9a
2017-06-12 08:50:13 +07:00
OpenStack Proposal Bot 9926c0f9fa Updated from global requirements
Change-Id: I5baf1afe94f75ad126be61c0271f830be88e10db
2017-06-03 13:13:54 +00:00
OpenStack Proposal Bot 3266e30b86 Updated from global requirements
Change-Id: Iffd9930d1fb299baaaefa32347f335aec450e97c
2017-06-02 02:35:27 +00:00
OpenStack Proposal Bot 1807666b1e Updated from global requirements
Change-Id: Ic961841337fae18299f186ced5db03a034fd89cd
2017-05-26 17:27:53 +00:00
OpenStack Proposal Bot 04e03c242f Updated from global requirements
Change-Id: Ic1c4b9e40a40a01e16bee59191435f6cad15ef34
2017-05-23 11:58:22 +00:00
Jenkins a94c060e49 Merge "Updated from global requirements" 2017-05-21 15:14:43 +00:00
Takashi NATSUME f69bb43453 Fix string interpolation in ValueError
Fix string interpolation and misuse of
log marker function in ValueError.

Change-Id: Ief34fbf75a28c46b95c08a4d7ae2cb831607a05b
Closes-Bug: #1684771
2017-05-19 15:54:39 +09:00
OpenStack Proposal Bot ba00a61739 Updated from global requirements
Change-Id: I786194ae5640b3f22cf19375d7917cc96fed5da7
2017-05-17 03:56:59 +00:00
OpenStack Proposal Bot 9f4da6b2b5 Updated from global requirements
Change-Id: I65cb89dbb0d4962dc3b18880f608f52754af4221
2017-05-15 00:53:17 +00:00
OpenStack Proposal Bot cd613cf0b4 Updated from global requirements
Change-Id: Icb298b7f4e694ef543f297d21ae804ccab5fc69f
2017-04-01 15:32:02 +00:00
Joshua Harlow d0376d8e3b Start adding some basic ovo examples (with an initial basic one)
Co-Authored-By: ChangBo Guo(gcb) <eric.guo@easystack.cn>

Change-Id: Ibc847e83332ee1a4b722b3b7d06bd7f4e8c1c565
2017-03-15 23:27:13 +08:00
OpenStack Proposal Bot 1c6361e863 Updated from global requirements
Change-Id: Idb459305868af9f416e4f61885b46a7ee5727da9
2017-03-15 05:18:41 +00:00
OpenStack Proposal Bot cd3573ea1f Updated from global requirements
Change-Id: I285fef08182902a7b42f9eff7754859198d1b46b
2017-03-03 00:03:27 +00:00
ricolin 40ecb9e20e [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I1af28a757450789f0f523847831b42e016f785fd
2017-03-02 18:30:36 +08:00
OpenStack Proposal Bot a70f76cfd5 Updated from global requirements
Change-Id: Idab00464bc9b4fd1811dfd1238169250ec97041e
2017-02-10 09:48:44 +00:00
Jenkins 80a9662f0c Merge "Remove support for py34" 2017-02-10 02:09:34 +00:00
gengchc2 f1aca64625 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due
to the change from Ubuntu Trusty to Xenial, where only python3.5
is available. There is no need to continue to keep these settings.

Change-Id: Ic93146804d55e98c80733b2f14cde36908a42bc2
2017-02-08 17:37:05 +08:00
Jenkins bc6b75b30b Merge "Change Object schema type to be array instead of string." 2017-02-07 03:45:48 +00:00
Jenkins e484ffbe1e Merge "fields: fix stringifying of objects when subclasses=True" 2017-02-07 03:45:43 +00:00
OpenStack Release Bot c20c406533 Update reno for stable/ocata
Change-Id: I7bcb03e8caf12c52a842dd01e97ed222d4626277
2017-01-20 19:16:03 +00:00
Jenkins 1d1932400d Merge "Replace six.iteritems() with .items()" 2017-01-02 21:26:37 +00:00
Julian Sy 526134585b Change Object schema type to be array instead of string.
This is done so that nullable Object field's schema can be given the null or
object type property.

implements bp json-schema-for-versioned-object

Change-Id: I43b04a76cccc9d4f893162535050fed6940bee6c
2016-12-20 21:43:56 +00:00
Tony Breeds 542e5b592a Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove oslo.versionedobjects.

Change-Id: I003cdce359e5d79a73f0c3f274765ad1f50bf3a4
2016-12-13 15:40:09 +11:00
gecong1973 49f5a9b00a Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can use
dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible,
see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: I6bf760e6f3db50696dc87230c444f9ed493615f0
2016-12-12 13:30:37 +08:00
OpenStack Proposal Bot 055b945f9b Updated from global requirements
Change-Id: I07070fcef0013e5ba6200ea973e3fade81255aa0
2016-12-07 13:38:39 +00:00
Jenkins 1d0de80f73 Merge "Fix get_schema() for Enum" 2016-12-05 13:24:28 +00:00
Jenkins 8799301ce8 Merge "Fix a typo" 2016-12-02 14:40:40 +00:00
Jenkins 3704c65df2 Merge "Show team and repo badges on README" 2016-12-01 19:41:12 +00:00
Jenkins 64fd31a445 Merge "Refactor get_schema for patterned FieldTypes" 2016-11-29 20:16:02 +00:00
gecong1973 ada694753f Fix a typo
TrivialFix

Change-Id: I9274d0b887ebbfed766d31b4fab51929be5715db
2016-11-28 17:20:18 +08:00
Flavio Percoco b0b3235a25 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/8b3292fecd998dd2e947fa3bcae78cd2\n'

Change-Id: I4852d210dfb60a81bb31a448b7e209862ea95d5f
2016-11-25 15:19:45 +01:00
OpenStack Proposal Bot 542810018f Updated from global requirements
Change-Id: I945c73c4cf2fcd4f8666efd6488f5747ec22962f
2016-11-09 23:03:20 +00:00
Jenkins 39099b3251 Merge "Fix recursive deepcopy" 2016-11-09 18:36:58 +00:00
ChangBo Guo(gcb) 71de5fd023 Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Closes-Bug: #1634356

Change-Id: Iac926d87064af92ea7e2e8eb24c72effca2641bc
2016-11-03 14:43:46 +08:00
Daniel P. Berrange 2e0d4b0539 fields: fix stringifying of objects when subclasses=True
When the 'Object' field stringifys a value, it is
currently hardcoded to report the object name that
the field was initialized with. This used to be
sufficient, until the 'subclasses' parameter was
added. When subclasses=True, the value may be any
arbitrary subclass, so we should be reporting the
actual object name associated with the value.

Closes-Bug: #1638577
Change-Id: I0bb4ade30a60554710a12f0f058945ef43826eff
2016-11-02 14:16:26 +00:00