Commit Graph

202 Commits

Author SHA1 Message Date
Emmanuel Garette eb3720d6bf separate RougailTemplate to RougailSystemdTemplate 2021-02-20 15:46:13 +01:00
Emmanuel Garette ba41b27dbf separate engine from template 2021-02-20 10:41:53 +01:00
Emmanuel Garette 04f8fc048c <file name='a'/> => <file>a</file> 2021-02-19 14:44:27 +01:00
Emmanuel Garette ac0e510e40 manage 2021-02-19 12:31:12 +01:00
Emmanuel Garette 41620cc92e add manage service 2021-02-19 11:03:52 +01:00
Emmanuel Garette bc25216c27 reworks on ip 2021-02-19 10:50:28 +01:00
Emmanuel Garette 0ccd3405db add 'version' to rougail attribut 2021-02-18 18:57:50 +01:00
Emmanuel Garette 493aeff04e pylint 2021-02-18 17:00:12 +01:00
Emmanuel Garette 88f5b20aa9 test index param 2021-02-18 14:08:57 +01:00
Emmanuel Garette 2e16bc2b90 update mode 2021-02-18 14:02:07 +01:00
Emmanuel Garette e35a3cb19d add ParamIndex 2021-02-17 22:32:28 +01:00
Emmanuel Garette 3b2d96566b valid value in param 2021-02-17 17:30:06 +01:00
Emmanuel Garette c11ae16ea0 add port_type example 2021-02-17 12:17:53 +01:00
Emmanuel Garette 236dda2e3e add test for iplist 2021-02-17 10:04:57 +01:00
Emmanuel Garette 0c4deb1016 name of file is a filename 2021-02-17 09:52:17 +01:00
Emmanuel Garette c7ea03b411 check symlink type for _type in service 2021-02-17 07:48:19 +01:00
Emmanuel Garette 1272524cc8 test redefine without family 2021-02-16 13:50:58 +01:00
Emmanuel Garette 85151da58d a family and a variable cannot have the same path 2021-02-16 13:45:43 +01:00
Emmanuel Garette e60fd4adbc check variable and family name 2021-02-16 12:08:45 +01:00
Emmanuel Garette bd299e3d2b documentation + fallback on condition 2021-02-16 10:22:29 +01:00
Emmanuel Garette 6d571d8cac mandatory_if_in only for variables 2021-02-15 18:52:12 +01:00
Emmanuel Garette 86ec629ce3 support optional to condition to *list 2021-02-15 18:23:57 +01:00
Emmanuel Garette d1a39e5183 add in RougailConfig auto_freeze_variable 2021-02-14 18:42:16 +01:00
Emmanuel Garette b0588768af some correction 2021-02-14 17:48:50 +01:00
Emmanuel Garette 0abd4398c7 Simply library usage 2021-02-14 10:11:34 +01:00
Emmanuel Garette 5f76065597 better support type in params 2021-02-12 18:08:28 +01:00
Emmanuel Garette ce507a84f9 support family in family 2021-02-12 07:48:27 +01:00
Emmanuel Garette 6f05c22a3d same target and param in check|condition|fill 2021-02-08 17:46:58 +01:00
Emmanuel Garette 0100c692b2 notraisepropertyerror => propertyerror 2021-02-07 09:23:01 +01:00
Emmanuel Garette 66356d8ff0 better _if_in and _if_not_in support 2021-02-06 15:19:34 +01:00
Emmanuel Garette e1fd29001b default_multi is the first value not the last one 2021-01-30 17:47:39 +01:00
Emmanuel Garette b76a04dd19 remove todict 2021-01-30 17:32:21 +01:00
Emmanuel Garette c6cda5ce92 add todict to calc_value 2021-01-30 17:06:56 +01:00
Emmanuel Garette 6af2b3d1f3 add 10load_disabled_if_in_multi_param2 test 2021-01-30 15:29:07 +01:00
Emmanuel Garette d78855e70a correction in example 2021-01-30 15:24:47 +01:00
Emmanuel Garette 1dcdbd474d add multiple disable_if_in support 2021-01-30 15:19:18 +01:00
Emmanuel Garette e618b3b42c remove unecessary notraisepropertyerror and todict parameters 2021-01-30 12:39:31 +01:00
Emmanuel Garette 0a8be9a355 activate is not a true boolean 2021-01-30 12:29:46 +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 f5c7220930 reorganize tiramisureflector 2021-01-23 21:15:26 +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 b05fe25db0 add tests 2021-01-21 17:16:48 +01:00
Emmanuel Garette 5bfa3132e7 manage description in family 2021-01-21 08:50:43 +01:00
Emmanuel Garette 925c94c63e load_modules is depreciated 2021-01-19 19:28:42 +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 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 e34d285eb3 manage group 2021-01-16 08:50:11 +01:00
Emmanuel Garette 712175d56b pylint 2021-01-11 22:34:16 +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 1e0cb96b34 pylint annotator/constrainte.py 2021-01-02 21:23:18 +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 2d0ccc6896 test redefine valid_enum without remove_check 2020-12-24 18:47:21 +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 02edd0eaf0 test create_or_populate_from_xml without a list 2020-12-24 15:42:52 +01:00
Emmanuel Garette f8959ef16f test invalid xml 2020-12-24 15:40:01 +01:00
Emmanuel Garette 23ce59a851 leader not multi is not allowed 2020-12-24 15:31:10 +01:00
Emmanuel Garette 04ab1edd36 test error number 2020-12-24 12:41:10 +01:00
Emmanuel Garette 91fd7c9b7e dtd error 2020-12-24 07:38:48 +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 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 8f01d2c1d8 can add personal function (tests file) 2020-11-08 09:43:45 +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 3040a11de9 cherry-pick 2020-10-04 17:34:48 +02:00
Emmanuel Garette 101dfefaa9 dynamic variable and calculation 2020-10-04 17:27:55 +02:00