Update the instructions for installing ceilometer by hand
instead of using devstack.
bug 1070404
bug 1071494
Change-Id: I617e0467b40f218e5811da7b39db76c6eb466da6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Some of the docstrings pulled into the API documentation
were malformatted, so fix those. Also include the API
documentation in a toctree so it is linked in the
"Contributing" section of the documentation.
Change-Id: I8eef6007045d5426299dadb67303102855c15dc2
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Following http://wiki.openstack.org/Translations to integrate transifex
translation into ceilometer and to fix bug 1082805.
This is the ground work to enable translation jobs using transifex and
Jenkin's in ceilometer. We added the empty file
ceilometer/locale/ceilometer.pot to avoid the failure of the Jenkin'
translation-jobs because git doesn't allow empty directory to be added
into the repository.
We still need to do the following things once this patch gets accepted:
1. Make the transifex ceilometer project
(https://www.transifex.com/projects/p/ceilometer/) as part of the
openstack transifex project hub and give access to the transifex
openstack Jenkins account.
2. Add the translation-jobs into openstack/openstack-ci-puppet for
ceilometer.
3. Recheck and/or clean the LOG.foobar strings in ceilometer so that
only the useful and necessary strings would be extracted into the .pot
file.
NOTE:
1. Don't use '_' as the variable name for "don't care", since it clashes
with gettext module.
2. Wrap the string with the underscore function to make it ready for
translation, e.g.
internationalized_string = _("I'm internationalized!")
LOG.debug(_('I speak the language of %(language)s'), locals())
Change-Id: I9732e424b374afa8f0650baf4e3537109e7520d1
Some of our documentation dependencies were not listed in
test-requires, so the venv environment in tox needs to be
updated to include them.
Then the build_sphinx command looks for configuration settings
in setup.cfg, so those need to be added.
When Sphinx runs in this way, it ends up creating
RST files for every module it finds in the source tree
so it can document the internal APIs. Those generated files
can be ignored by git.
Change-Id: I21b5f9c6c4d4201893bb3bf87f0b61a053b968f5
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
1. Add the version module from openstack.common.
2. Create a ceilometer/version.py to set up the
version info.
3. Update setup.py from openstack.common.
4. Update documentation build to use the version module
directly instead of running setup.py to get the version.
5. Update setup.py to use the new version module.
Change-Id: I9d8be62b8ece75090bf335d27adb59a46e3d6263
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
- Update the openstack.common.setup module
- Update our openstack-common.conf to include setup.py
in future updates
- Use the common setup command class so the sdist command
generates an AUTHORS file and ChangeLog
Change-Id: I4469f0feaea5bb67022c6077bbea43110384f31b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
The tox setup does not work on Ubuntu Precise for some reason,
but running nose directly does. This update tweaks the stand-alone
script run_tests.sh to mimic the behavior of tox. It also
adds the "cover" directory created by the coverage plugin to nose
to the list of files being ignored by git.
Change-Id: I65224cf4bf75e6b7fc0207b3545c466bdac5a35c
Implement a Counter class for use by notification plugins.
Define a base class for Notification plugins.
Define a dispatcher class for notification events to be passed to the plugins.
Add a notification plugin for instance creation and "instance" counters.
Add a reusable function for turning a Counter into a metering event dictionary.
Change-Id: Iaa626b98e1a661ed31cc8b8e95263c111df20888