Compare commits

..

No commits in common. "6830bbcc12b3afe097c336be04cf58ef22d0b2b8" and "cd9686011c7c27e482a20c5905c5cac2438ce1e5" have entirely different histories.

9 changed files with 18 additions and 28 deletions

View file

@ -1,9 +1,3 @@
## 0.2.0a36 (2025-12-22)
### Fix
- add permissive properties for unaccessible modes
## 0.2.0a35 (2025-12-22)
### Fix

View file

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2025-12-22 19:05+0100\n"
"PO-Revision-Date: 2025-12-22 19:06+0100\n"
"POT-Creation-Date: 2025-12-22 15:24+0100\n"
"PO-Revision-Date: 2025-12-22 15:28+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
@ -16,23 +16,23 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.8\n"
#: src/rougail/cli/__main__.py:241
#: src/rougail/cli/__main__.py:237
msgid "cannot find \"user_data\" module \"{0}\""
msgstr "ne peut trouve le module \"user_data\" \"{0}\""
#: src/rougail/cli/__main__.py:249
#: src/rougail/cli/__main__.py:245
msgid ""
"interactive user data \"{0}\" is loader before uninteractive user data "
"\"{1}\""
msgstr ""
"les données utilisateur interactifs \"{0}\" sont chargées avant les données "
"Les données utilisateur interactifs \"{0}\" sont chargées avant les données "
"utilisateur non interactif \"{1}\""
#: src/rougail/cli/__main__.py:285
#: src/rougail/cli/__main__.py:281
msgid "cannot find cli file for \"output_name\" module \"{0}\""
msgstr "ne peut trouve le fichier cli pour le module \"output_name\" \"{0}\""
#: src/rougail/cli/__main__.py:310
#: src/rougail/cli/__main__.py:306
msgid "ERROR: {0}"
msgstr "ERREUR : {0}"
@ -99,8 +99,8 @@ msgstr ""
"Pour identifier les différentes variables, on utilise la description de la "
"variable. Il y a quatre type de descriptions:\n"
"\n"
" - name_and_description : qui contient le nom de la variable suivi de "
"sa description\n"
" - name_and_description : qui contient le nom de la variable suivi de sa "
"description\n"
" - path : le chemin de la variable\n"
" - name : le nom de la variable\n"
" - description : la description de la variable"

View file

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-12-22 19:06+0100\n"
"POT-Creation-Date: 2025-12-22 15:31+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -15,19 +15,19 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
#: src/rougail/cli/__main__.py:241
#: src/rougail/cli/__main__.py:237
msgid "cannot find \"user_data\" module \"{0}\""
msgstr ""
#: src/rougail/cli/__main__.py:249
#: src/rougail/cli/__main__.py:245
msgid "interactive user data \"{0}\" is loader before uninteractive user data \"{1}\""
msgstr ""
#: src/rougail/cli/__main__.py:285
#: src/rougail/cli/__main__.py:281
msgid "cannot find cli file for \"output_name\" module \"{0}\""
msgstr ""
#: src/rougail/cli/__main__.py:310
#: src/rougail/cli/__main__.py:306
msgid "ERROR: {0}"
msgstr ""

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.cli"
version = "0.2.0a36"
version = "0.2.0a35"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "CLI for Rougail"

View file

@ -195,14 +195,10 @@ def load_user_data(rougailconfig):
subconfig.property.setdefault(
frozenset(subconfig.property.default("read_only", "remove") | (read_write - read_only)), "read_only", "remove"
)
for p in read_write:
subconfig.permissive.add(p)
if read_only:
subconfig.property.setdefault(
frozenset(subconfig.property.default("read_only", "append") | read_only), "read_only", "append"
)
for p in read_only:
subconfig.permissive.add(p)
if read_write or read_only:
subconfig.property.read_write()
except:

View file

@ -1 +1 @@
__version__ = "0.2.0a36"
__version__ = "0.2.0a35"

View file

@ -1 +1 @@
["family \"configuration rougail-json\" has property disabled, so cannot access to \"test mandatories variables before display in json\", it will be ignored when loading from the YAML file \"warnings.yml\""]
["family \"configuration rougail-json\" is disabled, so cannot access to \"test mandatories variables before display in json\", it will be ignored when loading from the YAML file \"warnings.yml\""]

View file

@ -1 +1 @@
["family \"configuration rougail-json\" has property disabled, so cannot access to \"test mandatories variables before display in json\", it will be ignored when loading from the YAML file \"warnings3.yml\"", "\"validators\" is a calculation for my_variable but has no description in \"structures/file.yml\" and \"structures_warnings/file.yml\""]
["family \"configuration rougail-json\" is disabled, so cannot access to \"test mandatories variables before display in json\", it will be ignored when loading from the YAML file \"warnings3.yml\"", "\"validators\" is a calculation for my_variable but has no description in \"structures/file.yml\" and \"structures_warnings/file.yml\""]