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: I9df787b33aa77024eeaa742be30f582c6dd836a4
Instead of needing to convert this from a list
to a tuple on every property access just keep the
internal split collection as a tuple in the first
place (this saves time on every access of it).
Change-Id: I7d216394a2dbb49aa8e6ed3705090bac29171907
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate the
setting from the old warnerrors one.
There are two issues:
- The `*` character is recognized as an emphasis character and must be
escaped
- The index references modules that have since been removed
These are resolved.
Change-Id: Id078022c0f75bf8f162b693d260f67116eb6428b
- To ensure comparison is done on binary data
The method would first check if the 2 hmacs are a python
`six.stringtype`. If they are, they would be encoded using
'utf-8' as the encoding scheme to binary data.
Change-Id: Idf59f669087a39c30eee4e533899b95ede66e198
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: Iae0d1394c2596a9c188531015c950de6108c7acb
The current doc page for secretutils is blank [1], most likely because
of the way constant_time_compare is in the exception block.
This patch manually tells sphinx to doc the constant_time_compare
function. Also adds the oslo.utils version when the module was added.
[1]: https://docs.openstack.org/developer/oslo.utils/api/secretutils.html
Change-Id: Ic1fb15176c93f126826f568149cabf4b8e5450d8
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.
Change-Id: I275c60c1d5154ee7f2e7637a0cee15a83a7d077f
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.utils.
Change-Id: I612b881da465c96ee8200118f8f2b90ef2f02225
The keyword arguments fully_qualified and truncate_builtins
are useful to allow to be passed, and are meaningful to pass
along from this function to the `get_class_name` function so
let them be passed.
Change-Id: I0787bbaf209f3c223e72214d63e006cfc1d40866
Enable 'generate_uuid' function to generate uuid with dashes or not,
because some projects use uuid with dashes while some others not.
Change-Id: I6f213ea47de5713a79b5e0dccf486a7bba88f853
Verify that eventlet has actually been loaded and has patched the
thread module. Previously when checking against EVENTLET_AVAILABLE,
it would erroneously use the eventlet Event when eventlet was
installed, but not being used.
Change-Id: Ibb99ac2031a63268ba6e0d61065c2d4eff1e6997
In certain cases it is actually useful to have the
full module name for built-ins so make it possible
to not always truncate it.
Change-Id: Ifb9218054605c8952e3895b6b4d51552231c0476
This function has been shared at least kwapi and all Telemetry projects
including ceilometer, aodh, panko and gnocchi. As a generator, it produces
sequence of keypairs for nested dictionaries. It seems to be good moving it
to the common shared code.
So add an initial dictutils and tests for it.
Change-Id: Ibd7c2ce4ef9c2608910b26169a804eb463759c7f
inet_pton on linux is unable to parse scoped addresses,
so we handle them manually.
Change-Id: Ie9b9becf7d6b4de487140d1b8d2725d4ca42e191
Co-Authored-By: Dustin Lundquist <dustin@null-ptr.net>