Commit Graph

33 Commits

Author SHA1 Message Date
Stephen Finucane 63c3466f29 Migrate to stestr
This is effectively os-testr but maintained.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I97183318f715b03f31145fa3d0f00bb7bc8a0c82
2022-03-23 10:23:00 +00:00
Lingxian Kong 3bb8de94f7 Some minor improvements for doc and log
Change-Id: I7901f9a4d871a20d833049db11c39f0270ccc098
2019-11-27 13:31:53 +13:00
zhurong 28f7d804e8 PDF documentation build
Change-Id: I98f6a8dcfd434fbbd519dd0ab76ebf5d89fee4b8
2019-09-19 01:55:54 -07:00
zhurong b1a7ed61f3 Add _static folder to fix docs build error
Change-Id: Ib783f293120e5f4832d0c2a28352f4abd5a1e935
2019-08-27 18:51:26 +08:00
Dai Dang Van f6ce4df181 Implement policy in code - reno and doc (end)
This commit migrate all policies into code [1].

[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html

Change-Id: Ibdc8611dbb665595b4b3bca493b8bdb241db3fae
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
2017-11-08 11:18:26 +07:00
Doug Hellmann 7805ec4306 move class api reference into contributor docs
Change-Id: I89b11d8e542feadb6a424234a8aaeb59a29862c3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 10:01:11 -04:00
gord chung 0bdef603c9 move install-guide under install dir
Change-Id: I2571feb78d1793f1e03539b568ed49f2fe01c93e
2017-07-12 11:54:39 +00:00
zhangguoqing b2020a8736 update .gitignore for install-guide/build
Change-Id: Ic32d3b99bea60a2fb8cbefb9d8932891335a8793
2016-07-12 05:35:57 +00:00
ZhiQiang Fan 821f0dd1c5 generate latest sample config file along with document
Currently, when users want to get the sample config file, they
need to install many development tools such as git, tox and etc,
then run `tox -egenconfig` to get it.

oslo_config provides a tool named sphinxconfiggen since version
2.3.0, which enables us generate the sample config file along with
document.

Also the OpenStack Manual Configuration Reference doesn't have
sample config file for master branch, the stable branches need to
be improved as well, so this paragraph is removed.

Change-Id: Ie61beef490618f18a711e789cb1ac006b85b8f0a
2016-05-10 20:55:33 +08:00
ZhiQiang Fan 17d71aaf1f remove unused file pylintrc
we don't use it in aodh

Change-Id: I41a2fec26e5888b8ea33f191647bfdb51b70118c
2016-04-24 07:53:42 +08:00
Edwin Zhai 9a1b5329aa Clean config in source code
Update .gitignore to skip editor files and .coveragerc to remove
nonexisted directory

Change-Id: Icab626dfcd8d71993e0d7e6e218a86ec8cd0c502
2016-02-05 08:45:38 +00:00
gordon chung 1c86b7991b add reno for release notes management
Change-Id: Idd353fcb27eb2cc4a0065a616eedf58f9f5952fc
2015-11-11 15:15:31 -05:00
Julien Danjou fd66a9c291 doc: use pbr autodoc feature to build api doc
Change-Id: Ie1100b592271609131ee7428cb15b7d694b55494
2015-07-09 17:59:03 +02:00
Julien Danjou 8372f48b7a Rename to aodh
Change-Id: Ibd4c9811daa6e9e692457ce480a58c964fef7cb9
Signed-off-by: Julien Danjou <julien@danjou.info>
2015-06-25 14:46:39 +02:00
Julien Danjou 3ac43c9073 Remove useless versioninfo and clean ceilometer.conf git exclusion
Change-Id: Ibd103cbf5a1f0239e4d0fe7f542392bc85a71d71
2015-06-08 08:42:02 +02:00
Abhishek Lekshmanan c20b55e549 Adding build folders & sorting gitignore
Since these folders are generated during build (and to be ignored).
.gitignore is also sorted for easier maintenance.

Change-Id: I324f89264a523f9bf99c7311eb12e76cb0673b4b
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-01-16 06:42:25 +00:00
ZhiQiang Fan d7eabde418 Ignore ceilometer.conf
ceilometer.conf will be generated after we run tox -egenconfig, it
should be ignored.

Change-Id: Ia6d88892a7c93cfa880e4383bbefa55c069a12d9
2014-12-22 17:22:52 +08:00
Igor Degtiarov 09b80591e9 Adds pylint check for critical error in new patches
Pylint usage pattern is to take a look on a diff for pylint results between
previous code version and current patch. It's needed to critical issues only.

Change-Id: I4fc2ae732a7eaef2bc7bfacfd111ef849d003268
2014-10-07 17:27:30 +03:00
Ildiko Vancsa 99424154b4 Clean up .gitignore
Several files were removed from the doc sources and config, so there are a
few folders in .gitignore, which are not needed anymore. Also there was a
build directory referenced and the only build directory is under the doc
folder, so this was corrected also.

Change-Id: I60f25d282caa813b3bfc790988578b9882ba95ab
2014-06-16 09:00:22 +02:00
ZhiQiang Fan 72e9faaea6 Ignore the generated file ceilometer.conf.sample
Since we have removed the ceilometer.conf.sample file and added
tox -e genconfig to generate it, we should no longer track it.

Change-Id: I66a03eb2672941ba5115bf0adb9fb0c944f68e4d
Closes-Bug: #1320150
2014-05-29 11:13:26 +08:00
Julien Danjou 78e8f56220 Clean .gitignore
Remove files we don't generate by any of used tools.

Change-Id: Ia9500067ed13a80180ad017efa6b231bdd799284
2014-01-27 14:40:35 +01:00
Angus Salkeld 1a723a05c7 Replace nose with testr
- add .testr.conf (in base dir and nova_tests)
- remove all references to nose
- adjust paths: A couple of tests would assume the current directory
  was ./tests/ but it is now ./
- don't run the tests in parallel as the db tests have one connection
  per test class.

nova_tests hackery:
It seems testtools/testr imports everything and I just don't see a way of
running things in tests/ and nova_tests/ seperately but in one .test.conf.
So if you want to use testr directly you will need to:
 testr run
 cd nova_tests
 testr run

part of bug 1177924
Change-Id: I41875dcf94463fa5f9c07a7840c37089226c59ad
2013-05-18 18:06:38 +10:00
Doug Hellmann a90958085c Update manual installation instructions
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>
2013-03-07 13:53:04 -05:00
Doug Hellmann 3a8051d876 Fix warnings in the documentation build
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>
2013-01-04 18:31:27 -05:00
Lianhao Lu baad3c800f Ground work for transifex-ify ceilometer.
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
2012-12-18 10:14:03 +08:00
Doug Hellmann baaf81bfeb Fixes to enable the jenkins doc job to work
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>
2012-11-28 17:45:32 -05:00
Doug Hellmann 12184dc5c5 Use openstack versioning
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>
2012-11-08 16:13:44 -05:00
Doug Hellmann cafeb43f28 Update packaging files
- 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>
2012-09-28 17:43:21 -04:00
Doug Hellmann 3fcb8da4a1 Make the stand-alone test script mimic tox
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
2012-05-30 12:02:45 -04:00
Doug Hellmann 5e0a32f475 Add tox configuration
Change-Id: Ic4051617b5757c649cd59dacf8e9dd9d7e9819a6
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-30 15:32:19 +02:00
Doug Hellmann 73c9150afe Add plugin support to the notification portion of the collector daemon.
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
2012-05-22 18:17:13 -04:00
Doug Hellmann 8f4ba1656c add a tool for recording notifications and replaying them
Change-Id: I852a6fbef7b9bf02309f699419da0a2537ce7a90
2012-05-17 16:02:18 -04:00
Julien Danjou bca0ead8d2 Ignore pyc files
Change-Id: Id98d91e397fc5ee77c8d6b41882c264748c0ab76
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-09 11:56:12 +02:00