Compare commits
No commits in common. "21f1526891b3f924457acd7b0c9bd27c35d5005a" and "656df6068f1dd5fa18ac1bba83c8d7e70e1adbfa" have entirely different histories.
21f1526891
...
656df6068f
9 changed files with 10 additions and 24 deletions
|
|
@ -1,10 +1,3 @@
|
|||
## 1.2.0a40 (2025-11-03)
|
||||
|
||||
### Feat
|
||||
|
||||
- can add name for a tiramisu config
|
||||
- active warnings for validators
|
||||
|
||||
## 1.2.0a39 (2025-10-29)
|
||||
|
||||
### Feat
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "rougail"
|
||||
version = "1.2.0a40"
|
||||
version = "1.2.0a39"
|
||||
|
||||
[tool.commitizen]
|
||||
name = "cz_conventional_commits"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
|||
|
||||
[project]
|
||||
name = "rougail-base"
|
||||
version = "1.2.0a40"
|
||||
version = "1.2.0a39"
|
||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||
readme = "README.md"
|
||||
description = "A consistency handling system that was initially designed in the configuration management"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
|||
|
||||
[project]
|
||||
name = "rougail"
|
||||
version = "1.2.0a40"
|
||||
version = "1.2.0a39"
|
||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||
description = "A consistency handling system that was initially designed in the configuration management"
|
||||
classifiers = [
|
||||
|
|
@ -18,7 +18,7 @@ classifiers = [
|
|||
dependencies = [
|
||||
"ruamel.yaml ~= 0.18.6",
|
||||
"pydantic ~= 2.9.2",
|
||||
"rougail-base == 1.2.0a40",
|
||||
"rougail-base == 1.2.0a39",
|
||||
]
|
||||
|
||||
[tool.flit.sdist]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = "1.2.0a40"
|
||||
__version__ = "1.2.0a39"
|
||||
|
|
|
|||
|
|
@ -81,7 +81,6 @@ class _RougailConfig:
|
|||
self.add_extra_options,
|
||||
)
|
||||
if self.root:
|
||||
rougailconfig.generate_config()
|
||||
rougailconfig.config.value.importation(self.config.value.exportation())
|
||||
rougailconfig.config.property.importation(
|
||||
self.config.property.exportation()
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ You should have received a copy of the GNU Lesser General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from typing import Optional
|
||||
from tiramisu import Config
|
||||
from warnings import warn
|
||||
|
||||
|
|
@ -48,12 +47,11 @@ class Rougail(UserDatas):
|
|||
exec(tiram_obj, custom_types, optiondescription) # pylint: disable=W0122
|
||||
return optiondescription["option_0"]
|
||||
|
||||
def run(self, *, name: Optional[str] = None):
|
||||
def run(self):
|
||||
"""Get Tiramisu Config"""
|
||||
if not self.config:
|
||||
self.config = Config(
|
||||
self.get_root_option(),
|
||||
name=name,
|
||||
display_name=tiramisu_display_name,
|
||||
)
|
||||
self.config.property.read_write()
|
||||
|
|
|
|||
|
|
@ -39,10 +39,10 @@ main_structural_directories:
|
|||
disabled:
|
||||
jinja: >-
|
||||
{{% if 'directory' not in _.step.structural %}}
|
||||
directory is not in _.step.structural
|
||||
directory is not in _.step.structural
|
||||
{{% endif %}}
|
||||
{{% if cli is defined and cli.versions is defined and cli.versions %}}
|
||||
cli.versions is specified
|
||||
cli.versions is specified
|
||||
{{% endif %}}
|
||||
|
||||
sort_structural_files_all:
|
||||
|
|
@ -51,7 +51,7 @@ sort_structural_files_all:
|
|||
disabled:
|
||||
jinja: >-
|
||||
{{% if 'directory' not in _.step.structural %}}
|
||||
directory is not in _.step.structural
|
||||
directory is not in _.step.structural
|
||||
{{% endif %}}
|
||||
|
||||
main_namespace:
|
||||
|
|
|
|||
|
|
@ -122,11 +122,7 @@ class UserDatas:
|
|||
identifiers.append(config.identifiers()[-1])
|
||||
except AttributeError:
|
||||
# try to found the good dynamic family
|
||||
try:
|
||||
lists = config.list(uncalculated=True)
|
||||
except PropertiesOptionError:
|
||||
lists = []
|
||||
for tconfig in []:
|
||||
for tconfig in config.list(uncalculated=True):
|
||||
if not tconfig.isdynamic(only_self=True):
|
||||
# it's not a dynamic variable
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue