Mike Hiretsky
4445cc0809
Increase version.
14 years ago
Mike Hiretsky
d94eea43d5
Fix bug getValue from config.
14 years ago
Самоукин Алексей
9e87227802
After compiling any package will not apply templates with unknown variables.
14 years ago
Самоукин Алексей
687be04ac1
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
41c69dc405
Add third option in template function load()
14 years ago
Mike Hiretsky
ced0ca31fe
Add get meta version by clX-meta package.
14 years ago
Mike Hiretsky
187878e777
Add 1024x600 and 1366x768 to standard resolution.
14 years ago
Mike Hiretsky
00f58d5a1a
Detect distro version by calculate-meta.
14 years ago
Самоукин Алексей
8a14c4466d
Elements of the '+', '-' do not operate within the area for the template in the format kde.
14 years ago
Самоукин Алексей
3deec569e4
Added support ' and " for template header.
14 years ago
Самоукин Алексей
a584d7bdab
Modified env function (added third argument - 'url', 'unicode')
14 years ago
Самоукин Алексей
8f42190122
Bugfix
14 years ago
Самоукин Алексей
0e12674477
Bugfix create symlink.
14 years ago
Самоукин Алексей
76ee6b55d2
Not create target symlink.
14 years ago
Самоукин Алексей
e6414feb50
Bugfix
14 years ago
Самоукин Алексей
7c5c6d0f87
Bigfix.
14 years ago
Самоукин Алексей
03ad5b72cf
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
fb8c80e1ea
Fix read env files.
14 years ago
Mike Hiretsky
31cc82d11a
Add : for ArgvInFuncBrackets.
14 years ago
Самоукин Алексей
96312fdf54
Fix (error create directory).
14 years ago
Самоукин Алексей
54ee9f1c79
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
e0ec942a2f
Fix ini() template function.
14 years ago
Mike Hiretsky
d349226e1f
Discard clean version in cl-update-config.
14 years ago
Самоукин Алексей
0cfef275ed
Added to compare the full version number.
...
Added lazy evaluation for the conditions '&&'
14 years ago
Самоукин Алексей
1588b970cd
Fix path certificate.
14 years ago
Самоукин Алексей
c27ce5db3f
Bugfix.
14 years ago
Самоукин Алексей
14a9d04d37
Bugfix.
14 years ago
Самоукин Алексей
cf6af21bc6
Bugfix (Error for open configuration file).
14 years ago
Самоукин Алексей
f6ca895df9
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
b25cd90f89
Bugfix ('incorrect save variables in ~/.calculate/ini.env').
14 years ago
Mike Hiretsky
1f1684d82b
Change help for --set.
14 years ago
Mike Hiretsky
bb22711c8f
Change syntax for --set.
14 years ago
Mike Hiretsky
f0eb5cbdf9
Fix getRunCommands
14 years ago
Самоукин Алексей
330cb82057
Fix message.
14 years ago
Самоукин Алексей
f7b2f45ee7
Bugfix ini parser.
14 years ago
Самоукин Алексей
87f1de7fbe
Bugfix iniParser
14 years ago
Mike Hiretsky
b3db27039b
Fix check write permission in iniParser.
14 years ago
Самоукин Алексей
a4eae171d0
Bugfix
14 years ago
Самоукин Алексей
55d0e7fe4e
Bugfix
14 years ago
Самоукин Алексей
e55b6462de
Removed os.truncate and os.seek from iniParser.
14 years ago
Самоукин Алексей
3f70f3c731
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
420dfe29a0
Added template variables cl_ca_cert, cl_ca_key, cl_ca_path.
14 years ago
Mike Hiretsky
2f63df5c82
Fix locale_locale detect.
14 years ago
Самоукин Алексей
3fac00f83f
Added locked file from write variables.
14 years ago
Самоукин Алексей
47bde732c5
Added openrc format
14 years ago
Самоукин Алексей
78d2c819f6
Added format xml_gconf_tree
14 years ago
Mike Hiretsky
6937975869
Remove / from invalid char list in value.
14 years ago
Mike Hiretsky
5bf89fb289
Add variable hr_laptop_model
14 years ago
Mike Hiretsky
282da2001e
Fix commonPath function.
14 years ago
Mike Hiretsky
c3d224b13c
Fix syntax bug chroot detect.
14 years ago
Mike Hiretsky
9273f2d49a
Fix detect chroot function.
14 years ago
Mike Hiretsky
c8b8ef797d
Fix checkDigestFile. Add getFilesCount function.
14 years ago
Mike Hiretsky
516375049e
Add checkDigest function.
14 years ago
Mike Hiretsky
267929a12d
Fix fail in getRunCommand.
14 years ago
Самоукин Алексей
6384116ce9
Bugfix.
14 years ago
Самоукин Алексей
97be352d08
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
9c08517221
Change cl_api module (delete class attribute).
14 years ago
Mike Hiretsky
fb748767fc
Add ability for option regignore.
14 years ago
Самоукин Алексей
a78005fc10
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
bcc3d86d47
Bugfix
14 years ago
Mike Hiretsky
f4c5cb5a3f
Increase version.
14 years ago
Самоукин Алексей
d6d1f7b6c7
Bugfix
14 years ago
Самоукин Алексей
5897c4ccde
Bugfix (file mode).
14 years ago
Самоукин Алексей
24e5d97fdc
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
648a4fa4cc
Added method created CA signed certificates.
14 years ago
Mike Hiretsky
cbf850d72a
Fix patch format.
14 years ago
Mike Hiretsky
e0d08c7a88
Fix delArea for plasma, where area specified by tuple.
14 years ago
Mike Hiretsky
40dbe591b1
Fix childMounts function.
14 years ago
Mike Hiretsky
7238715500
Fix converting from strlist to list.
14 years ago
Самоукин Алексей
0120fe0a65
Bugfix format patch.
14 years ago
Самоукин Алексей
79dc531b3a
Bugfix format.ldap module.
14 years ago
Самоукин Алексей
cf95efe682
Deleted server.services module.
14 years ago
Самоукин Алексей
b5ed0efaa0
Bugfix create symbolic link to directory.
...
Modified api module.
14 years ago
Самоукин Алексей
3f3bfff709
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
29ce48b580
Added api module cl_api.
...
Added template function module().
Deleted template functions clget() and clvar().
14 years ago
Mike Hiretsky
2403fcbc78
Add childMounts function for detect mount points.
14 years ago
Mike Hiretsky
e51a767d92
Move function isFstabMount from calculate-install.
14 years ago
Mike Hiretsky
281de14a47
Increase version.
14 years ago
Mike Hiretsky
0849c0bd2b
Fix work lib without py-smbpasswd.
...
Without py-smbpasswd calculate-lib does not support crypt algoritm
lm and nt.
14 years ago
Mike Hiretsky
ea54e05efe
Fix get ldapUser info for work in minimal mode.
14 years ago
Mike Hiretsky
41961357e7
Move cl_remote_host variable to calculate-client.
14 years ago
Самоукин Алексей
7080809f3a
Added template functions clget() and clvar().
...
Fix config headed from not protected dirs.
14 years ago
Самоукин Алексей
2ef9f17a28
Add to header config files "For modify this file, create %(conf_path)s.clt template."
14 years ago
Mike Hiretsky
2712f2cb92
Change method of check --set value for ability set empty values.
14 years ago
Mike Hiretsky
37051d38e9
Added cl_chroot_status from calculate-builder.
14 years ago
Самоукин Алексей
4d7832c98e
Added LDAP variables.
14 years ago
Самоукин Алексей
f78ef27c35
Modified method of printing variables.
14 years ago
Самоукин Алексей
a2de191f04
Modified method of printing variables.
...
We attribute variables official replaced hide.
Modified algorithm to determine the section to write the variable with higher priority in the library variables.
Variables with a certain value are replaced by variables with the method of filling.
14 years ago
Самоукин Алексей
9e67c48b6d
Replaced by the attribute variable 'official' to 'hide'.
...
Changed the priority sections of the variable.
14 years ago
Самоукин Алексей
953dc4a757
Remove '\n' in result b64encode().
14 years ago
Самоукин Алексей
22567b7b74
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
e52d9ec12a
Fix print messages from stderr. Fix delete template vars. Fix server.ldap module (Can't import module 'ldap').
14 years ago
Mike Hiretsky
d50ebb1492
Fix "IOError: [Errno 32] Broken pipe" bug.
14 years ago
Mike Hiretsky
e2587d273f
Fix and improve processProgess.
14 years ago
Mike Hiretsky
55c90ec53a
Add processProgress. Fix process object.
14 years ago
Самоукин Алексей
133ba00dad
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
6cb0a8b9ef
Added methods for server services.
14 years ago
Самоукин Алексей
42d84ea50f
Bugfix. Disabled translate text header template.
14 years ago
Самоукин Алексей
75da453e9c
Fix translate.
14 years ago
Самоукин Алексей
e245d3ff57
Merge branch 'master' of calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
3d86bd66c0
Fix cl_opt.
14 years ago
Mike Hiretsky
95d5df3d09
Fix os_net_domain fill method.
...
Result of cl_overriding.exit call is value of variable. This made for
ability override exit for variables print.
14 years ago
Mike Hiretsky
cee0c6fa58
Add check file existing for functions.
...
Check added for function isMount and getRunCommands.
14 years ago
Самоукин Алексей
0240ec5b1c
Merge branch 'master' of calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
c0a5c05c80
Bugfix (get X users in virtual machine).
14 years ago
Mike Hiretsky
217eb2bb12
Bug fix crash install if /dev/disk/by-id is not exists
14 years ago
Mike Hiretsky
2943cbe099
Fix detect initrd files (initrd and initrd-install).
14 years ago
Mike Hiretsky
f1c1b17a1f
Added getRunCommnads function for 'ps ax' alternate
14 years ago
Самоукин Алексей
9b0f2dbb8f
Bugfix
14 years ago
Самоукин Алексей
25c24fa881
Merge branch 'master' of calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
b7582753b8
Deleted template function exec().
14 years ago
Mike Hiretsky
bbfc691dc4
Moved not get_ methods from cl_fill to cl_vars_share module.
...
Fill function refactoring: os_linux_ver,os_linux_shortname and etc.
Moved some fill methods from calculate-install.
Changed regular expression for find initramfs files!!!.
Move os_scratch from install to lib.
14 years ago
Самоукин Алексей
57dc84c57b
Added template header options append=clear.
14 years ago
Самоукин Алексей
2aeb9b25de
Added use of the space character in conditional blocks.
14 years ago
Самоукин Алексей
a67f6ba0d2
Add template function exec().
14 years ago
Mike Hiretsky
bd6eceec7f
Fix directory creating with fixed pathJoin.
14 years ago
Mike Hiretsky
02ac8cb780
Fix pathJoin.
...
Fix result of join ('/some/path',''). Right result is /some/path.
14 years ago
Mike Hiretsky
bed13ee486
Add path normalization after join cl_root_path and cl_chroot_path
14 years ago
Самоукин Алексей
256b307839
Modified algorithm of auto update configuration files.
14 years ago
Самоукин Алексей
561abab937
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
a390644323
Added module cl_abstract, template variable cl_api.
14 years ago
Mike Hiretsky
46ce3b180d
Fix fill method of some variables.
...
os_linux_ver: fix get version from gentoo system.
hr_laptop: rewrite method without using hal.
14 years ago
Mike Hiretsky
507cda8d59
Fix pathJoin function error joining ("/directory,"/")
14 years ago
Mike Hiretsky
22eba09cdd
Added support detect root dev by cmdline by UUID.
14 years ago
Mike Hiretsky
3936440d9e
Change error message 'Can not text template is XML'
14 years ago
Самоукин Алексей
7abde97c8a
Bugfix
14 years ago
Самоукин Алексей
2cc5ecd294
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
01a81d2fcb
Changed runOsCommand() (returns in case of error - False, if successful - list)
14 years ago
Mike Hiretsky
242ab6556e
Add ability get input from keyboard.
14 years ago
Mike Hiretsky
237aa8dfaf
Added new variable cl_kernel_uid.
...
Variable has value of 8 char of UUID root device.
14 years ago
Mike Hiretsky
c3dd11e18c
Add ability out to screen for process
14 years ago
Самоукин Алексей
9731b2e6e1
Bugfix
14 years ago
Самоукин Алексей
358d0d1974
Bugfix (update configs).
14 years ago
Самоукин Алексей
c0f3850b46
Bugfix
14 years ago
Самоукин Алексей
a330fbb1fc
Changed method (converted string to oct).
14 years ago
Самоукин Алексей
966fd5589e
Added checking a value of the variable 'cl-name' in templates.
14 years ago
Mike Hiretsky
bd6a3b4c2d
Fix wrong detect executing command by process object.
14 years ago
Mike Hiretsky
39cde09639
Fix reading from process class
14 years ago
Самоукин Алексей
b2fbc7631d
Bugfix (error if only comment in /etc/calculate/calculate2.env)
14 years ago
Самоукин Алексей
1db6e4368b
When printing a variable ending in '_pw' value is replaced by '***'.
14 years ago
Самоукин Алексей
69a3b550f7
Fix output from update configuration files.
14 years ago
Самоукин Алексей
6df3279e5a
Added template variable cl_autoupdate_set=on\off.
14 years ago
Самоукин Алексей
8a753d312a
Added xml comment to template (header options comment=xml).
14 years ago
Самоукин Алексей
497eaa687d
Fixed remove "# Calculate" from template header.
14 years ago
Самоукин Алексей
39adbd124d
Bugfix (Determining file type)
14 years ago
Самоукин Алексей
ee88171ee2
Bugfix
14 years ago
Самоукин Алексей
08148328bb
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
8176c0fdf5
Bugfix (Determining file type)
14 years ago
Mike Hiretsky
12741539ea
Add class process for run system command
14 years ago
Самоукин Алексей
abb0d66459
Bugfix
14 years ago