511 Commits

Author SHA1 Message Date
ChangBo Guo(gcb)
92772b403f Update URLs in documents according to document migration
Change-Id: I42b34fbc19d3f895b0260bedf06b9cae0d27338b
2017-07-12 22:22:54 +08:00
Doug Hellmann
a04f5f10e1 switch from oslosphinx to openstackdocstheme
Change-Id: Ieadf9b992b269d54dd9c79523d5879b6ad71ba7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-11 13:49:58 -04:00
Doug Hellmann
6933cc5cbc turn on warning-is-error for sphinx
Change-Id: I6267ccf0581fe72f20118856ec4309caed55f05f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-11 13:49:30 -04:00
Doug Hellmann
9014fdd8d4 rearrange existing documentation to follow the new layout standard
Change-Id: I79d7b97c7e9395f75fa158d870485853418a4db7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-11 13:49:30 -04:00
Jenkins
9d6ba40bd5 Merge "Check reStructuredText documents for common style issues" 2017-07-11 05:55:49 +00:00
ZhongShengping
08b4e1c94d Check reStructuredText documents for common style issues
Change-Id: Ib07b12e376d5c89c04ad525c75228d14e6595614
2017-07-11 02:39:30 +00:00
OpenStack Proposal Bot
3b6feda876 Updated from global requirements
Change-Id: I7db5f2e87abe16fa39d41749935bb4477a43da58
2017-07-11 02:39:14 +00:00
Yuriy Taraday
ef7bfd5771 Check for SubprocessError by name on Python 3.x
With eventlet SubprocessError raised by Popen seem to have different
class from subprocess.SubprocessError accessible from test.
I don't have proper solution for this, it seems somewhere old
SubprocessError is cached and then eventlet overrides it, so it is not
visible from test method context. This workaround seems to be good
enough to unblock gate.

Change-Id: If5ae0911e14671e05aca5e393c5cc183b72703d6
Closes-Bug: #1688201
2017-06-29 16:12:12 +04:00
OpenStack Proposal Bot
555af4b91b Updated from global requirements
Change-Id: Ia8724dde541b199dcdcacab866b4b93272a25641
3.20.0
2017-03-13 19:39:47 +00:00
gecong1973
dd2ef6f565 Using fixtures.MockPatch instead of mockpatch.Patch
This module has been deprecated in favor of fixtures.MockPatch.

Change-Id: Iee59fa82e727e0575e8b6b6afe042231aa8fa5b8
2017-03-09 14:45:42 +08:00
OpenStack Proposal Bot
998c12a34a Updated from global requirements
Change-Id: Ib8a380982a5eb32fc18150987d97c3f067cdc858
3.19.0
2017-03-03 00:02:48 +00:00
ricolin
5c58a04732 [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: I6067710f787cdf213942ace53890d22ee691bd02
2017-03-02 18:26:21 +08:00
OpenStack Proposal Bot
ce937b6a45 Updated from global requirements
Change-Id: I3dead32d0b34a484e0857b3cddd4bf3174066c28
2017-02-10 05:57:28 +00:00
Jenkins
69fc4edd32 Merge "Remove support for py34" 2017-02-09 09:15:02 +00:00
gengchc2
cf3f64152e 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: I69fedf01df329ab2f60c4b2583ac5541debeeee4
2017-02-08 16:48:09 +08:00
Jenkins
2787a37054 Merge "pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)" 2017-02-07 03:00:39 +00:00
Davanum Srinivas
44cf9e16f9 pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
We need to pass into VersionInfo what one would expect from running:
 setup.py --name

 Right now we pass in say oslo_context and pbr fails if there is no .git in
  the python source tree

  Closes-Bug: #1662266

Change-Id: I6bb3594ad625e0538cc8c654d679886b8302719a
2017-02-06 12:49:22 -05:00
89ed46dc7e Update reno for stable/ocata
Change-Id: I8505c756222d7c58d6d29fea2685f385dfee262f
2017-01-20 19:15:13 +00:00
Davanum Srinivas
7afbc993f0 Automatically convert process_input to bytes
On py35, if process_input is a string we end with an Error:
TypeError: memoryview: a bytes-like object is required, not 'str'

A whole lot of code in os-brick/cinder/neutron currently need
to be fixed. Hardest problem is tracking down every instance of
this problem and trying to test/fix it at source. See example
of cinder/os-brick/oslo.rootwrap/oslo.privep code problem here:
http://logs.openstack.org/43/418643/2/check/gate-rally-dsvm-py35-cinder-nv/6efa7b5/logs/screen-n-cpu.txt.gz?level=ERROR

It's just better to fix it in one spot and pass the correct
thing to subprocess.communicate

Change-Id: I88d1510a7ba4c020f73452f0b80e996c22b1edf1
3.18.0 3.17.0
2017-01-12 14:07:26 -05:00
Tony Breeds
cda2474b8f 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.concurrency.

Change-Id: Ic887ce8e220df6b87d823490dfb14894935cac61
2016-12-20 14:35:31 +11:00
Flavio Percoco
cbd05f4ef5 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/c05e5ae8515d9cf02814a415f26db4d2\n'

Change-Id: I97e7bbe8e0eedf5db5d99657131e0433fb2802c0
2016-11-25 15:24:07 +01:00
OpenStack Proposal Bot
3f08e9c215 Updated from global requirements
Change-Id: I8a42bd24d92d0e75ed8d192cc9b23833f8de2ce8
3.16.0
2016-11-09 04:22:39 +00:00
OpenStack Proposal Bot
454b30debd Updated from global requirements
Change-Id: Id18166d7f659dc601d4fecca1e382c93fd68f987
2016-11-06 02:05:37 +00:00
Jenkins
bf819f48cc Merge "Updated from global requirements" 2016-11-02 19:29:45 +00:00
OpenStack Proposal Bot
29c62bfedc Updated from global requirements
Change-Id: I5f0339656211a7aebc2941f5aa865e6afb6b9d5b
2016-11-02 15:39:01 +00:00
OpenStack Proposal Bot
c28976c925 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I69e37304aa12c92ec5fe645ec1425784c3e26d42
2016-10-26 08:21:50 +00:00
Jenkins
7066039a1b Merge "[TrivialFix] Replace 'assertTrue(a in b)' with 'assertIn(a, b)'" 2016-10-25 16:32:42 +00:00
Gevorg Davoian
0d8c71a9c3 Remove unnecessary requirements
Change-Id: I84cb68878ff929b5160d00b4353391dbfbf52347
2016-10-22 21:45:41 +03:00
howardlee
393e74653b [TrivialFix] Replace 'assertTrue(a in b)' with 'assertIn(a, b)'
Change-Id: Ib61f2f2c695f79c8eb0fa47a2d2d1bc66ccaeb7f
2016-10-21 15:00:37 +08:00
melissaml
9f1c2f01f0 Changed the home-page link
Set the correct link for home-page.

Change-Id: I535808010ddfeb5b58efd11567820c52bd6ce58c
3.15.0
2016-10-16 20:31:51 +08:00
Jenkins
56c27b74bb Merge "Enable release notes translation" 2016-10-12 11:10:37 +00:00
gecong1973
7a4d633ba6 Change assertTrue(isinstance()) by optimal assert
Some of tests use different method of
assertTrue(isinstance(A, B)) or assertEqual(type(A), B).
The correct way is to use assertIsInstance(A, B) provided
by testtools

Change-Id: Iad2ee275837c28b40c1062386db5a29969ee98dc
2016-10-08 09:30:32 +08:00
Andreas Jaeger
f4f908813b Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I6fd9f1265f05a5d4e44355def5a6519a8021e25d
2016-10-06 20:41:46 +02:00
Jenkins
14f103960e Merge "Ignore prlimit argument on Windows" 2016-10-02 01:43:15 +00:00
Lucian Petrut
70ff551105 Ignore prlimit argument on Windows
The built in 'resource' module is used in order to apply process
resource limits. This is not available on Windows.

For the moment, we'll ignore this argument and log a warning
message. In the future, we may provide a portable implementation
for this feature.

Change-Id: I6a82916eb68fbf8737b45a65f71cae1f835d12d1
Closes-Bug: #1627766
2016-09-29 21:10:34 +03:00
OpenStack Proposal Bot
5063e92634 Updated from global requirements
Change-Id: Ife80bde19a9b6fc6ea57f961bf4b75b0ca7d634e
2016-09-28 16:59:27 +00:00
OpenStack Proposal Bot
0ad82466e5 Updated from global requirements
Change-Id: I5e5ead5f3adf9f3555233fac4f17fa1a6f9d0046
2016-09-27 10:06:14 +00:00
Doug Hellmann
e27945cc88 Update reno for stable/newton
Change-Id: I995a3f604b4520a87444f444e58d17fe99ef26df
2016-09-02 00:08:06 +00:00
OpenStack Proposal Bot
ebd39214b5 Updated from global requirements
Change-Id: Iaef3d3ff7c565991ed4eaf00a8ee2bdfe80c2347
3.14.0
2016-08-13 01:36:26 +00:00
Denis Buliga
3c46e8f776 Fix external lock tests on Windows
At the moment, those tests use fcntl to acquire file locks, which
will fail on Windows.

This change addresses this issue by adding some platform checks,
using the appropriate functions when handling file locks. Note that
we've avoided running private methods from fasteners.

Also, we now avoid using os.fork, which won't work on Windows.
Instead, we spawn new processes using multiprocessing.Process, using
queues for communication between processes.

Change-Id: I9839b9033c814280f6d1b53c5ed2643fd2bf8bf8
2016-08-08 19:13:44 +03:00
OpenStack Proposal Bot
2e8d5481b1 Updated from global requirements
Change-Id: I2e9ff687f0408795147e5b8c4769aa3a21fa87bd
3.13.0
2016-07-29 02:33:45 +00:00
yanheven
0c3a39eded Fix parameters of assertEqual are misplaced
Many assertEqual sentences don't follow assertEqual(expected, actual),
These misplaces have 2 impacts:
1, giving confusing messages when some tests failed.
2, mislead other developers, new test modules may follow these wrong pattern.

This patch fix all of them.

Change-Id: I00bb4801c208d0eb8078e8a34ae52f9bcfe0b1a6
Closes-Bug: #1604213
2016-07-23 01:12:19 +08:00
ChangBo Guo(gcb)
e9a0914493 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv. This commit also removes py34 specific venv.

Change-Id: I50ddda7d96c77e7db60aa0b42e8e3b701dadf404
2016-07-14 12:23:14 +08:00
OpenStack Proposal Bot
f7821d9cdb Updated from global requirements
Change-Id: I40bc3ca015baff9c95499d395168a41eef1d3499
3.12.0
2016-07-09 19:25:43 +00:00
OpenStack Proposal Bot
68df6b2847 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I3657f625009612562b2a40e7295089cf54151846
2016-07-01 08:12:51 +00:00
OpenStack Proposal Bot
f13a21ce94 Updated from global requirements
Change-Id: I75f0c00c84523ac027b9f68e3980d7de2815ee02
2016-06-30 18:48:12 +00:00
OpenStack Proposal Bot
ec7be5293e Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I324acd475c84727b21aa9905c1184add135eb0cd
3.11.0
2016-06-11 07:59:54 +00:00
OpenStack Proposal Bot
4c60f8e984 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ifa683e2c40e33c05a4b6f6be514bb8a879179ee8
3.10.0
2016-06-04 07:08:30 +00:00
OpenStack Proposal Bot
bbcb1adeea Updated from global requirements
Change-Id: Ia49ba770943fee9f3e74cf860a2f77a7a3c14ae6
2016-06-03 18:17:49 +00:00
Kirill Bespalov
9a36c18b12 Add reno for releasenotes management
An initial patch to add reno and create a base directory for
release notes

Change-Id: Ie3f6653a27a49d8b2fced3f399b1d4c8f0c95b7c
2016-05-20 17:56:23 +03:00