Иванов Денис
1e542f3fbb
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
...
Important fix in local master branch.
4 years ago
Иванов Денис
b844378505
Fixed check for the presense of a file in the CONTENTS file.
4 years ago
root
2e1f666adf
Добавлены переменные:
...
* main.cl.ebuild_phase - возвращающая текущую фазу сборки пакета
* main.cl.chroot_status - определение запуска утилит происходит с использованием
chroot или нет
* main.cl.system_boot_set - определение происходит загрузка системы или
нет
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
Иванов Денис
22663d464b
Unexisting variables from custom namespaces return None value now. fixed #19
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
Иванов Денис
44fcfc72f6
Now versions can be checked using range of versions. Different suffixes and revisions syntax is available now for single version values and versions in ATOM-names. fixed #4
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
Иванов Денис
3276a63859
All work on multible package templates is removed.
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
Иванов Денис
632b88b79f
The datavars loader is done. The ini datavars loader is basically implemented.
4 years ago
Иванов Денис
6bfd4c046b
Added the new VariablesLoader for new version of the variables API.
4 years ago
Иванов Денис
a5b710666d
Support of a tables creation and modification is added in the NamespaceIniFiller. Creation the variables and namespaces using calculate.ini is available only in the custom section now.
4 years ago
Иванов Денис
8f646d38b3
The NamespaceIniFiller implementation is almost done for the new version of variables.
4 years ago
Иванов Денис
224b646793
Tables, hash and dynamic subscriptions is fully tested.
4 years ago
Иванов Денис
91d3f4f3cb
Implemented dynamic subscribing for variables of the table and hash types.
4 years ago
Иванов Денис
0a5776ff85
Hashs and table interfaces varables types are added, dynamic dependencies creation is available now.
4 years ago
Иванов Денис
4c775e76d7
Hash type and a number of other types was implemented.
4 years ago
Иванов Денис
88554c3295
Implemented two versions of the Hash variables and some remarks for the finding variables was made.
4 years ago
Иванов Денис
d7048baecd
Works with errors. Some changes to the dependencies and interface architecture and errors processing.
4 years ago
Иванов Денис
c8517ec59c
Changed variables interface, now variables can be intialized using absolute or relative variables names. Some variables types are done.
4 years ago
Иванов Денис
471f957daa
Tested variables invalidation and creation of the depended variables. Added check of the cycles while calculating variables.
4 years ago
Иванов Денис
653f5064ff
Added variables invalidation, subscription
4 years ago
Иванов Денис
df9e70a0d8
The new version of the datavars module is partly implemented.
4 years ago
Иванов Денис
6fdcf0744b
New version of the calculate ini parser is tested. Development of the new version of the datavars module is started.
4 years ago
Иванов Денис
f8f1bad832
The Namespace filler class is not inherited from the CalculateIni class.
4 years ago
Иванов Денис
f879ea0ae2
Some changes of the code design of the variables properies and some comments are added.
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
Иванов Денис
4b2dccabf9
Conflicts are solved
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
Хирецкий Михаил
926ce064b1
Добавлены наработки по переменным
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
Иванов Денис
2e846c9586
Method for append = 'join' for files is almost implemented.
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