bump: version 1.2.0a12 → 1.2.0a13
This commit is contained in:
parent
7f9d6f17d7
commit
07a22d7966
20 changed files with 163 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
## 1.2.0a13 (2025-03-27)
|
||||
|
||||
### Fix
|
||||
|
||||
- allow no user_datas installation (for example to generate doc)
|
||||
|
||||
## 1.2.0a12 (2025-03-19)
|
||||
|
||||
### Feat
|
||||
|
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
|||
|
||||
[project]
|
||||
name = "rougail"
|
||||
version = "1.2.0a12"
|
||||
version = "1.2.0a13"
|
||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||
readme = "README.md"
|
||||
description = "A consistency handling system that was initially designed in the configuration management"
|
||||
|
|
10
tests/dictionaries/00_6secret_param/makedict/after.json
Normal file
10
tests/dictionaries/00_6secret_param/makedict/after.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rougail.secret1": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
},
|
||||
"rougail.secret2": {
|
||||
"owner": "default",
|
||||
"value": "value"
|
||||
}
|
||||
}
|
4
tests/dictionaries/00_6secret_param/makedict/base.json
Normal file
4
tests/dictionaries/00_6secret_param/makedict/base.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"rougail.secret1": null,
|
||||
"rougail.secret2": "value"
|
||||
}
|
10
tests/dictionaries/00_6secret_param/makedict/before.json
Normal file
10
tests/dictionaries/00_6secret_param/makedict/before.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rougail.secret1": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
},
|
||||
"rougail.secret2": {
|
||||
"owner": "default",
|
||||
"value": "value"
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
["rougail.secret1"]
|
16
tests/dictionaries/00_6secret_param/tiramisu/base.py
Normal file
16
tests/dictionaries/00_6secret_param/tiramisu/base.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from tiramisu import *
|
||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
||||
from re import compile as re_compile
|
||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
||||
load_functions('../rougail-tests/funcs/test.py')
|
||||
try:
|
||||
groups.namespace
|
||||
except:
|
||||
groups.addgroup('namespace')
|
||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
||||
option_2 = PasswordOption(name="secret1", doc="the first variable", min_len=10, properties=frozenset({"basic", "mandatory"}), informations={'type': 'secret'})
|
||||
option_3 = PasswordOption(name="secret2", doc="the second variable", default="value", max_len=10, forbidden_char=['$', '^'], properties=frozenset({"mandatory", "standard"}), informations={'type': 'secret'})
|
||||
optiondescription_1 = OptionDescription(name="rougail", doc="Rougail", group_type=groups.namespace, children=[option_2, option_3], properties=frozenset({"basic"}))
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_1])
|
11
tests/dictionaries/00_6secret_param/tiramisu/no_namespace.py
Normal file
11
tests/dictionaries/00_6secret_param/tiramisu/no_namespace.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from tiramisu import *
|
||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
||||
from re import compile as re_compile
|
||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
||||
load_functions('../rougail-tests/funcs/test.py')
|
||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
||||
option_1 = PasswordOption(name="secret1", doc="the first variable", min_len=10, properties=frozenset({"basic", "mandatory"}), informations={'type': 'secret'})
|
||||
option_2 = PasswordOption(name="secret2", doc="the second variable", default="value", max_len=10, forbidden_char=['$', '^'], properties=frozenset({"mandatory", "standard"}), informations={'type': 'secret'})
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_2])
|
10
tests/dictionaries/00_7help/makedict/after.json
Normal file
10
tests/dictionaries/00_7help/makedict/after.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rougail.var1": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
},
|
||||
"rougail.var2": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
}
|
||||
}
|
4
tests/dictionaries/00_7help/makedict/base.json
Normal file
4
tests/dictionaries/00_7help/makedict/base.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"rougail.var1": null,
|
||||
"rougail.var2": null
|
||||
}
|
10
tests/dictionaries/00_7help/makedict/before.json
Normal file
10
tests/dictionaries/00_7help/makedict/before.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rougail.var1": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
},
|
||||
"rougail.var2": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
}
|
||||
}
|
1
tests/dictionaries/00_7help/makedict/mandatory.json
Normal file
1
tests/dictionaries/00_7help/makedict/mandatory.json
Normal file
|
@ -0,0 +1 @@
|
|||
["rougail.var1", "rougail.var2"]
|
16
tests/dictionaries/00_7help/tiramisu/base.py
Normal file
16
tests/dictionaries/00_7help/tiramisu/base.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from tiramisu import *
|
||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
||||
from re import compile as re_compile
|
||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
||||
load_functions('../rougail-tests/funcs/test.py')
|
||||
try:
|
||||
groups.namespace
|
||||
except:
|
||||
groups.addgroup('namespace')
|
||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
||||
option_2 = StrOption(name="var1", doc="the first variable", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\n\nHelp\n\nWith useful information'})
|
||||
option_3 = StrOption(name="var2", doc="the second variable", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\nHelp\nWith useful information'})
|
||||
optiondescription_1 = OptionDescription(name="rougail", doc="Rougail", group_type=groups.namespace, children=[option_2, option_3], properties=frozenset({"basic"}))
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_1])
|
11
tests/dictionaries/00_7help/tiramisu/no_namespace.py
Normal file
11
tests/dictionaries/00_7help/tiramisu/no_namespace.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from tiramisu import *
|
||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
||||
from re import compile as re_compile
|
||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
||||
load_functions('../rougail-tests/funcs/test.py')
|
||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
||||
option_1 = StrOption(name="var1", doc="the first variable", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\n\nHelp\n\nWith useful information'})
|
||||
option_2 = StrOption(name="var2", doc="the second variable", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\nHelp\nWith useful information'})
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_2])
|
10
tests/dictionaries/00_7help_sup/makedict/after.json
Normal file
10
tests/dictionaries/00_7help_sup/makedict/after.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rougail.var1": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
},
|
||||
"rougail.var2": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
}
|
||||
}
|
4
tests/dictionaries/00_7help_sup/makedict/base.json
Normal file
4
tests/dictionaries/00_7help_sup/makedict/base.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"rougail.var1": null,
|
||||
"rougail.var2": null
|
||||
}
|
10
tests/dictionaries/00_7help_sup/makedict/before.json
Normal file
10
tests/dictionaries/00_7help_sup/makedict/before.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rougail.var1": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
},
|
||||
"rougail.var2": {
|
||||
"owner": "default",
|
||||
"value": null
|
||||
}
|
||||
}
|
1
tests/dictionaries/00_7help_sup/makedict/mandatory.json
Normal file
1
tests/dictionaries/00_7help_sup/makedict/mandatory.json
Normal file
|
@ -0,0 +1 @@
|
|||
["rougail.var1", "rougail.var2"]
|
16
tests/dictionaries/00_7help_sup/tiramisu/base.py
Normal file
16
tests/dictionaries/00_7help_sup/tiramisu/base.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from tiramisu import *
|
||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
||||
from re import compile as re_compile
|
||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
||||
load_functions('../rougail-tests/funcs/test.py')
|
||||
try:
|
||||
groups.namespace
|
||||
except:
|
||||
groups.addgroup('namespace')
|
||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
||||
option_2 = StrOption(name="var1", doc="the first <variable>", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\n\n<Help>\n\nWith useful information'})
|
||||
option_3 = StrOption(name="var2", doc="the second <variable>", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\n<Help>\nWith useful information'})
|
||||
optiondescription_1 = OptionDescription(name="rougail", doc="Rougail", group_type=groups.namespace, children=[option_2, option_3], properties=frozenset({"basic"}))
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_1])
|
11
tests/dictionaries/00_7help_sup/tiramisu/no_namespace.py
Normal file
11
tests/dictionaries/00_7help_sup/tiramisu/no_namespace.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from tiramisu import *
|
||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
||||
from re import compile as re_compile
|
||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
||||
load_functions('../rougail-tests/funcs/test.py')
|
||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
||||
option_1 = StrOption(name="var1", doc="the first <variable>", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\n\n<Help>\n\nWith useful information'})
|
||||
option_2 = StrOption(name="var2", doc="the second <variable>", properties=frozenset({"basic", "mandatory"}), informations={'type': 'string', 'help': 'Multi line\n<Help>\nWith useful information'})
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_2])
|
Loading…
Reference in a new issue