Иванов Денис
80da6602f0
Added ability to use 'not' in template conditions. fixed #33
3 years ago
Иванов Денис
804b7ee3d7
Xml style comments can be added to the file after joining regex or raw
...
formats if comment = "xml". fixed #47
3 years ago
Иванов Денис
a852377198
Dependencies comparing was fixed #48
3 years ago
Иванов Денис
1777f224b5
Now 'name' variables can be added to namespaces. fixed #53
3 years ago
Иванов Денис
c5d40d4e27
To close issue. fixed #51
3 years ago
Иванов Денис
5c72e8d759
Regex format now saves space symbols in <text> tag. fixed #50
...
Empty <text> tag error is fixed # 51
3 years ago
Иванов Денис
ea037c3a26
removing links was fixed #45
3 years ago
Хирецкий Михаил
cb911aa803
Fix vars import
3 years ago
Хирецкий Михаил
3ed36c49ff
Исправлены переменные install.os.audio.available, install.os.audio.selected
...
Доработан grep
3 years ago
Хирецкий Михаил
1f0cd60a37
Добавлены переменные install.os.audio.available, install.os.audio.selected
3 years ago
Хирецкий Михаил
9842b85723
Добавлены переменные
...
main.os.arch.machine текущая архитектуа (i686, i386, x86_64)
main.os.arch.gentoo (x86, amd64)
install.os.arch.machine
install.os.arch.gentoo
3 years ago
Иванов Денис
133ebdce00
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
3 years ago
Иванов Денис
1a7b9d7d05
Bug with empty xml files is fixed #43
3 years ago
Хирецкий Михаил
933ab35b1c
Добавлен модуль для обработки изображений utils.images
...
В модуль добавлен объект ImageMagick для получения размеров изображения,
изменения размеров изображения для формата backgrounds, с поддержкой
запуска через chroot.
3 years ago
Иванов Денис
19f92a0fe4
Added auto trim and lstrip for jinja template's blocks.
3 years ago
Иванов Денис
4b474258fe
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
3 years ago
Иванов Денис
ca1d9e1674
kde format is fixed #44
3 years ago
Хирецкий Михаил
931620a0f1
Добавлена функция шаблонов exists
3 years ago
Иванов Денис
720eed809b
Some fixes from kde format
3 years ago
Иванов Денис
ed30b995ef
Json format encoding bug is fixed #46
3 years ago
Иванов Денис
7978f4fcd7
Using of the '!' in action parameter is available now. fixed #36
3 years ago
Иванов Денис
68cc128d96
Added ignoring files from the base templates directory. fixed #32
3 years ago
Иванов Денис
3f5ff16e67
Added main.cl.current_template variable fixed #29
3 years ago
Иванов Денис
9afed63d58
Fixed directories default append. fixed #27
3 years ago
Иванов Денис
4483e87285
fixed #21
3 years ago
Иванов Денис
f67521bab3
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
3 years ago
Иванов Денис
6af0f4b63f
Warnings from template executor is added.
3 years ago
Хирецкий Михаил
6a27337899
Добавлены переменные
...
main.cl.cmdline.calculate
main.cl.cmdline.isoscan_filename
main.cl.isoscan.base_path
main.cl.isoscan.full_path
main.os.resolution.standrad
3 years ago
Иванов Денис
912a36c674
Partly refactored method for append = join for files.
3 years ago
Иванов Денис
865ac532d1
Ini template loader is fixed.
3 years ago
Иванов Денис
0e00af3a01
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
3 years ago
Иванов Денис
7f1c023a99
Variables now can be saved in calculate.ini files using 'save' tag. fixed #41
...
Added string represintation for Hash values. fixed #40
3 years ago
Хирецкий Михаил
efe92c035b
main.cl.system.env_order - writeable
3 years ago
Хирецкий Михаил
649f1b1b61
Переменные system.env_order и system.env_path перенесены в main.cl
3 years ago
Хирецкий Михаил
db88a7bbff
Добавлена обработка не строковых параметров для функции-фильтра cut
3 years ago
Иванов Денис
2ef9da05f7
Added check if an input file is a binary while joining templates. fixed #16
3 years ago
Иванов Денис
19513d4891
Using source parameter for templates are fixed #31
3 years ago
Иванов Денис
4272faead6
Added default processing of templates without calculate header. fixed #26
3 years ago
Иванов Денис
15e8a10f78
fixed #34
3 years ago
Иванов Денис
97e479a8ca
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
3 years ago
Иванов Денис
f6a5e3f1ec
Fixed append = 'replace' usage.
3 years ago
Хирецкий Михаил
e1c500d5c5
Добавлена функция шаблонов grep
3 years ago
Иванов Денис
920fc6c819
Default 'append' and 'format' parameters values are added. fixed #22
3 years ago
Иванов Денис
2fad797d86
Symlink error is fixed #30
3 years ago
Иванов Денис
1e542f3fbb
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
...
Important fix in local master branch.
3 years ago
Иванов Денис
b844378505
Fixed check for the presense of a file in the CONTENTS file.
3 years ago
root
2e1f666adf
Добавлены переменные:
...
* main.cl.ebuild_phase - возвращающая текущую фазу сборки пакета
* main.cl.chroot_status - определение запуска утилит происходит с использованием
chroot или нет
* main.cl.system_boot_set - определение происходит загрузка системы или
нет
3 years ago
Иванов Денис
cb199776da
._cfg files counting is changed.
3 years ago
Иванов Денис
9a3e55311b
Merge branch 'master' of https://git.calculate-linux.org/calculate/calculate-utils-4-lib
3 years ago
Иванов Денис
103315f32d
Variables representation is fixed #25
3 years ago
Хирецкий Михаил
606d7bde0e
Добавлен фильтр cut
3 years ago
Иванов Денис
f963900f93
The CALCULATE_FILTERS dictionary is added.
3 years ago
Иванов Денис
e00423b52b
Links creation is fixed #18
3 years ago
Иванов Денис
22663d464b
Unexisting variables from custom namespaces return None value now. fixed #19
3 years ago
Иванов Денис
4323d334ab
'skip' value of the 'append' parameter is available for template files now.
3 years ago
Хирецкий Михаил
725c0f737d
Default 'join' value for 'append' paramater for template files
3 years ago
Иванов Денис
fa3c023c0d
Server is partly implemented.
3 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