Commit Graph

30 Commits

Author SHA1 Message Date
Zuul 9d645d9713 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:38:29 +00:00
Zuul 9d900d8798 Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:16:02 +00:00
Zuul 9a9ecaabb5 Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:13:23 +00:00
OpenStack Release Bot 89772fcc7f Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I53e658c9459b48f171670814af4de800d4e5ad2e
2024-03-08 14:22:30 +00:00
OpenStack Release Bot ed356c6934 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Id67960d0d6eb005aafd8ea1f0b4886f157b62a2f
2024-03-07 14:25:38 +00:00
OpenStack Release Bot f3461d6ca7 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I7c76882e8e796fb44126fb0572d888427b580582
2024-03-07 14:21:24 +00:00
OpenStack Release Bot 5c9243ef0a reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Iaa5e0d17151fd02414f2cb7544f49ec6d28b8450
2024-03-07 14:16:01 +00:00
OpenStack Release Bot a9d27925a0 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I3e7b0ad53932deafce1b51de8a401ce37e2b4494
2024-02-06 14:28:02 +00:00
OpenStack Release Bot f28b01e652 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I12738b4f4f252f2e6b7cbceb72487599e3b2775f
2023-09-07 09:36:52 +00:00
OpenStack Release Bot de69de18ab Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: Ic252a5812db3bc3c243d0cee91c7ab85646a9e66
2023-02-24 15:18:42 +00:00
OpenStack Release Bot 36731d8f8a Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I794dc8f558497de66535cd6b97a4ccd54480fa1e
2022-09-09 09:16:48 +00:00
Hervé Beraud beb080d1a2 Fix formatting of release list
Change-Id: I0a7d70a24c527a03930887d4d1ee1214462c8de3
2022-05-27 12:11:59 +02:00
Zuul 45e01c9071 Merge "oslo-config-generator: Fix ValueError" 2022-03-08 18:37:58 +00:00
OpenStack Release Bot a6e08b0dce Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: Ifd733042b819aa64c417730b5587140700595a30
2022-03-04 17:18:12 +00:00
Takashi Kajinami ce5aa7dcca oslo-config-generator: Fix ValueError
This fixes how the opts data is formatted to fix auto-generation of
config file using oslo-config-generator with oslo.limit entry point.

Closes-Bug: #1962406
Change-Id: I176a7b2b8e2edb50659783a2139c3cc13e8f2f53
2022-02-28 01:27:50 +09:00
Zuul 36b9ca3ccd Merge "Add caching of limits in Enforcer" 2022-01-10 13:11:46 +00:00
melanie witt 43683f543e Add caching of limits in Enforcer
This adds caching of resource limits for an Enforcer in order to
improve performance when repeated limit checks are needed. The cache
lasts the lifetime of an Enforcer and is enabled by default. It can be
disabled by passing cache=False when instantiating an Enforcer.

One usage pattern for a caching Enforcer would be to create an Enforcer
per service request so that the caching lives only as long as the
request.

Change-Id: I8e43dceec76aecd2b2ae23a137e56519efe29777
2021-10-18 21:43:57 +00:00
OpenStack Release Bot e60489fb07 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: If079ffb950122121a9cd9254cce28bf62106ed57
2021-09-10 14:34:50 +00:00
Zuul 1bfa1280c0 Merge "remove unicode from code" 2021-04-16 10:43:42 +00:00
OpenStack Release Bot 9ebe3c67e5 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I0ee8832bb010b0929ba0e7a0dd00fa9a399004e7
2021-04-15 18:17:47 +01:00
xuanyandong 6115a3ea87 remove unicode from code
Change-Id: I09d641c27372bba638aa8be207d27d80c8ec01ab
2021-01-03 16:06:59 +08:00
Zuul 55675ba447 Merge "Adding pre-commit" 2020-09-22 12:37:24 +00:00
OpenStack Release Bot a66a3697c2 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I73e3c0ae23f57c57cb3d55157df3cd8024914100
Sem-Ver: feature
2020-09-11 20:57:59 +00:00
Hervé Beraud 00b4875144 Adding pre-commit
Introduced changes:
- pre-commit config and rules.
- Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
- Applying fixes for pre-commit compliance in all code.

Also commit hash will be used instead of version tags in pre-commit to
prevend arbitrary code from running in developer's machines.

pre-commit will be used to:
- trailing whitespace;
- Replaces or checks mixed line ending (mixed-line-ending);
- Forbid files which have a UTF-8 byte-order marker
  (check-byte-order-marker);
- Checks that non-binary executables have a proper
  shebang (check-executables-have-shebangs);
- Check for files that contain merge conflict strings
  (check-merge-conflict);
- Check for debugger imports and py37+ breakpoint()
  calls in python source (debug-statements);
- Attempts to load all yaml files to verify syntax (check-yaml);
- Run flake8 checks (flake8) (local)

For further details about tests please refer to:
https://github.com/pre-commit/pre-commit-hooks

Change-Id: Ic00da1340d695c7a109f41a09929b654baf995a7
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 13:48:34 +02:00
Andreas Jaeger 16f9098312 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.

Remove doc requirments from lower-constraints, they are not used for
install. Remove also hacking, the version is ancient and not needed
there either.

openstackdocstheme renames some variables, so follow the renames. A
couple of variables are also not needed anymore, remove them.

Set openstackdocs_auto_name to use project as name.

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: I5ec9dda8582f55fc0b287c422d5c43ad2e23b9b8
2020-05-21 13:42:35 +00:00
OpenStack Release Bot b2685099f2 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I28d813d853e7961adcf617e452769b64f9e7eccc
Sem-Ver: feature
2020-04-14 10:14:41 +00:00
Hervé Beraud 64b78b7878 oslo.limit mistakenly released as 1.0.0 (release note)
For further reading:
http://lists.openstack.org/pipermail/openstack-discuss/2020-February/012606.html

Change-Id: I44cb645bd118c17e1f067cb617dbce845dacd5c6
2020-02-21 10:34:02 +01:00
Hervé Beraud 188ee76177 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

Complete discussion & schedule can be found in
-
http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ie48c796b6c83b42c85555d13a09f3b3ed96428f8
Sem-Ver: api-break
2020-02-06 10:24:15 +01:00
OpenStack Release Bot d426c5d078 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I07dc249c5fdd264c40407b4d1e9fd3b0ea40f43c
Sem-Ver: feature
2019-09-20 16:33:15 +00:00
wangxiyuan 88684c2074 Fix CI
We enabled some basic jobs for oslo.limit recently. This patch
fixed the related CI error.

Change-Id: I1fd27724686ae12c0a279d7a7e45c2711b62bf45
2018-07-30 14:22:38 +08:00