61f35e248da8bb22393133ec433727d616d37f90
Commit Graph

44 Commits

Author SHA1 Message Date
Takashi Kajinami
323e5a6d63 Bump pyupgrade target to 3.10+
... according to the versions currently supported.
Change-Id: I688606852b0d9cc61c53f94f5bad7424f5882917
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025年10月05日 19:58:50 +09:00
Takashi Kajinami
1db6158ff3 Drop reference to ceilometerclient
The ceilometerclient library was retired long ago, so any reference to
it may no longer be useful these days.
Change-Id: Ibc201e11ca4a5978fd9635fd5f94b4167af34608
2025年06月27日 00:24:57 +09:00
Takashi Kajinami
89566169d8 Run pyupgrade to clean up Python 2 syntaxes
Python 2 support was removed long ago so we can clean up the syntaxes
to support it.
Change-Id: I1280301e162183644acc22b8c8bc787040e563a6
2025年06月08日 23:14:38 +09:00
Takashi Kajinami
2e86ba0c7c Use pre-commit to run pep8 checks
Change-Id: I34c19b0707bb157b51a1d2db249d3f925a1d4d43
2025年04月14日 10:22:59 +00:00
Takashi Kajinami
70ed8b27e4 Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository. Minimum versions are bumped to avoid
installing these known bad versions.
[1] 314734e938f107cbd5ebcc7af4d9167c11347406
Also remove the note about old pip's behavior because the resolver
in recent pip no longer requires specific order.
Change-Id: I430eaf4d113ea1051a275d2fc17db3519c85a362
2024年05月01日 10:30:09 +09:00
Emma Foley
02176deb25 Make tox.ini tox 4.0 compatible
* use min version 4.2.5, for fixes [1][2][3]
* passenv fixed as space-separated list is not allowed anymore
* dock target uses requirements from requirements.txt as well as
 doc/requirements.txt
* skipsdist is not supported
* whitelist_externals has been removed in favour of allowlist_externals
* reno was added to doc/requirements.txt to fix the releasenotes target
* update setup.cfg to install aodh from tarball in the requirements
 The tarball wasn't being installed when specified in tox.ini, and the
 [extras] section in setup.cfg needed updating to support installing
 from a URL
[1] https://github.com/tox-dev/tox/issues/2754
[2] https://github.com/tox-dev/tox/pull/2824
[3] https://github.com/tox-dev/tox/pull/2828
Change-Id: I4122d0d05f297f864318e80392e6c77fb2e9fdcf
2023年01月06日 16:28:23 +00:00
Andreas Jaeger
d05a4306a3 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I3b5249bee4f8452cc3a717dc93d2eca70002ce59
2020年05月22日 17:17:07 +00:00
Andreas Jaeger
a6f331e48d Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
 know about the requirement
- Remove section from setup.cfg: Wheel is not needed for python
 3 only repo
