Commits vergleichen
Keine gemeinsamen Commits. "8190ee94d3fedc15897b579cfe1929c374136d6d" und "1da65334e2f614165a4d541af89210b5e426b071" haben vollständig unterschiedliche Historien.
8190ee94d3
...
1da65334e2
|
@ -5,23 +5,6 @@ Sebastian.Base Release Notes
|
|||
.. contents:: Topics
|
||||
|
||||
|
||||
v0.4.2
|
||||
======
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- removed the empty options dict
|
||||
|
||||
v0.4.1
|
||||
======
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- added an default Display to the module
|
||||
- fixed the docification of dictionaries
|
||||
|
||||
v0.4.0
|
||||
======
|
||||
|
||||
|
|
|
@ -16,4 +16,4 @@ plugins:
|
|||
strategy: {}
|
||||
test: {}
|
||||
vars: {}
|
||||
version: 0.4.2
|
||||
version: 0.4.0
|
||||
|
|
|
@ -5,43 +5,24 @@ releases:
|
|||
release_summary: change the module to an ansible module
|
||||
fragments:
|
||||
- base_release.yml
|
||||
release_date: '2024-02-11'
|
||||
release_date: "2024-02-11"
|
||||
0.3.0:
|
||||
changes:
|
||||
release_summary: rewrote the Types helper
|
||||
fragments:
|
||||
- types.yml
|
||||
release_date: '2024-02-24'
|
||||
release_date: "2024-02-24"
|
||||
0.3.1:
|
||||
changes:
|
||||
release_summary: removed forgotten print calls
|
||||
fragments:
|
||||
- print_calls.yml
|
||||
release_date: '2024-02-24'
|
||||
release_date: "2024-02-24"
|
||||
0.4.0:
|
||||
release_date: "2024-03-08"
|
||||
changes:
|
||||
release_summary: 'to prevent empty sections, the install and header methods
|
||||
return None if the method would just the scetion
|
||||
|
||||
release_summary: |
|
||||
to prevent empty sections, the install and header methods return None if the method would just the scetion
|
||||
header
|
||||
|
||||
'
|
||||
fragments:
|
||||
- sectioning.yml
|
||||
release_date: '2024-03-08'
|
||||
0.4.1:
|
||||
changes:
|
||||
minor_changes:
|
||||
- added an default Display to the module
|
||||
- fixed the docification of dictionaries
|
||||
fragments:
|
||||
- display.yml
|
||||
- options_fix.yml
|
||||
release_date: '2024-03-13'
|
||||
0.4.2:
|
||||
changes:
|
||||
minor_changes:
|
||||
- removed the empty options dict
|
||||
fragments:
|
||||
- empty_options.yml
|
||||
release_date: '2024-03-13'
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
---
|
||||
minor_changes:
|
||||
- added an default Display to the module
|
||||
release_summary: added an default Display to the module
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
minor_changes:
|
||||
- removed the empty options dict
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
minor_changes:
|
||||
- fixed the docification of dictionaries
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
namespace: sebastian
|
||||
name: base
|
||||
version: 0.4.2
|
||||
version: 0.4.0
|
||||
|
||||
readme: README.md
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ class Types(metaclass=meta):
|
|||
options: The individual options that this parameter has
|
||||
"""
|
||||
option: AnsibleParameter = dict(type="dict", required=required)
|
||||
option["options"] = options
|
||||
option["option"] = options
|
||||
if help is not None:
|
||||
option["description"] = help.split("\n")
|
||||
return option
|
||||
|
|
|
@ -36,9 +36,9 @@ def docify(input: Union[dict, AnsibleParameter]) -> dict:
|
|||
options[name]["default"] = []
|
||||
if "default" in help:
|
||||
options[name]["default"] = help["default"]
|
||||
if "options" in help and help["options"] != {}:
|
||||
if "options" in help:
|
||||
options[name]["options"] = docify(help["options"])
|
||||
if "choices" in help and len(help["choices"]) > 0:
|
||||
if "choices" in help:
|
||||
options[name]["choices"] = tuple(help["choices"])
|
||||
return options
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "0.4.2"
|
||||
__version__ = "0.4.0"
|
||||
|
|
Laden…
In neuem Issue referenzieren