| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
|
|
|
| |
Add pbr to the list of installation requirements so that it is installed
via pip before this library is installed, instead of with easy_install.
This avoids issues like Bug #1384919, and ensures that projects that use
this library as a dependency are properly installed.
Change-Id: I6c155370dbd01fe4748d5137bdf288e8d3e1a67e
|
|
|
|
| |
Change-Id: Ia8e3281f6aa373a60b99036b9cd25ade58793e87
|
|
|
|
|
| |
Change-Id: I2fb6d6174cf8b73ee663efa6718f4358be673869
Partial-Bug: #1229324
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).
Change-Id: I99b5c30b7d7feb00eed1c9b4c7c8a0df4e41da84
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Adding a group name to prevent collision with keystone
middleware library option
* Adds an opts module for the config generator to use.
* Makes the option in sizelimit private since we don't want consumers
using them directly.
* Moves the options to an oslo_middleware group with appropriate
deprecated_opts settings to keep existing configs working.
Closes-Bug: #1368490
Change-Id: I72263bd363a79275a314de727a04277276866565
|
| |/
|/|
| |
| | |
Change-Id: I99c6b951c8b6992a442b194ad480ca0418def520
|
|/
|
|
|
|
|
| |
Add coverage to test-requirements so that tox-e cover works - this
is part of the post jobs that are run.
Change-Id: Id919bdb861447c0f018df64d9a0f5e44c0cc2351
|
|
|
|
| |
Change-Id: I2c7031426d916c7f2117357a20d0d4ae6fde9bf6
|
|
|
|
| |
Change-Id: I4e3d80607017822b5aebf316595ea1497e46706b
|
|
|
|
| |
Change-Id: I9dab787a11f6cf22b7ab57ee0fce2333ec0de43d
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I23cb59c1774b07842ac8853f3c104adfddd2c25b
|
|/
|
|
| |
Change-Id: Idb5c8659e684a6175e1dcc85a1c7b4342597a6d6
|
|
|
|
| |
Change-Id: I6ba0a580547d52534517c50a2367ee111d0f0aef
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To start translation, we need to initially import the
translation file - and place it at the proper place so that
the usual CI scripts can handle it.
The proper place is for all python projects
$PROJECT/locale/$PROJECT.pot - see setup.cfg.
Further imports will be done by the OpenStack Proposal bot.
Change-Id: I29b9fe0c286d1f54c260bff0569ea3e4e8092c3c
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I69f453e0e32491cd37d60c978b88d4b35b839d7f
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Addresses-Bug: #1365061
|
|/
|
|
|
|
|
|
|
|
| |
Ensure each exported class has a docstring.
Add API to the sphinx docs.
Fix a few formatting issues so the rendered docs look OK.
Change-Id: Ieef7bae3783a084249169fe9b80ab17518eee15f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
allow middleware to be called through oslo.middleware rather than
through module.
Change-Id: Iee535002a3bed221f85e97fb10528fbb9234dcb1
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
as discussed in bp, we should drop the middleware suffix in class
names to avoid redundancy.
Change-Id: I60e1e84e817e24be9ad1d31381df95c93f7b7990
|
|/
|
|
|
|
|
| |
we're missing sphinx requirements that are blocking doc tests. this
patch adds this in so we can pass check
Change-Id: Ieba4da849ce8abea10a3298df23a0b2145a0bd2e
|
| |
|
|\
| |
| | |
Fixed syntax of the HACKING.rst file
|
| | |
|
|\ \
| | |
| | | |
Enable hacking check H305
|
| |/
| |
| |
| |
| | |
Hacking check H305 should not be ignored. It's used in other oslo
project.
|
|\ \
| |/
|/| |
Cleaning up index.rst file
|
|/
|
|
| |
Removed notes about the generation of the file and fixed the syntax.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed violations:
* E128 continuation line under-indented for visual indent
* E251 unexpected spaces around keyword / parameter equals
* E265 block comment should start with '# '
* E713 test for membership should be 'not in'
* F402 import shadowed by loop variable
* H305 imports not grouped correctly
* H307 like imports should be grouped together'
* H402 one line docstring needs punctuation'
* H703 Multiple positional placeholders
Also enabled H803 check that didn't have any violations.
Change-Id: I957ab273ddc61b02763d6b60b21d11ed4e73d472
|
|
|
|
|
|
|
|
|
|
| |
Modules moxstubout and mockpatch from openstack/common/fixture/
are obsolete, so we should use them from oslotest library.
Also oslotest depends on mock and mox, so we no longer need
to specify them directly in test-requirements files
Change-Id: I139133457cd73ee83537dead3446ee30d0ee5589
|
|
|
|
|
|
|
|
|
|
| |
Follow oslo.config style guide for help strings better to create
more consistent help strings:
* Capitalize first word of each help string
* Finish help strings with "."
* Improve wording, capitalization
Change-Id: Ia9698807430d8b6b0862dfb8a7f8874703a88ff1
|
|
|
|
|
|
|
|
| |
Module openstack.common.test is obsolete, so we should use
oslotest library instead of it.
Modified tests and common database code, new requirement added.
Change-Id: I853e548f11a4c3785eaf75124510a6d789536634
|
|
|
|
|
|
|
|
|
|
|
| |
In the tests, use bytes for the request body, since that is what is used by
webob in Python 3.
In RequestBodySizeLimiter.__call__(), do not compare NoneType to an integer: it
is forbidden in Python 3. Instead, properly handle the fact that
req.content_lenght might be None.
Change-Id: I179997789b9e2fcd3f3326e4d724e547c807f195
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original version of the request_id middleware generates a request ID during
process_request() and stores the value in a variable, so it can be attached as
header in process_request(). This is pretty dangerous, since subsequent
requests will overwrite this value, and the wrong request ID may be attached to
some responses. This is particularly apparent when requests arrive in parallel.
This change replaces process_request() and process_response() with an override
of __call__(). This allows the generated req_id to be used in the response
header without needing to save it as a class-level variable.
Change-Id: I498859140ba113412c9d95d09f0c4c6b8650749c
Closes-bug: #1289696
|
|
|
|
|
|
|
| |
In Python 3, webob will return bytes, so we need to fix generate_request_id()
so that it also returns bytes. The behaviour is unchanged in Python 2.
Change-Id: I389cf20e4c999c9bb576a42388497852f8ba27ec
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the incubator code to use different domains for log
messages at different levels.
Update the import exceptions setting for hacking to allow
multiple functions to be imported from gettextutils on one
line.
bp log-messages-translation-domain
Change-Id: I6ce0f4a59438612ce74c46b3ee9398bef24c0c19
|
|
|
|
|
|
|
|
|
|
|
| |
These were initially noted during import into the manuals at
https://review.openstack.org/67502
Fixes include rework of text, missing or extra spaces, wrong
capitalization and no sentence style capitalization.
Change-Id: I56a47de73e0e494a6f770e29dae8065b398ef5af
Co-Authored-By: Diane Fleming <diane.fleming@rackspace.com>
|
|
|
|
| |
Change-Id: I6214b48923efe765dc87bc143fbb346efd0b17b3
|
|
|
|
|
|
|
| |
Instead of using # noqa every time gettextutils._ is used, add an
exception in tox.ini
Change-Id: Iafa8509a38596aac791bd809283f3bd75c638a60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature of the proposed middleware is simple:
* Generate request-id for each REST request
* Set the generated request-id to request environment
* Add X-OpenStack-Request-Id header to API response to return request-id
blueprint middleware-request-id
Note that to use this middleware with Context, we need to change
auth middlware so that request-id will be retreived from request env.
Change-Id: Ic7967cd62e7b743343d70f751b9238339171e013
|