Compare commits

...

7 commits

223 changed files with 869 additions and 133 deletions
CHANGELOG.mdpyproject.toml
src/rougail/user_data_environment
tests/results
test
00_6choice_link
00_6choice_variable_link
00_6choice_variable_link2
00_6regexp_link
00_6secret_param
00_7help
00_7help_sup
04_1default_calculation_hidden/errors
04_1default_calculation_hidden_2/errors
04_5disabled_calculation_optional/errors
04_5disabled_calculation_variable/errors
04_5disabled_calculation_variable2/errors
04_5disabled_calculation_variable3/errors
04_5disabled_calculation_variable4/errors
04_5disabled_calculation_variable_multi/errors
04_5disabled_calculation_variable_multi2
04_5disabled_calculation_variable_multi3
24_0family_hidden_condition_variable_sub_family/errors
44_6leadership_follower_disabled_calculation/errors
60_0family_dynamic_forbidden_char
60_5family_dynamic_hidden_suffix/errors
test_namespace

View file

@ -1,3 +1,22 @@
## 0.1.0a5 (2025-04-09)
### Fix
- version
## 0.1.0a4 (2025-04-01)
### Fix
- update tests
## 0.1.0a3 (2025-03-30)
### Fix
- update tests
- update tests, some errors are now in warnings level
## 0.1.0a2 (2025-02-10)
### Fix

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.user_data_environment"
version = "0.1.0a2"
version = "0.1.0a5"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "Rougail user_data environment"
@ -18,6 +18,8 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Natural Language :: English",
@ -36,5 +38,9 @@ name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "pep440"
version_provider = "pep621"
version_files = [
"src/rougail/user_data_environment/__version__.py",
"pyproject.toml:version"
]
update_changelog_on_bump = true
changelog_merge_prerelease = true

View file

@ -1,3 +1,6 @@
from .data import RougailUserDataEnvironment
from .__version__ import __version__
RougailUserData = RougailUserDataEnvironment
__all__ = ('RougailUserDataEnvironment',)

View file

@ -0,0 +1 @@
__version__ = "0.1.0a5"

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="a"
ROUGAIL_VAR2="a"

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="a"
ROUGAIL_VAR2="a"

View file

@ -0,0 +1 @@
ROUGAIL_VAR1="a"

View file

@ -0,0 +1,4 @@
{
"var1": "a",
"var2": "a"
}

View file

