Compare commits

...

2 commits

Author SHA1 Message Date
5a9057a7f1 bump: version 0.1.0a17 → 0.1.0a18 2026-01-21 08:58:32 +01:00
ce43e5273f fix: update tests 2026-01-20 12:38:03 +01:00
40 changed files with 120 additions and 11 deletions

View file

@ -1,3 +1,9 @@
## 0.1.0a18 (2026-01-21)
### Fix
- update tests
## 0.1.0a17 (2025-12-30) ## 0.1.0a17 (2025-12-30)
### Fix ### Fix

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project] [project]
name = "rougail.user_data_environment" name = "rougail.user_data_environment"
version = "0.1.0a17" version = "0.1.0a18"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}] authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md" readme = "README.md"
description = "Rougail user_data environment" description = "Rougail user_data environment"

View file

@ -1 +1 @@
__version__ = "0.1.0a17" __version__ = "0.1.0a18"

View file

@ -1,6 +1,6 @@
""" """
Silique (https://www.silique.fr) Silique (https://www.silique.fr)
Copyright (C) 2024-2025 Copyright (C) 2024-2026
distribued with GPL-2 or later license distribued with GPL-2 or later license

View file

@ -2,7 +2,7 @@
Config file for Rougail-user-data-environment Config file for Rougail-user-data-environment
Silique (https://www.silique.fr) Silique (https://www.silique.fr)
Copyright (C) 2024-2025 Copyright (C) 2024-2026
distribued with GPL-2 or later license distribued with GPL-2 or later license

View file

@ -1,6 +1,6 @@
""" """
Silique (https://www.silique.fr) Silique (https://www.silique.fr)
Copyright (C) 2024-2025 Copyright (C) 2024-2026
distribued with GPL-2 or later license distribued with GPL-2 or later license

View file

@ -1,6 +1,6 @@
"""Internationalisation utilities """Internationalisation utilities
Silique (https://www.silique.fr) Silique (https://www.silique.fr)
Copyright (C) 2025 Copyright (C) 2025-2026
This program is free software: you can redistribute it and/or modify it This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the under the terms of the GNU Lesser General Public License as published by the

View file

@ -1,6 +1,6 @@
{ {
"errors": [], "errors": [],
"warnings": [ "warnings": [
"variable or family \"unknown\" does not exist, it will be ignored when loading from environment variable" "variable or family \"unknown\" does not exist so cannot load \"unknown\", it will be ignored when loading from environment variable"
] ]
} }

View file

@ -3,7 +3,7 @@
"warnings": [ "warnings": [
[ [
[ [
"is a family so we cannot set the value \"test\", it will be ignored when loading from environment variable", "it's a family so we cannot set the value \"test\", it will be ignored when loading from environment variable",
"family", "family",
null null
] ]

View file

@ -1,6 +1,6 @@
{ {
"errors": [], "errors": [],
"warnings": [ "warnings": [
"variable or family \"dyn_unknown\" does not exist, it will be ignored when loading from environment variable" "variable or family \"dyn_unknown\" does not exist so cannot load \"dyn_unknown.variable\", it will be ignored when loading from environment variable"
] ]
} }

View file

@ -1,6 +1,12 @@
{ {
"errors": [], "errors": [],
"warnings": [ "warnings": [
"variable or family \"leadership.unknwon\" does not exist, it will be ignored when loading from environment variable" [
[
"variable or family \"unknwon\" does not exist so cannot load \"leadership.unknwon\", it will be ignored when loading from environment variable",
"leadership",
null
]
]
] ]
} }

View file

@ -3,7 +3,7 @@
"warnings": [ "warnings": [
[ [
[ [
"index \"1\" is greater than the leadership length \"1\" for option \"follower\" in environment variable", "index \"1\" is greater than the leadership length \"1\" for option \"follower\", it will be ignored when loading from environment variable",
"leadership.follower", "leadership.follower",
null null
] ]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,2 @@
ROUGAIL_FAMILY1.VAR="string1"
ROUGAIL_FAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_FAMILY1.VAR="string1"
ROUGAIL_FAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_FAMILY1.VAR="string1"
ROUGAIL_FAMILY2oVAR="string1"

View file

@ -0,0 +1,4 @@
{
"family1.var": "string1",
"family2.var": "string1"
}

View file

@ -0,0 +1,4 @@
{
"family1.var": "string1",
"family2.var": "string1"
}

View file

@ -0,0 +1,19 @@
{
"errors": [],
"warnings": [
[
[
"variable has property disabled, it will be ignored when loading from environment variable",
"rougail.condition",
null
]
],
[
[
"family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from environment variable",
"rougail.variable",
null
]
]
]
}

View file

@ -0,0 +1,12 @@
{
"errors": [],
"warnings": [
[
[
"family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from environment variable",
"rougail.variable",
null
]
]
]
}

View file

@ -0,0 +1,2 @@
ROUGAIL.CONDITION="True"
ROUGAILoVARIABLE="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.CONDITION="True"
ROUGAILoVARIABLE="string1"

View file

@ -0,0 +1 @@
ROUGAIL.VARIABLE="string1"

View file

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

View file

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

View file

@ -0,0 +1,2 @@
ROUGAIL.FAMILY1.VAR="string1"
ROUGAILoFAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.FAMILY1.VAR="string1"
ROUGAILoFAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.FAMILY1.VAR="string1"
ROUGAILoFAMILY2oVAR="string1"

View file

@ -0,0 +1,4 @@
{
"rougail.family1.var": "string1",
"rougail.family2.var": "string1"
}

View file

@ -0,0 +1,4 @@
{
"rougail.family1.var": "string1",
"rougail.family2.var": "string1"
}