Commit graph

35 commits

Author SHA1 Message Date
36f2cbd7b5 [tutorial 019] Family in "shorthand" mode
The sub family is now in "shorthand" mode. In this mode we can only define "name" and "description" attributes.

Inside the sub family we add two variables (with domainname and port types).
2024-10-23 10:58:28 +02:00
e194a0ee2c [tutorial 019] Family in "shorthand" mode (config and doc) 2024-10-23 10:58:28 +02:00
5d88053f44 [tutorial 018] Family in "shorthand" mode
The sub family is now in "shorthand" mode. In this mode we can only define "name" and "description" attributes.

Inside the sub family we add two variables (with domainname and port types).
2024-10-23 10:58:27 +02:00
a76338ab9b [tutorial 018] Family in "shorthand" mode (config and doc) 2024-10-23 10:58:27 +02:00
cf042a0177 [tutorial 017] Family in "shorthand" mode
The sub family is now in "shorthand" mode. In this mode we can only define "name" and "description" attributes.

Inside the sub family we add two variables (with domainname and port types).
2024-10-23 10:58:25 +02:00
45c15bcdb6 [tutorial 017] Family in "shorthand" mode (config and doc) 2024-10-23 10:58:25 +02:00
c0ff46d1df [tutorial 016] Family in "shorthand" mode
The sub family is now in "shorthand" mode. In this mode we can only define "name" and "description" attributes.

Inside the sub family we add two variables (with domainname and port types).
2024-10-23 10:58:24 +02:00
310e88cc92 [tutorial 016] Family in "shorthand" mode (config and doc) 2024-10-23 10:58:24 +02:00
00110194c5 [tutorial 015] Family in "shorthand" mode
The sub family is now in "shorthand" mode. In this mode we can only define "name" and "description" attributes.

Inside the sub family we add two variables (with domainname and port types).
2024-10-23 10:58:23 +02:00
ead8c25e78 [tutorial 015] Family in "shorthand" mode (config and doc) 2024-10-23 10:58:23 +02:00
da95f0ca08 [tutorial 014] Family in "shorthand" mode
The sub family is now in "shorthand" mode. In this mode we can only define "name" and "description" attributes.

Inside the sub family we add two variables (with domainname and port types).
2024-10-23 10:58:22 +02:00
587a701cbe [tutorial 014] Family in "shorthand" mode (config and doc) 2024-10-23 10:58:22 +02:00
a1765b0b1e [tutorial 013] 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.

In disabled attribute, it's better tu use relative path (we will see the reason in an other slide).
2024-10-23 10:58:20 +02:00
57e4e8e84e [tutorial 013] A sub family (config and doc) 2024-10-23 10:58:20 +02:00
b99325d5c6 [tutorial 012] Conditional desactived family
This family will be desactived if "proxy_mode" is not "manual proxy configuration".

Desactived a variable or a family means that this variable will never be accessible.
2024-10-23 10:58:19 +02:00
fb9df03118 [tutorial 012] Conditional desactived family (config and doc) 2024-10-23 10:58:19 +02:00
733343b748 [tutorial 011] Conditional desactived family
This family will be desactived if "proxy_mode" is not "manual proxy configuration".

Desactived a variable or a family means that this variable will never be accessible.
2024-10-23 10:58:18 +02:00
00554ccd78 [tutorial 011] Conditional desactived family (config and doc) 2024-10-23 10:58:18 +02:00
345f0bc130 [tutorial 010] 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.
2024-10-23 10:58:17 +02:00
665e80e79c [tutorial 010] A family (config and doc) 2024-10-23 10:58:17 +02:00
ab5bb691bb [tutorial 007] Choice type is optional
The type is optional in choice type (if we have choices attributes, it's a choice option).
2024-10-23 10:58:16 +02:00
e14e968bfe [tutorial 007] Choice type is optional (config and doc) 2024-10-23 10:58:16 +02:00
4152d393cb [tutorial 006] A variable with type choice
"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.
2024-10-23 10:58:14 +02:00
2022c20632 [tutorial 006] A variable with type choice (config and doc) 2024-10-23 10:58:14 +02:00
982beb924d [tutorial 005] 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").
2024-10-23 10:58:13 +02:00
ed7db52004 [tutorial 005] A default value (config and doc) 2024-10-23 10:58:13 +02:00
26bb436f06 [tutorial 004] The variable description
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/gnunux/rougail-user-data-questionary)).
2024-10-23 10:58:11 +02:00
7ea2900563 [tutorial 004] The variable description (config and doc) 2024-10-23 10:58:11 +02:00
6db0bb5ad1 [tutorial 003] A first variable with only a name 2024-10-23 10:58:10 +02:00
fc33bedf02 [tutorial 003] A first variable with only a name (config and doc) 2024-10-23 10:58:10 +02:00
4c6e073d96 [tutorial 002] The format version in commandline 2024-10-23 10:58:09 +02:00
ea2ee1de8a [tutorial 002] The format version in commandline (config and doc) 2024-10-23 10:58:09 +02:00
337af91380 [tutorial 001] A structured file with format version 2024-10-23 10:58:08 +02:00
679ba4d628 [tutorial 001] A structured file with format version (config and doc) 2024-10-23 10:58:08 +02:00
49217fb2ec [init] Discover Rougail 2024-10-23 10:58:06 +02:00