Commit graph

251 commits

Author SHA1 Message Date
Emmanuel Garette
0a8be9a355 activate is not a true boolean 2021-01-30 12:29:46 +01:00
Emmanuel Garette
f5f68f3bc8 update license 2021-01-30 08:15:26 +01:00
Emmanuel Garette
623d234add remove RENAME_ATTIBUTES 2021-01-26 18:32:22 +01:00
Emmanuel Garette
8eb3b99f27 reorganize modes 2021-01-26 13:42:48 +01:00
Emmanuel Garette
cbd11a29c2 reorganise 2021-01-26 13:33:54 +01:00
Emmanuel Garette
0b8a6e399a better quote support 2021-01-25 17:30:24 +01:00
Emmanuel Garette
001a3131d5 simplify tiramisureflector 2021-01-24 18:50:24 +01:00
Emmanuel Garette
28ba5ef8ff remove empty kwargs 2021-01-24 18:18:40 +01:00
Emmanuel Garette
5a66cb7799 reorganisation 2021-01-24 18:11:43 +01:00
Emmanuel Garette
f4f0312e46 remove multi=False 2021-01-24 10:17:01 +01:00
Emmanuel Garette
1d33414e6a pylint 2021-01-23 21:21:45 +01:00
Emmanuel Garette
f5c7220930 reorganize tiramisureflector 2021-01-23 21:15:26 +01:00
Emmanuel Garette
04e9706a1b simplify tiramisureflector 2021-01-23 13:44:21 +01:00
Emmanuel Garette
4df2d0e2bf better dynamic support 2021-01-23 12:28:02 +01:00
Emmanuel Garette
7545e6105d better opt support 2021-01-23 12:04:58 +01:00
Emmanuel Garette
4d565f811c min before max 2021-01-23 11:58:49 +01:00
Emmanuel Garette
02771b6d73 manage informations 2021-01-23 11:57:46 +01:00
Emmanuel Garette
c05c0b9716 manage test attribute 2021-01-23 08:45:41 +01:00
Emmanuel Garette
562ef23dd2 does not allow services and rougail namespace 2021-01-23 08:16:24 +01:00
Emmanuel Garette
5bfa3132e7 manage description in family 2021-01-21 08:50:43 +01:00
Emmanuel Garette
74898b1ed7 pylint 2021-01-19 19:28:42 +01:00
Emmanuel Garette
925c94c63e load_modules is depreciated 2021-01-19 19:28:42 +01:00
Emmanuel Garette
686a218ed0 mutualise load_modules 2021-01-19 19:05:07 +01:00
Emmanuel Garette
0497698203 pylint 2021-01-19 18:06:33 +01:00
Emmanuel Garette
0d87be9d7b pylint + simplify path 2021-01-18 18:52:38 +01:00
Emmanuel Garette
0aba66b8b5 pylint path.py 2021-01-17 18:39:15 +01:00
Emmanuel Garette
f0ba368f2a suppress separators 2021-01-17 18:12:33 +01:00
Emmanuel Garette
fc2551a8d2 get_variable_obj => get_variable 2021-01-17 18:04:49 +01:00
Emmanuel Garette
529bb1ae7d split check, condition and fill 2021-01-17 18:00:29 +01:00
Emmanuel Garette
06e7196280 object in target 2021-01-17 17:18:56 +01:00
Emmanuel Garette
3e2d221cc4 object in symlink 2021-01-16 20:16:46 +01:00
Emmanuel Garette
82e8057e9d object in constrainte 2021-01-16 20:10:13 +01:00
Emmanuel Garette
e34d285eb3 manage group 2021-01-16 08:50:11 +01:00
Emmanuel Garette
1d0a5fae18 target in check is not an object 2021-01-12 13:36:27 +01:00
Emmanuel Garette
712175d56b pylint 2021-01-11 22:34:16 +01:00
Emmanuel Garette
46807533f3 pylint objspace 2021-01-11 18:03:06 +01:00
Emmanuel Garette
9a19198bde pylint 2021-01-10 22:07:29 +01:00
Emmanuel Garette
f918792419 pylint services.py 2021-01-10 21:10:19 +01:00
Emmanuel Garette
25d4fb9db4 remove oui/non yes/no ... types 2021-01-10 16:53:41 +01:00
Emmanuel Garette
85ab952882 pylint variable.py 2021-01-10 09:07:22 +01:00
Emmanuel Garette
d5ed39c1f3 support auto_freeze with hidden_if_in 2021-01-06 22:33:55 +01:00
Emmanuel Garette
1a77416e6d support auto_freeze with auto 2021-01-06 22:20:33 +01:00
Emmanuel Garette
8a07892276 pylint 2021-01-06 21:50:53 +01:00
Emmanuel Garette
1e0cb96b34 pylint annotator/constrainte.py 2021-01-02 21:23:18 +01:00
Emmanuel Garette
a6bafd89bd pylint 2020-12-26 17:06:56 +01:00
Emmanuel Garette
13b1e9bf54 update tests 2020-12-26 15:15:51 +01:00
Emmanuel Garette
71b9b70755 add valid_enum tests 2020-12-24 19:53:49 +01:00
Emmanuel Garette
0ef5429577 simplify get_children 2020-12-24 18:46:55 +01:00
Emmanuel Garette
6a771913e0 test suffix 2020-12-24 18:26:15 +01:00
Emmanuel Garette
942b3f718c test information in param 2020-12-24 17:52:14 +01:00
Emmanuel Garette
f9885a023c restore tests 2020-12-24 17:37:14 +01:00
Emmanuel Garette
d395f4a17b create a new Rougail object 2020-12-24 16:19:31 +01:00
Emmanuel Garette
9feb45e165 load only folder now 2020-12-24 16:02:20 +01:00
Emmanuel Garette
f8959ef16f test invalid xml 2020-12-24 15:40:01 +01:00
Emmanuel Garette
81d30612e8 remove unused function 2020-12-24 15:31:30 +01:00
Emmanuel Garette
04ab1edd36 test error number 2020-12-24 12:41:10 +01:00
Emmanuel Garette
fffd52eec6 remove pylint comment 2020-12-24 07:40:14 +01:00
Emmanuel Garette
ca40aa5ec3 split annotator 2020-12-24 07:39:51 +01:00
Emmanuel Garette
91fd7c9b7e dtd error 2020-12-24 07:38:48 +01:00
Emmanuel Garette
4223e7e5a3 automaticly create choice/property_/Leadership object 2020-12-23 17:57:41 +01:00
Emmanuel Garette
54df7aca12 Creole => Rougail 2020-12-23 17:39:21 +01:00
Emmanuel Garette
ccc6924866 simplify objectspace 2020-12-23 17:36:50 +01:00
Emmanuel Garette
6c6746c58f help in variable or family now 2020-12-23 13:29:51 +01:00
Emmanuel Garette
08ed28fc95 remove_check and remove_condition must be explicite 2020-12-23 11:50:20 +01:00
Emmanuel Garette
afdc19887f simplify normalize_family 2020-12-23 11:28:43 +01:00
Emmanuel Garette
0e08757e22 test multiple xmlfiles in error 2020-12-22 21:11:14 +01:00
Emmanuel Garette
90bd72de69 remove condition not only a target 2020-12-22 20:19:01 +01:00
Emmanuel Garette
80b7f1b083 remove xml_compare 2020-12-22 17:25:13 +01:00
Emmanuel Garette
7d42517430 remove 'imp' warning 2020-12-22 17:22:56 +01:00
Emmanuel Garette
d18906e011 better debug 2020-11-21 08:11:34 +01:00
Emmanuel Garette
62bccfc352 set good path in include file and patch file 2020-11-20 18:02:40 +01:00
Emmanuel Garette
7db3e2c2a9 allow filename with \ 2020-11-18 22:18:16 +01:00
Emmanuel Garette
3ad1bf0604 valid_not_equal must be launch with 'todict' argument 2020-11-15 11:22:09 +01:00
Emmanuel Garette
d5129d6fe7 add float support 2020-11-15 11:02:04 +01:00
Emmanuel Garette
6bda645903 leadership name 2020-11-14 17:20:55 +01:00
Emmanuel Garette
a835e5a017 valid_in_network should works with CIDR 2020-11-14 08:02:38 +01:00
Emmanuel Garette
5a45885ed8 family and var with same name 2020-11-11 16:59:44 +01:00
Emmanuel Garette
3d49f2fe8c add xmlfiles in various error message 2020-11-11 16:24:06 +01:00
Emmanuel Garette
f7db6b0289 add remove_fill attribute 2020-11-08 09:51:33 +01:00
Emmanuel Garette
4b21b1507f can add personal function 2020-10-14 18:17:31 +02:00
Emmanuel Garette
43e30bba47 support empty param 2020-10-04 20:11:00 +02:00
Emmanuel Garette
101dfefaa9 dynamic variable and calculation 2020-10-04 17:27:55 +02:00
Emmanuel Garette
5eba872969 add OptionInformation support 2020-10-04 17:25:42 +02:00
Emmanuel Garette
246ac25791 refactor valid_enum 2020-10-04 17:23:55 +02:00
Emmanuel Garette
d789787d5c change Config object 2020-08-12 08:23:38 +02:00
Emmanuel Garette
d3670c6476 try tiramisu3 before tiramisu 2020-08-08 11:03:06 +02:00
Emmanuel Garette
f07f76a4ef import de tiramisu ou tiramisu3 2020-08-07 17:17:42 +02:00
Emmanuel Garette
8f7fa59333 add mandatory properties is more conveniant 2020-08-04 16:50:45 +02:00
Emmanuel Garette
2742774aa9 valid_entier (with mini or maxi parameter) configure min_number or max_number for IntOption 2020-08-01 20:55:15 +02:00
Emmanuel Garette
331e386470 path problem for services objects 2020-07-31 10:21:19 +02:00
Emmanuel Garette
b612d7884e one unique source could create 2 templates 2020-07-31 09:41:30 +02:00
Emmanuel Garette
00a69e72a2 check without parameter 2020-07-30 09:44:48 +02:00
Emmanuel Garette
5f2d1b3eb7 add 'manage' attribut to service, unmanage services is, for example a fake service 2020-07-30 09:37:19 +02:00
Emmanuel Garette
08f4362816 remove domain and hostname type a rename *_strict types 2020-07-29 16:15:10 +02:00
Emmanuel Garette
cc2f7b64b1 better default value for boolean values 2020-07-29 16:07:18 +02:00
Emmanuel Garette
7a62ebf294 refactoring 2020-07-29 09:53:51 +02:00
Emmanuel Garette
d18248544c refactor 2020-07-24 14:59:09 +02:00
Emmanuel Garette
17e09354fa refactoring 2020-07-20 18:13:53 +02:00
Emmanuel Garette
05ca7ed578 refactor 2020-07-16 09:50:01 +02:00
Emmanuel Garette
7191bbbcb3 add default value to True in boolean 2020-07-09 18:48:51 +02:00
Emmanuel Garette
7e34709628 refactoring 2020-07-08 16:32:10 +02:00
Emmanuel Garette
8c5a9f2cd3 remove override and rougail.conf from template.py 2020-07-08 16:20:06 +02:00
Emmanuel Garette
8ed035c7ff refactor check 2020-07-08 11:14:47 +02:00
Emmanuel Garette
7d032a72b2 refactor 2020-07-07 20:03:13 +02:00
Emmanuel Garette
9fcd72d459 refactor condition 2020-07-07 19:36:26 +02:00
Emmanuel Garette
b12bf443a6 frozen_if_ => hidden_if_ 2020-07-07 18:33:19 +02:00
Emmanuel Garette
ef948fa109 refactor 2020-07-07 18:12:16 +02:00
Emmanuel Garette
eb6b22e5b1 refactor 2020-07-06 21:35:25 +02:00
Emmanuel Garette
38c95ea87a creole => rougail 2020-07-06 20:58:11 +02:00
Emmanuel Garette
ef5297a4e4 refactor 2020-07-06 19:47:45 +02:00
Emmanuel Garette
2e0e17705b better test with valid_enum and number 2020-05-26 15:41:17 +02:00
Emmanuel Garette
dfa0b5678b add override and factory support 2020-04-29 14:06:29 +02:00
Emmanuel Garette
5b4b43d5f4 <file> is not necessarily a template + add <override> tag to override systemd service 2020-04-23 07:34:54 +02:00
Emmanuel Garette
d47d1fde62 support submulti with follower 2020-04-21 09:23:10 +02:00
Emmanuel Garette
308e980bfd master/slave => leader/follower 2020-04-18 09:00:03 +02:00
Emmanuel Garette
1cd8873e5b add fill/auto with dynamic option 2020-04-11 20:45:28 +02:00
Emmanuel Garette
b0b44d4ee1 reorganise 2020-04-11 17:24:09 +02:00
Emmanuel Garette
822483ab70 manage method in service 2020-04-10 18:01:10 +02:00
Benjamin Bohard
5a1c39e8a1 Fixes also syntax error 2020-04-08 18:14:57 +02:00
Benjamin Bohard
8d09b90d26 Fixes typo 2020-04-08 17:38:35 +02:00
Benjamin Bohard
a97c17a615 Create folder for external data 2020-04-08 16:42:25 +02:00
Benjamin Bohard
8e22886938 First package 2020-04-08 16:17:25 +02:00
Benjamin Bohard
0b98f2ff6f Empaquetage minimal de rougail 2020-03-31 10:35:02 +02:00
Emmanuel Garette
5c3ab2ae17 family name could containe an integer 2020-03-04 15:37:08 +01:00
Emmanuel Garette
d139862568 todict in valid_not_equal 2020-02-18 22:12:55 +01:00
Emmanuel Garette
9bb1a8c26a simplify and creole => rougail 2020-02-16 21:27:42 +01:00
Emmanuel Garette
d8e99fef54 remove servcice_elt_attr_list 2020-02-14 21:34:47 +01:00
Emmanuel Garette
25d5307415 containers => services 2020-02-14 17:59:39 +01:00
Emmanuel Garette
963e93295a tiramisu is now async 2020-01-13 19:44:24 +01:00
Emmanuel Garette
1c5ab706ed ParamContext no more usable 2019-12-26 11:23:22 +01:00
Emmanuel Garette
a542b2bfdc remove actions in variables 2019-12-22 15:54:41 +01:00
Emmanuel Garette
2207537b64 group in extra 2019-12-22 15:49:21 +01:00
Emmanuel Garette
509bf21d08 can access to extra variables 2019-12-22 15:35:50 +01:00
Emmanuel Garette
3eb208b2c1 can add rougail_variable to template 2019-12-22 14:46:16 +01:00
Emmanuel Garette
5952a8d759 add function normalize_family to templates 2019-12-22 11:30:13 +01:00
Emmanuel Garette
1ce16ad05d support of variables's file_name 2019-12-22 11:04:39 +01:00
Emmanuel Garette
3881cb7e98 eole => variable 2019-12-22 08:58:37 +01:00
Emmanuel Garette
81028d1539 normalize_family can allow dot 2019-12-22 08:45:03 +01:00
Emmanuel Garette
2f8fc054d0 Replace SymLinkOption type name to variable 2019-12-22 08:42:16 +01:00
Emmanuel Garette
f19a427f46 convert path for DynOptionDescription to valid path 2019-12-22 08:38:08 +01:00
Emmanuel Garette
f062d9f30a dot is not valid in family name 2019-12-22 08:37:30 +01:00
Emmanuel Garette
881b551f47 description in group 2019-12-21 13:28:18 +01:00
Emmanuel Garette
9ec8f881ab add cidr and network_cidr variable type 2019-12-21 12:45:50 +01:00
Emmanuel Garette
cbf107cbdc add submulti support 2019-12-21 12:45:01 +01:00
Emmanuel Garette
024fecddbb dynamic option description and filename with calculation 2019-12-21 12:21:42 +01:00
Emmanuel Garette
729b35d372 leader/follower in template 2019-12-20 11:02:26 +01:00
Emmanuel Garette
1b65d22eaa valid_enum is a valid function 2019-12-19 15:00:46 +01:00
Emmanuel Garette
1a3632f577 add CreoleObjSpace in __init__.py 2019-12-19 09:50:33 +01:00
Emmanuel Garette
06535b42b8 personalise directories 2019-12-02 14:23:02 +01:00
Emmanuel Garette
79a7950b0b a desactivate service means that activate not exists 2019-12-02 11:14:54 +01:00