Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.
This basically renames
neutron-lib/locale/neutron-lib.pot to
neutron_lib/locale/neutron_lib.pot. For this we need to update
setup.cfg.
Update also domain name in _i18n.py.
The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.
Change-Id: I73db7b37f5a44ae45c01ca16abccb41a5fbfbfe8
This brings over the validation and convert_to methods from Neutron.
Additional tests were added to improve coverage, and some supporting
methods were added for these.
Renamed validators to remove underscore, so that they can be imported
into neutron/api/v2/attributes.py.
Added devref docs to help developers in creating and using validators
and converters.
Change-Id: I81394dff69b816146e521bcd3e9641761178d6fd
Implements: blueprint neutron-lib
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.
Change-Id: I0072000a1386aaa5d3eacef4bfb9dc74edb915ec
Closes-Bug: #1529836
- Actually depend on requirements.txt
- Run unit tests with ostestr
- Inform testr of location of unit tests
- Fix coverage job and include report
- Keep PEP8 strict; it's not annoying yet
- Remove vestiges of oslo incubator handling
Change-Id: I2465d18bee8e242e049d2d5e30dfcf472a49c0c4
Adding the callback mechanism to neutron-lib. Added code, test, and
devref. Added additional test coverage. Added missing __init__.py
files so tests are run. Needed oslo.log added to requirements.
Once this is upstreamed, we can modify the callback mechanism.
Change-Id: Ib16f3942e8ac2ddbfc8ff6919863ec9ad197e5b6
Implements: blueprint neutron-lib
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: I4223ec5ffd3770ef90e23cd8f84341097c1fe84f
This patch proposes the addition of plugin constants module to
neutron-lib. Instead of creating a new file plugin_constants,
this patch appends them to the existing constants module
within neutron-lib.
Change-Id: Id1cb3b36a0409660ff585ef098f5315ccd37af9f
Implements: blueprint neutron-lib
Setup the docs target for producing documentation, create the needed
index files for documentation and devref, and include references to
the existing .rst docs.
Change-Id: Id2a23058ee5aa557fb52b65f044bac4528ef86bc
Implements: blueprint neutron-lib
This starting point list is derived from neutron.common.constants,
including only those entries that are being used in existing stadium
projects.
Change-Id: I4cc9f8fb18d726d8c65b7d229eb7a429631da150
Partially-Implements: blueprint neutron-lib
Per Henry's comments here [1], lets clean this up so it looks
nice and fancy like Neutron's .gitignore.
[1] https://review.openstack.org/#/c/247855/
Change-Id: Ie843eedc19fff5a0a4c342617c83093aa2cfbcbf
Signed-off-by: Kyle Mestery <mestery@mestery.com>