- Update requirements, no need for python_version anymore
Change-Id: I8825104cffa158cb0423e648067fae6ad0a0711d
2020年04月04日 11:14:09 +02:00
caoyuan
b5ca8f9013 tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: Id7784670604631d1fb702d2a33cfe91aa4d10987
2019年12月20日 13:41:06 +08:00
Lingxian Kong
428e394e5a Support threshold type alarm again
Add threshold type alarm back. Gnocchi is not actively maintained
currently but there are still users running Ceilometer in production and
relying on Ceilometer for auditing and billing.
Change-Id: I94ea998affbdd9f5535431f3ba713e2d4662b253
2019年11月26日 15:23:21 +13:00
pengyuesheng
0d7aa08238 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: Ifea7c76efeb96af3b8ef4a21529e5b60fd1f0348
2019年08月01日 09:47:20 +08:00
pengyuesheng
a8651ec642 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/
Change-Id: Ib6a0bbdca4e8d0bb80a19b3372360f3c2731aac5
2019年07月08日 10:16:13 +08:00
jacky06
ccd9bb6a1b Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
Change-Id: If4a93a4773b95c0f09085dc66899d96148023f32
2019年06月20日 20:35:19 +08:00
Doug Hellmann
4e8a452e45 fix warnings in documentation build
Replace the :option: role markup with simpler literal text markup so
that options that are not defined anywhere in the documentation do not
produce warnings.
Turn on the -W option in the docs environment in tox so that local
developer builds of the documentation fail if there is a warning.
Change-Id: I4a97b1efbfddc6137668c23461a882fa589d4999
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018年06月13日 15:31:54 -04:00
Nguyen Hai
c96b2c335d Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Remove [build_sphinx] as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
Change-Id: Ib1059403dccf7a58e8a8554c1298a601c2c067a2
2018年04月11日 03:27:32 +00:00
gord chung
86ac8fd3d3 remove threshold alarms
ceilometer-api is gone. NOTE: CEILOMETER IS NOT GONE. JUST THE API.
use gnocchi or something else for storage if required.
Change-Id: Ie37eaaa0abd8b0cf530895bcedd55c9370d3e558
2018年01月30日 23:20:39 +00:00
gord chung
7bae6bdbab Fix doc builds
The updated releasenote and requirements jobs expect requirements for
docs in one of the requirements files. Move requirements from setup.cfg
to doc/requirements.txt file.
See also
https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation
Change-Id: Ic454831a80f799c2be5ba3089001f31f68c39f85
2018年01月15日 13:44:30 +00:00
lipan
0bdd314485 delete --debug in a shell command
Change-Id: I6cacc3f0d8c9ef046203e75b2660926436177a20
2017年12月04日 17:46:22 +08:00
Julien Danjou
db01f38d58 doc: remove mention of combination alarms
They have been removed from Aodh anyway.
Change-Id: Ida7802a081a0154429f073cefa2636af3d6582eb
2017年10月06日 14:30:22 +02:00
Jenkins
ee17a4cd9a Merge "Docs: switch to openstackdocstheme" 2017年07月24日 17:44:38 +00:00
Hanxi Liu
d9802e0275 Docs: switch to openstackdocstheme
Project documents are being reprocessed due to document migration[1].
Update the docs theme to openstackdocstheme instead of oslosphinx.
[1] https://review.openstack.org/#/c/472275/
Change-Id: I749481139eddc4df012d2a63a4c5c258a72692d1
Co-Authored-By: chenxing <chen.xing@99cloud.net>
2017年07月17日 13:46:04 +00:00
Tovin Seven
d80704a474 Update documentation URLs
Just update some dead links after a huge wave of document migration.
Change-Id: If9d511c11f8fa58ad8241e093403dd139986818b
2017年07月14日 14:02:06 +07:00
ZhiQiang Fan
135cc28957 [Trivial] Remove executable privilege of doc/source/conf.py
It is a configuration file, rather than a script.
Change-Id: If63ce547c28bd730d5c3c056089c49c93220d036
2016年04月29日 20:17:33 +08:00
Kevin_Zheng
5e110e32f7 Support easier query usage for alarm history search
Use utils.search_query_builder to provide easier
query usage for alarm history search CLI.
Change-Id: Ie49b28b43e230a3d18adbf7734db23ce2aae3927
2016年03月23日 17:39:14 +08:00
liusheng
fbc572b295 Correct and add examples in docs of CLI
Change-Id: I81da67e113fa4cdb939466888df2a7943f8ecefd
2016年03月17日 14:09:49 +08:00
gordon chung
cad8107b6a clean up docs
Change-Id: Ib762e232af114bf1ab5f01c5274219cc6c0302ac
2016年01月21日 02:42:46 +00:00
gordon chung
b4ea93a306 drop remaining gnocchi specific code and fix pep8 2015年12月16日 11:00:37 -05:00
gordon chung
3c46e6b930 more gnocchi to aodh rename cleanup 2015年12月15日 11:41:51 -05:00
xialinjuan
96b09b3ecc Examples in doc should be workable
In the Examples part, the given command is not work.
Change-Id: I119237ae1b6f9ab1f672817c3875021bbb0805b3
2015年11月27日 15:39:26 +08:00
Zhao Lei
8cdac42cee Fix some spelling typo in manual and help output
authentification -> authentication
defintion -> definition
Plus a little comment fix.
Change-Id: I9cb8049dd16e357ff52dd4ab956c19e2de866baa
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
2015年10月09日 11:47:47 +02:00
Julien Danjou
15f43e5de4 Name the package `gnocchiclient'
There is no good reason to name this python-gnocchiclient, except
following the bad trend started with OpenStack. Let's be smarter and use
gnocchiclient on PyPI.
Change-Id: I05957ae04223ceb7c89b46f7548bf88570971a13
2015年09月24日 21:28:18 +02:00
Mehdi Abaakouk
65b05dcd1c Allow CRUD measurements
This change allows to retreive and add measures to a metric.
It also rename --endpoint to --gnocchi-endpoint to avoid
argparse conflict between --endpoint and --end.
Change-Id: I5685e0c318a3b7d93bed24539d2cbe684d165285
2015年09月18日 17:27:34 +02:00
Mehdi Abaakouk
707cd6fac7 Support CRUD for metric
This change allows to CRUD metrics
Change-Id: I649cd287c7c6dd6b29ab4c811d6434f54a53bb6b
2015年09月18日 17:25:58 +02:00
Mehdi Abaakouk
cbcc75a495 docs: enhance reference title 2015年09月03日 11:06:28 +02:00
Mehdi Abaakouk
bcf2dc7d2f Use 'archive policy' instead of 'archivepolicy' 2015年09月03日 11:03:40 +02:00
Mehdi Abaakouk
baeceece29 ap rule: Use named attributes 2015年09月03日 10:46:17 +02:00
Mehdi Abaakouk
b040e93a7e ap: allows multiple definition and name attributes 2015年09月03日 10:35:29 +02:00
Mehdi Abaakouk
ec504e2613 doc: fix typo in shell.rst 2015年08月31日 14:19:19 +02:00
Mehdi Abaakouk
15c6f165c9 fixes noauth 2015年08月31日 13:35:22 +02:00
Mehdi Abaakouk
8f83c819df doc: fix typo 2015年08月31日 11:41:16 +02:00
Mehdi Abaakouk
84beb97c69 Allow to disable the authentification layer 2015年08月31日 11:38:25 +02:00
Mehdi Abaakouk
a9ebfd6188 doc: Fixing a shell parameter 2015年08月31日 10:36:39 +02:00
Mehdi Abaakouk
0d180c360d Write the base of the documentation 2015年08月30日 19:39:12 +02:00
Mehdi Abaakouk
d88c413b77 Initial Cookiecutter Commit. 2015年08月28日 11:43:50 +02:00