Commit graph

26 commits

Author SHA1 Message Date
48a193e553 [tutorial v1.1_027)] A conditional disabled family with a variable (config and doc) 2025-11-04 19:22:14 +01:00
ae8158d531 [tutorial 026] A disabled family 2025-11-04 19:22:13 +01:00
a7169c06b8 [tutorial v1.1_026)] A disabled family (config and doc) 2025-11-04 19:22:13 +01:00
f06a649d1e [tutorial 025] A variable with type "port" 2025-11-04 19:22:12 +01:00
c8bea6ff43 [tutorial v1.1_025)] A variable with type "port" (config and doc) 2025-11-04 19:22:12 +01:00
16c46a1329 [tutorial 024] A variable with type's parameters 2025-11-04 19:22:11 +01:00
50ccc1bdaf [tutorial v1.1_024)] A variable with type's parameters (config and doc) 2025-11-04 19:22:11 +01:00
eeb6289985 [tutorial 023] A variable with type "domainname" 2025-11-04 19:22:10 +01:00
3409f3d8d7 [tutorial v1.1_023)] A variable with type "domainname" (config and doc) 2025-11-04 19:22:10 +01:00
c7fb9c9fa1 [tutorial 022] A variable inside sub family 2025-11-04 19:22:09 +01:00
fdab634d4e [tutorial v1.1_022)] A variable inside sub family (config and doc) 2025-11-04 19:22:09 +01:00
7b427c9897 [tutorial 021] Group variables inside a sub family
Inside a family, we can have variables or families.

The "type" for family "manual" became unecessary because container an other family, so it's not a variable.
The description can now be has family comment.

In disabled attribute, it's better tu use relative path (we will see the reason in an other slide).
2025-11-04 19:22:08 +01:00
4427c75b04 [tutorial v1.1_021)] Group variables inside a sub family (config and doc) 2025-11-04 19:22:08 +01:00
d332ca1707 [tutorial 020] Group variables inside a family
The "manual" mode structural descriptions are write in a new files to separate things. But Rougail will concatenate variables and families.

We create a family, which will contain other variables.

This family has:

- a description
- a type

As there is no variable inside this family, the type is mandatory. Without it, Rougail will create a variable.

In fact, this family will be deleted by Rougail too because it is empty.
2025-11-04 19:22:07 +01:00
454a89d93a [tutorial v1.1_020)] Group variables inside a family (config and doc) 2025-11-04 19:22:07 +01:00
08e7754b62 [tutorial 013] The variable is a "choice" variable
"Foo" should not be an option to the "proxy_mode" variable.

Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected.

We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices.
2025-11-04 19:22:06 +01:00
d7f493fa9a [tutorial v1.1_013)] The variable is a "choice" variable (config and doc) 2025-11-04 19:22:06 +01:00
8aa2f8dc5d [tutorial 012] Set a default value
Now we can define the default value of this variable.

If the user doesn't touch this variable's value, the value is "No proxy"

As user intervention is no more required, so the variable change it's default mode too (from "basic" to "standard").
2025-11-04 19:22:06 +01:00
220040bd41 [tutorial v1.1_012)] Set a default value (config and doc) 2025-11-04 19:22:05 +01:00
4763a5265d [tutorial 011] Describe the variable
We can add a description to this first variable.

This information is useful for:

- documentation
- error message
- help user to known which value to set to this variable (for example with [the user data plugin Questionary](https://forge.cloud.silique.fr/stove/rougail-user-data-questionary)).
2025-11-04 19:22:05 +01:00
023897764f [tutorial v1.1_011)] Describe the variable (config and doc) 2025-11-04 19:22:05 +01:00
2cc3c466b2 [tutorial 010] A first variable with only a name 2025-11-04 19:22:04 +01:00
5ac179f65d [tutorial v1.1_010)] A first variable with only a name (config and doc) 2025-11-04 19:22:04 +01:00
12000969d6 [tutorial 000] An empty structured file with format version 2025-11-04 19:22:03 +01:00
920cc16ccd [tutorial v1.1_000)] An empty structured file with format version (config and doc) 2025-11-04 19:22:03 +01:00
2ee8194c60 [init] Discover Rougail 2025-11-04 19:22:02 +01:00