Commit graph

27 commits

Author SHA1 Message Date
164b87f55e [tutorial 060] A variable with type "domainname", parameters type and disabled 2025-11-04 19:22:27 +01:00
9310a0f78c [tutorial 051] A conditional disabled variable 2025-11-04 19:22:26 +01:00
7b5402dc67 [tutorial 050] A variable with type "web_address" 2025-11-04 19:22:25 +01:00
68f4ecabcf [tutorial 044] A conditional disabled variable with identifier 2025-11-04 19:22:24 +01:00
85d0f433ed [tutorial 043] Jinja with a description 2025-11-04 19:22:23 +01:00
011e278245 [tutorial 042] Jinja with a parameter 2025-11-04 19:22:22 +01:00
35000b2295 [tutorial 041] A conditional hidden family with Jinja 2025-11-04 19:22:21 +01:00
025ea8f8cf [tutorial 040] Family: a dynamic family 2025-11-04 19:22:20 +01:00
18b09c19d2 [tutorial 035] Variable type and parameters type are copied with default value 2025-11-04 19:22:19 +01:00
fea6b4b5b2 [tutorial 034] A calculated default value 2025-11-04 19:22:19 +01:00
8013b0a6d1 [tutorial 033] A conditional hidden family with a variable 2025-11-04 19:22:18 +01:00
efaea5f6dc [tutorial 032] An hidden family 2025-11-04 19:22:17 +01:00
ac1509d481 [tutorial 031] Copy HTTP manual proxy to HTTPS manual proxy 2025-11-04 19:22:16 +01:00
6fd574f78a [tutorial 030] A variable with type "boolean" 2025-11-04 19:22:15 +01:00
66cf409ac0 [tutorial 027] A conditional disabled family with a variable 2025-11-04 19:22:14 +01:00
ae8158d531 [tutorial 026] A disabled family 2025-11-04 19:22:13 +01:00
f06a649d1e [tutorial 025] A variable with type "port" 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
eeb6289985 [tutorial 023] A variable with type "domainname" 2025-11-04 19:22:10 +01:00
c7fb9c9fa1 [tutorial 022] A variable inside sub family 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
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
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
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
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
2cc3c466b2 [tutorial 010] A first variable with only a name 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