mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
fix: add experimental features maturity (#698)
##### SUMMARY Allow to specify the maturity of the experimental product. ##### ISSUE TYPE - Bugfix Pull Request
This commit is contained in:
parent
728c8b4b25
commit
1251ee0e6f
3 changed files with 33 additions and 7 deletions
|
|
@ -91,14 +91,18 @@ To publish experimental features as part of regular releases:
|
|||
|
||||
description:
|
||||
- Create, update and manage Product on the Hetzner Cloud.
|
||||
- B(Experimental:) Product is experimental, breaking changes may occur within minor releases. See https://docs.hetzner.cloud/changelog#new-product for more details.
|
||||
- B(Experimental:) $PRODUCT is $MATURITY, breaking changes may occur within minor releases. See https://docs.hetzner.cloud/changelog#$SLUG for more details.
|
||||
"""
|
||||
```
|
||||
|
||||
- a `Experimental` warning, including a link to a changelog entry, must be logged when experimental plugins are being used:
|
||||
|
||||
```py
|
||||
product_experimental_warning = experimental_warning_function("Product", "https://docs.hetzner.cloud/changelog#new-product")
|
||||
product_experimental_warning = experimental_warning_function(
|
||||
"$PRODUCT",
|
||||
"$MATURITY",
|
||||
"https://docs.hetzner.cloud/changelog#$SLUG",
|
||||
)
|
||||
|
||||
class AnsibleProduct(AnsibleHCloud):
|
||||
def __init__(self, module: AnsibleModule):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue