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: Ia4255655e25f6bbe4575062fff6d563a5f05c600
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
Change-Id: Ia5b33c898e6293582ee6949a6503ff0c7fc32fdc
This reverts commit 0658992b0b.
The reverted commit moves Babel to test-requirements.txt
but Babel is a run-time requirement as _gettextutils imports Babel.
As a result, oslo_i18n 3.15.2 cannot be imported.
Closes-Bug: #1692773
Change-Id: I97ae11925462b2e21ede5d9573e90ee21fb7e4d2
Now that we have decided to skip log translations, let's stop telling
people to set them up. This change adds a note saying the work is not
needed, but leaves the instructions so that someone trying to understand
existing code can review them. The actual translation functions will be
marked for deprecation in the future, when enough projects have dropped
using them to warrant that change.
Change-Id: Ia34ad79ca9c6d1ea862b6954669c992a898a03ff
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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: I3f0ab9b3bddc40ca3bc8e0ebc05905b8242c0a61
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.i18n.
Change-Id: Ic7324b6b2c07c707417726aa4982dd09e1897b96
The release management team have indicated this is their preferred way
to collect release notes in future.
Closes-Bug: #1634356
Change-Id: If53420002eb88e894aad97290fe20b8180e4e197
We use module testscenarios in tests but don't include it
in test-requirements.txt.
Closes-Bug: #1638276
Change-Id: I759c5168fbcdf8dcee04a86c164fb98451217a37
This commit documents tips on how to display translated strings.
It covers envvar usage on locale directory and preferred languages.
Change-Id: Icf5618954500e56e3de087d4f369dbd72c54c564
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: I33b5b59fda524d88386072d2058c4770a948db6f
Closes-Bug: #1604213