@ -0,0 +1,4 @@
{
"var1": "a",
"var2": "a"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,3 @@
ROUGAIL_VAR1="string1,string2,string3"
ROUGAIL_VAR2="string1"
ROUGAIL_VAR3="string1"

View file

@ -0,0 +1,3 @@
ROUGAIL_VAR1="string1,string2,string3"
ROUGAIL_VAR2="string1"
ROUGAIL_VAR3="string1"

View file

@ -0,0 +1,9 @@
{
"var1": [
"string1",
"string2",
"string3"
],
"var2": "string1",
"var3": "string1"
}

View file

@ -0,0 +1,9 @@
{
"var1": [
"a",
"b",
"c"
],
"var2": "a",
"var3": "a"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,3 @@
ROUGAIL_VAR1="string1,string2,string3"
ROUGAIL_VAR2="string1"
ROUGAIL_FAMILY.VAR3="string1"

View file

@ -0,0 +1,3 @@
ROUGAIL_VAR1="string1,string2,string3"
ROUGAIL_VAR2="string1"
ROUGAIL_FAMILY.VAR3="string1"

View file

@ -0,0 +1,9 @@
{
"var1": [
"string1",
"string2",
"string3"
],
"var2": "string1",
"family.var3": "string1"
}

View file

@ -0,0 +1,9 @@
{
"var1": [
"a",
"b",
"c"
],
"var2": "a",
"family.var3": "a"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="#b1b1b1"
ROUGAIL_VAR2="#b2b1b1"

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="#b1b1b1"
ROUGAIL_VAR2="#b2b1b1"

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,4 @@
{
"var1": "#b1b1b1",
"var2": "#b2b1b1"
}

View file

@ -0,0 +1,4 @@
{
"var1": "#a1a1a1",
"var2": "#a1a1a1"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,3 @@
ROUGAIL_SECRET1="onE7vaLues_len1"
ROUGAIL_SECRET2="onE7vaLues"
ROUGAIL_SECRET3="onE7vaLues"

View file

@ -0,0 +1,3 @@
ROUGAIL_SECRET1="onE7vaLues_len1"
ROUGAIL_SECRET2="onE7vaLues"
ROUGAIL_SECRET3="onE7vaLues"

View file

@ -0,0 +1 @@
ROUGAIL_SECRET1="onE7vaLues_len1"

View file

@ -0,0 +1,5 @@
{
"secret1": "onE7vaLues_len1",
"secret2": "onE7vaLues",
"secret3": "onE7vaLues"
}

View file

@ -0,0 +1,5 @@
{
"secret1": "onE7vaLues_len1",
"secret2": "value",
"secret3": "value"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="string1"
ROUGAIL_VAR2="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="string1"
ROUGAIL_VAR2="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="string1"
ROUGAIL_VAR2="string1"

View file

@ -0,0 +1,4 @@
{
"var1": "string1",
"var2": "string1"
}

View file

@ -0,0 +1,4 @@
{
"var1": "string1",
"var2": "string1"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="string1"
ROUGAIL_VAR2="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="string1"
ROUGAIL_VAR2="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_VAR1="string1"
ROUGAIL_VAR2="string1"

View file

@ -0,0 +1,4 @@
{
"var1": "string1",
"var2": "string1"
}

View file

@ -0,0 +1,4 @@
{
"var1": "string1",
"var2": "string1"
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"var2\" (a second variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"var2\" (a second variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"var1\" (a first variable) because has property \"hidden\" (unknown is undefined)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="string1,string2,string3"
ROUGAIL_VARIABLE="string1,string2,string3"

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="string1,string2,string3"
ROUGAIL_VARIABLE="string1,string2,string3"

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="string1,string2,string3"
ROUGAIL_VARIABLE="string1,string2,string3"

View file

@ -0,0 +1,12 @@
{
"condition": [
"string1",
"string2",
"string3"
],
"variable": [
"string1",
"string2",
"string3"
]
}

View file

@ -0,0 +1,12 @@
{
"condition": [
"string1",
"string2",
"string3"
],
"variable": [
"string1",
"string2",
"string3"
]
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="string1,string2,string3"
ROUGAIL_VARIABLE="string1,string2,string3"

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="string1,string2,string3"
ROUGAIL_VARIABLE="string1,string2,string3"

View file

@ -0,0 +1 @@
ROUGAIL_VARIABLE="string1,string2,string3"

View file

@ -0,0 +1,12 @@
{
"condition": [
"string1",
"string2",
"string3"
],
"variable": [
"string1",
"string2",
"string3"
]
}

View file

@ -0,0 +1,11 @@
{
"condition": [
"val1",
"val2"
],
"variable": [
"string1",
"string2",
"string3"
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"family\" (possibly hidden family) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"leader.follower\" (a follower) because has property \"disabled\" (disabled)"
],
"warnings": []
]
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,5 @@
ROUGAIL_VAR="val.1,val.2"
ROUGAIL_DYNVAL_1.VAR1="string1"
ROUGAIL_DYNVAL_1.VAR2="string1"
ROUGAIL_DYNVAL_2.VAR1="string1"
ROUGAIL_DYNVAL_2.VAR2="string1"

View file

@ -0,0 +1,4 @@
ROUGAIL_DYNVAL_1.VAR1="string1"
ROUGAIL_DYNVAL_1.VAR2="string1"
ROUGAIL_DYNVAL_2.VAR1="string1"
ROUGAIL_DYNVAL_2.VAR2="string1"

View file

@ -0,0 +1,10 @@
{
"var": [
"val.1",
"val.2"
],
"dynval_1.var1": "string1",
"dynval_1.var2": "string1",
"dynval_2.var1": "string1",
"dynval_2.var2": "string1"
}

View file

@ -0,0 +1,10 @@
{
"var": [
"val.1",
"val.2"
],
"dynval_1.var1": "val.1",
"dynval_1.var2": "val.1",
"dynval_2.var1": "val.2",
"dynval_2.var2": "val.2"
}

View file

@ -1,7 +1,7 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled)",
"cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled)"
],
"warnings": []
]
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL.VAR1="a"
ROUGAIL.VAR2="a"

View file

@ -0,0 +1,2 @@
ROUGAIL.VAR1="a"
ROUGAIL.VAR2="a"

View file

@ -0,0 +1 @@
ROUGAIL.VAR1="a"

View file

@ -0,0 +1,4 @@
{
"rougail.var1": "a",
"rougail.var2": "a"
}

View file

@ -0,0 +1,4 @@
{
"rougail.var1": "a",
"rougail.var2": "a"
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,3 @@
ROUGAIL.VAR1="string1,string2,string3"
ROUGAIL.VAR2="string1"
ROUGAIL.VAR3="string1"

View file

@ -0,0 +1,3 @@
ROUGAIL.VAR1="string1,string2,string3"
ROUGAIL.VAR2="string1"
ROUGAIL.VAR3="string1"

View file

@ -0,0 +1,9 @@
{
"rougail.var1": [
"string1",
"string2",
"string3"
],
"rougail.var2": "string1",
"rougail.var3": "string1"
}

View file

@ -0,0 +1,9 @@
{
"rougail.var1": [
"a",
"b",
"c"
],
"rougail.var2": "a",
"rougail.var3": "a"
}

Some files were not shown because too many files have changed in this diff Show more