Compare commits

..

No commits in common. "61dc196e85e6e5a74976596213ab446f0d6cd980" and "f40becb2ce88b7388a23fe0ae6de14885b67af9f" have entirely different histories.

77 changed files with 17 additions and 355 deletions

View file

@ -1,11 +1,3 @@
## 0.2.0a14 (2025-10-10)
### Fix
- update test
- tests
- tests for formatter
## 0.2.0a13 (2025-09-29)
### Feat

View file

@ -1,2 +1,2 @@
# rougail-user-data-yaml
# rougail-user-data-file

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.user_data_yaml"
version = "0.2.0a14"
version = "0.2.0a13"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "Rougail user_data yaml"
@ -13,6 +13,9 @@ license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",

View file

@ -1 +1 @@
__version__ = "0.2.0a14"
__version__ = "0.2.0a13"

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"the value \"test\" is an invalid integer for \"variable_int\", which is not an integer, it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/01_wrong_type.yaml\""
"the value \"test\" is invalid for \"variable_int\", which is not an integer, it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/01_wrong_type.yaml\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"the value \"**********\" is an invalid password for \"secret\", at least 10 characters are required, it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/04_value_secret.yaml\""
"the value \"**********\" is invalid for \"secret\", at least 10 characters are required, it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/04_value_secret.yaml\""
]
}

View file

@ -5,8 +5,6 @@
"var3": "string1",
"var4": "string1",
"var5": "string1",
"var6": "string1",
"var7": "string1",
"var8": "string1"
"var6": "string1"
}
}

View file

@ -5,8 +5,6 @@
"var3": "string1",
"var4": "string1",
"var5": "string1",
"var6": "string1",
"var7": "string1",
"var8": "string1"
"var6": "string1"
}
}

View file

@ -4,7 +4,5 @@
"rougail.var3": "string1",
"rougail.var4": "string1",
"rougail.var5": "string1",
"rougail.var6": "string1",
"rougail.var7": "string1",
"rougail.var8": "string1"
"rougail.var6": "string1"
}

View file

@ -4,7 +4,5 @@
"rougail.var3": "string1",
"rougail.var4": "value",
"rougail.var5": "value",
"rougail.var6": "value",
"rougail.var7": "8080",
"rougail.var8": "true"
"rougail.var6": "value"
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.variable2\" (a seconde variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_boolean/file/all.yml\""
]
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.variable2\" (a seconde variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_boolean/file/mandatories.yml\""
]
}

View file

@ -1,7 +0,0 @@
{
"rougail": {
"condition": "string1",
"variable1": "string1",
"variable2": "string1"
}
}

View file

@ -1,7 +0,0 @@
{
"rougail": {
"condition": "string1",
"variable1": "string1",
"variable2": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"variable1": "string1",
"variable2": "string1"
}
}

View file

@ -1,4 +0,0 @@
{
"rougail.condition": "string1",
"rougail.variable1": "string1"
}

View file

@ -1,4 +0,0 @@
{
"rougail.condition": "no",
"rougail.variable1": "string1"
}

View file

@ -1,8 +1,8 @@
{
"errors": [],
"warnings": [
"variable \"rougail.var1\" (a first variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\"",
"variable \"rougail.var2\" (a first variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\"",
"variable \"rougail.var3\" (a second variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\"",
"variable \"rougail.var4\" (a forth variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\""
"variable \"rougail.var3\" (a second variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\""
]
}

View file

@ -3,7 +3,6 @@
"condition": true,
"var1": "string1",
"var2": "string1",
"var3": "string1",
"var4": "string1"
"var3": "string1"
}
}

View file

@ -3,7 +3,6 @@
"condition": true,
"var1": "string1",
"var2": "string1",
"var3": "string1",
"var4": "string1"
"var3": "string1"
}
}

View file

@ -1,6 +1,6 @@
{
"rougail.condition": true,
"rougail.var1": "string1",
"rougail.var1": null,
"rougail.var2": null,
"rougail.var3": null,
"rougail.var4": null

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.variable\" (a variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable10/file/all.yml\""
]
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.variable\" (a variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable10/file/mandatories.yml\""
]
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,5 +0,0 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -1,3 +0,0 @@
{
"rougail.condition": true
}

View file

@ -1,3 +0,0 @@
{
"rougail.condition": true
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.condition\" (a condition) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable5/file/all.yml\""
]
}

View file

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

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,5 +0,0 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -1,4 +0,0 @@
{
"rougail.condition": false,
"rougail.variable": "string1"
}

View file

@ -1,4 +0,0 @@
{
"rougail.condition": false,
"rougail.variable": "string1"
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.condition\" (a condition) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable6/file/all.yml\""
]
}

View file

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

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,5 +0,0 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -1,3 +0,0 @@
{
"rougail.variable": "string1"
}

View file

@ -1,3 +0,0 @@
{
"rougail.variable": "string1"
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.variable\" (a variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable7/file/all.yml\""
]
}

View file

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

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,5 +0,0 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -1,3 +0,0 @@
{
"rougail.condition": true
}

View file

@ -1,4 +0,0 @@
{
"rougail.condition": false,
"rougail.variable": "string1"
}

View file

@ -1,7 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.condition\" (a condition) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable8/file/all.yml\"",
"variable \"rougail.variable\" (a variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable8/file/all.yml\""
]
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.variable\" (a variable) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable8/file/mandatories.yml\""
]
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,5 +0,0 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -1,3 +0,0 @@
{
"rougail.condition": true
}

View file

@ -1,3 +0,0 @@
{
"rougail.condition": true
}

View file

@ -1,6 +0,0 @@
{
"errors": [],
"warnings": [
"variable \"rougail.condition\" (a condition) is disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable9/file/all.yml\""
]
}

View file

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

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,6 +0,0 @@
{
"rougail": {
"condition": true,
"variable": "string1"
}
}

View file

@ -1,5 +0,0 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -1,3 +0,0 @@
{
"rougail.variable": "string1"
}

View file

@ -1,3 +0,0 @@
{
"rougail.variable": "string1"
}

View file

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

View file

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

View file

@ -1,12 +0,0 @@
{
"rougail": {
"my_family": {
"dynamic": [
"string1",
"string2",
"string3"
],
"var": true
}
}
}

View file

@ -1,12 +0,0 @@
{
"rougail": {
"my_family": {
"dynamic": [
"string1",
"string2",
"string3"
],
"var": true
}
}
}

View file

@ -1,8 +0,0 @@
{
"rougail.my_family.dynamic": [
"string1",
"string2",
"string3"
],
"rougail.my_family.var": true
}

View file

@ -1,7 +0,0 @@
{
"rougail.my_family.dynamic": [
"val1",
"val2"
],
"rougail.my_family.var": true
}

View file

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

View file

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

View file

@ -1,7 +0,0 @@
{
"rougail": {
"my_family": {
"default": true
}
}
}

View file

@ -1,7 +0,0 @@
{
"rougail": {
"my_family": {
"default": true
}
}
}

View file

@ -1,3 +0,0 @@
{
"rougail.my_family.default": true
}

View file

@ -1,3 +0,0 @@
{
"rougail.my_family.default": true
}