158 Commits (327d0ae56a80183c99ccb16cbf839b4234a0234a)

Author SHA1 Message Date
Иванов Денис 68cc128d96 Added ignoring files from the base templates directory. fixed #32
4 years ago
Иванов Денис 3f5ff16e67 Added main.cl.current_template variable fixed #29
4 years ago
Иванов Денис 9afed63d58 Fixed directories default append. fixed #27
4 years ago
Иванов Денис 4483e87285 fixed #21
4 years ago
Иванов Денис 6af0f4b63f Warnings from template executor is added.
4 years ago
Иванов Денис 912a36c674 Partly refactored method for append = join for files.
4 years ago
Иванов Денис 7f1c023a99 Variables now can be saved in calculate.ini files using 'save' tag. fixed #41
4 years ago
Хирецкий Михаил db88a7bbff Добавлена обработка не строковых параметров для функции-фильтра cut
4 years ago
Иванов Денис 2ef9da05f7 Added check if an input file is a binary while joining templates. fixed #16
4 years ago
Иванов Денис 19513d4891 Using source parameter for templates are fixed #31
4 years ago
Иванов Денис 4272faead6 Added default processing of templates without calculate header. fixed #26
4 years ago
Иванов Денис 15e8a10f78 fixed #34
4 years ago
Иванов Денис 97e479a8ca Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
4 years ago
Иванов Денис f6a5e3f1ec Fixed append = 'replace' usage.
4 years ago
Хирецкий Михаил e1c500d5c5 Добавлена функция шаблонов grep
4 years ago
Иванов Денис 920fc6c819 Default 'append' and 'format' parameters values are added. fixed #22
4 years ago
Иванов Денис 2fad797d86 Symlink error is fixed #30
4 years ago
Иванов Денис cb199776da ._cfg files counting is changed.
4 years ago
Иванов Денис 9a3e55311b Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
4 years ago
Иванов Денис 103315f32d Variables representation is fixed #25
4 years ago
Хирецкий Михаил 606d7bde0e Добавлен фильтр cut
4 years ago
Иванов Денис f963900f93 The CALCULATE_FILTERS dictionary is added.
4 years ago
Иванов Денис e00423b52b Links creation is fixed #18
4 years ago
Иванов Денис 4323d334ab 'skip' value of the 'append' parameter is available for template files now.
4 years ago
Хирецкий Михаил 725c0f737d Default 'join' value for 'append' paramater for template files
4 years ago
Иванов Денис fa3c023c0d Server is partly implemented.
4 years ago
Иванов Денис 44c3ff8f9f Now scripts namespace is inherited by templates as their env parameter. fixed #13
4 years ago
Иванов Денис 841adf07d9 Now namespaces can be set in env parameter using dots. fixed #15
4 years ago
Иванов Денис 778f665561 Server development is started. Ability to run templates using scripts is added. fixed #14
4 years ago
Иванов Денис fb325a4669 exec and run parameters is not available for directory templates now.
4 years ago
Иванов Денис 740c0a4d21 Template root path can be set for the templates execution now. fixed #11
4 years ago
Иванов Денис 3834b7e168 Template executor checks if the template is empty now and checks original file for changes using MD5. Format 'raw' is added. fixed #10
4 years ago
Иванов Денис f42ebc0075 Changed files list are added for the template executor. fixed #9
4 years ago
Иванов Денис c45c3068ac Duplicating group packages bug has been fixed #8
4 years ago
Иванов Денис a60cc5dcb1 Created a common interface for creating and executing executable templates. fixed #7
4 years ago
Иванов Денис 5d0862de1a Added collision resolution for packages with the same names and categories, but with different versions and slots. fixed #6
4 years ago
Иванов Денис 73ce266ed2 Now build packages and uninstalled packages can be specified when running templates. fixed #5
4 years ago
Иванов Денис ae7f6f620d Group parameter and its handling logic is added. fixed #3
4 years ago
Иванов Денис 31f40fb589 Merge sequence is really correct. fixed #2
4 years ago
Иванов Денис 0b42d43438 Execution sequence of packages from the merge parameter is changed. fixed 2
4 years ago
Иванов Денис a70c39ed37 Calculate tag have to be single in a template file now. fixed #1
4 years ago
Иванов Денис 564e6a0a0d Some formats was optimized.
4 years ago
Иванов Денис 998a495669 contents format is executable now.
4 years ago
Иванов Денис 8959bddcdc Support of the handler is added.
4 years ago
Иванов Денис 6561bb2c00 'handler' and 'notify' parameters are added.
4 years ago
Иванов Денис a36aa05bae Implemented commands and scripts modules and parameter's container too.
4 years ago
Иванов Денис 8f02dcd5e5 Errors processing is almost done for the datavars module.
4 years ago
Иванов Денис a2ce6f87f7 Now save tag can save variables to the calculate.ini files. Tested adding to calculate ini file of hash and simple variables. Developing of the errors processing is started.
4 years ago
Иванов Денис 970f19cd3b Save method is tested for += and -= operations. Saving variables in the custom calculate.ini file is almost done.
4 years ago
Denis Ivanov 1116c28e36 Tested the template engine using Datavars object and save tag in the templates too.
4 years ago
Иванов Денис 2e5946ed6e Added main Datavars module and its functionality is almost implemented.
4 years ago
Иванов Денис 6bfd4c046b Added the new VariablesLoader for new version of the variables API.
4 years ago
Иванов Денис 0a5776ff85 Hashs and table interfaces varables types are added, dynamic dependencies creation is available now.
4 years ago
Иванов Денис f66b89f6b0 The code of the NamespaceIniFiller and the CalculateIniParser is refactored.
4 years ago
Иванов Денис a37a6b1cde Some corrections for tests.
4 years ago
Иванов Денис 5644d8e2c2 A number of corrections have been made to the design of the vars code.
4 years ago
Иванов Денис a60ce2317a The directory processor is fully tested. The method for the running an execution of the exec files in the directory processor is implemented. The package processing is improved.
4 years ago
Иванов Денис c369e80439 Calculate header adding methods is implemented and tested for all formats. Adding of the calculated header is almost tested for directory processor.
4 years ago
Иванов Денис 0b0b498d37 The directory processor is refactored. Added ability to add calculate header in the output file.
4 years ago
Иванов Денис dfe145725b Tested processing by directory processor of templates with different package parameters and with merge parameters. The refactoring of the directory processor is started.
4 years ago
Иванов Денис 73de9343b8 Tested processing by the directories processor of the action and autoupdate parameters and joining templates with files with user changes.
4 years ago
Иванов Денис f70b7ee0e5 Tested working of the directories processor for templates which files belongs to a one package and target files have no user changes.
4 years ago
Иванов Денис c3fb39156f Tested methods for editing of the CONTENTS-file while template executor is working. Testing of the directory processor is started.
4 years ago
Иванов Денис d62f5d6efe Tested method for running exec files. Testing of the changing of packages using the template executor is started.
4 years ago
Иванов Денис a06cff6973 The method for the append link parameter for files is tested. Tested methods for the run and exec parameters.
4 years ago
Иванов Денис 63a10e760e Tested the template executor for given append join parameter and an unprotected target path. Tested an append parameter implementation for the values: after, before, replace, remove and clear.
4 years ago
Иванов Денис 8344028930 The creation of the ._cfg-files is almost tested.
4 years ago
Иванов Денис f64fd98e38 Some tests for the implementation of the method for join value of the append parameter was written.
4 years ago
Иванов Денис d655b746c7 All methods for append directories are tested and improved.
4 years ago
Иванов Денис ec86ff36fb Backup testfiles is added. Some of the append parameter methods are tested for directories.
4 years ago
Иванов Денис 3b08ce2deb All the methods for a work with a files in a filesystem are tested.
4 years ago
Иванов Денис 1d2f3fad99 All the methods for a working with directories in a filesystem is tested.
4 years ago
Иванов Денис 322685ae1c TemplateExecutor methods for mode and owner information is tested and improved. Testing methods for working with a filesystem is started.
4 years ago
Иванов Денис e9389bb79e chown and chmod methods for files and directories are tested.
4 years ago
Иванов Денис 89b2350113 Methods for working with CONTENTS throught a TemplateWrapper object is tested. The CalculateConfigFile class is tested. Testing of a TemplateExecutor methods is started.
4 years ago
Иванов Денис 211e98ebd2 User changes check is tested, and a behavior of the wrapper when a template is executable -- too.
4 years ago
Иванов Денис 59e3c93a6f The template type conflict check is tested. Added method for getting target path from symlinks. The template package collision check is also tested.
4 years ago
Иванов Денис e2f8af977b Some tests for templateWrapper are added. Some remarks for DirectoryProcessor.
4 years ago
Иванов Денис 213e611352 chown and chmod parameter are supported now. The directory processor uses the new version template executor now.
4 years ago
Иванов Денис 0c662778d1 chmod and chown parameters support is almost implemented.
4 years ago
Иванов Денис 6ead02a510 All append methods are implemented for file templates. Added support for executable templates.
4 years ago
Иванов Денис 8229f8c677 Added support for 'run' and 'exec' parameters. Implementation of the files appends is almost done.
4 years ago
Иванов Денис 2b2af024ba 'mirror' parameter is supporting now.
4 years ago
Иванов Денис 3ac3973731 Some appends is added or directories. Protecred and unprotected template division is supported now.
4 years ago
Иванов Денис c3e5cdb9e1 Method for the append = 'join' processing is implemented. Added support for the 'unbound' parameter
4 years ago
Иванов Денис 803b9c5ae8 Comments and exceptions are added for all format modules.
4 years ago
Иванов Денис 820f0cc8b6 The CalculateConfigFile class is added for working with the 'config' file. The ._cfg logic is almost done.
4 years ago
Иванов Денис 49a97a87a7 The methods for checking of the packages collision is added. Started developing of the ._cfg logic.
4 years ago
Иванов Денис a2dfb57e81 Postparsing parameters processing is added to the template engine.
4 years ago
Иванов Денис 7be62270e6 The template type conflict solver is implemented. The cl_ignore_files variable is added.
4 years ago
Иванов Денис 85d7744ef0 The part of the TemplateAction is implemented. A developing of the conflict solver is started.
4 years ago
Иванов Денис 23b7799aef The 'merge' parameter processing is implemented and debugged. The implementation of the new algorithm for template merging is started.
4 years ago
Иванов Денис cc6dfc8de5 pkg() function bug is fixed. The parameters processing and the conditions solving are in parsing time now
4 years ago
Иванов Денис 18eea25197 The new logic of the merge parameter processing is almost implemented, but it doesn't work yet.
4 years ago
Иванов Денис 88386d685d New templates for the directory processing testing are added. pkg() function is debugged.
4 years ago
Иванов Денис 76452a1eb7 New version of the directory processor is completed and debugged.
4 years ago
Иванов Денис 6b427ee3c6 The ATOM names parser and the 'pkg()' function are debugged. A parameter inheritance is partially implemented in the directory processor using new version of the template engine.
4 years ago
Иванов Денис 476d59201f pkg() functions is added. The Version class is added for versions comparision and sorting. A search of the older package version is imlemented. Template engine is tested.
4 years ago
Иванов Денис 03c7930bb7 The merging of the template engine and the parameter's processor is finished. Some tests fail now.
4 years ago
Иванов Денис 037b8238ac Verification of parameters and their processing is transferred to the template engine. Not tested yet.
4 years ago