The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: Ib17a74ada3122ce45c52fdd7dcf8d27fafbb1d70
Some swift help strings use XML tags that were not properly managed and
resulted in truncated string. This patch workarounds the problem by
dropping the XML flags.
Change-Id: I13ba4a9a840c93e3933bbeaaec2d84651efeff2e
Using oslo.config objects in pickle leads to multiple import problems on
deserialization. Since we don't actually need oslo objects, we convert
them into dicts before dumping them.
Change-Id: Icbd1a3957e4d4ae05fe6227fbdd1cb58e5a3a98d
Specifying the encoding and working with unicode strings in not
supported in lxml. The BASE_XML string is only used to init the XML tree
and does not need a specific encoding. The utf-8 encoding is explicitely
added when the final XML is written to file.
Change-Id: I74e0a316cf718ad9768a690f8ccc4a1cc9a9fc7e
By marking options as <option>option_name</option>, we get
more flexibility in how to handle them.
In particular, currently these thousands of automatically generated
options are polluting the translation's common resource.
Marking these strings as <option> might allow us to
say "don't translate this".
Change-Id: I0282545d1a2c3ca3d14a5c411c2f5457fbd09780
The renaming of the swift-conf-changes.xml in the openstack-manual
repository broke a test in the extract_swift_flags.py script. This patch
changes the test to make the script work again.
Change-Id: I71b6960801163c2d2c52253d0c9a45ec2bf02b0d
This argument dumps the list of swift config options discovered by the
script. The options are stored as oslo.config options and the dump
format is the same as the autohelp dump format. The goal is to support
swift in the diff_branches.py script.
Part of the script as been refactored to first store the options, then
write/dump them, instead of doing both at the same time.
Change-Id: Ie11f0eb352c79b7a5126599adb96ac1307f2956f
3 options:
- location of the swift repo
- location of the manuals repo
- verbosity
The defaults should be sane to use with the soon-to-be-updated
autohelp-wrapper.
Change-Id: I2395aa5c6bfdb30990ec7f930a9277cdef6d3777
Require at least 0.9.1 because 0.9.0. had a minor bug.
This change also fixes all found issues.
Rewrote some docstrings to fit H405.
Change-Id: Ifeef11b783dbe70b2652d2b9ea29d5b20f69f2ce
* E129 visually indented line with same indent as next logical line
* E129 visually indented line with same indent as next logical line
* E265 block comment should start with '# '
* E713 test for membership should be 'not in'
Change-Id: I8488f7ad4399153d99325806fe87919c0b4cda7e
The code for parsing existing tables didn't find all the options because
of spaces and new lines. This patch should now handle those characters.
Change-Id: If6a5d8812e6e6f46e14944578cc5eb94d8374ccf