Самоукин Алексей
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
Самоукин Алексей
9be8ba2aee
Added attribute groups in class ldapUser()
14 years ago
Самоукин Алексей
35ce5ffdd5
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
34f322db35
Fix dalogYesNo().
14 years ago
Mike Hiretsky
90ee22f6cc
Merge branch 'master' of git.calculate.ru:calculate-lib
14 years ago
Mike Hiretsky
40da2e303b
Fix locale object
14 years ago
Самоукин Алексей
a7cc6599bf
Bugfix
14 years ago
Самоукин Алексей
7b22921b7f
Bugfix
14 years ago
Самоукин Алексей
23ccd6a030
Modified getting information about users from the LDAP and bugfix create link
14 years ago
Самоукин Алексей
e358500edb
Changed algoritm applying clt template
14 years ago
Самоукин Алексей
eaac552d30
Replaced sys.stdin.readline() to raw_input() in module server.utils
14 years ago
Самоукин Алексей
b43f422c44
Deleted debug operator print
14 years ago
Самоукин Алексей
84a5971810
Changed algorithm of processing the header template
14 years ago
Самоукин Алексей
49050c59a1
Bugfix
14 years ago
Самоукин Алексей
58305fd194
Bugfix
14 years ago
Самоукин Алексей
049151540a
Bugfix (template format clt)
14 years ago
Самоукин Алексей
4dd899f82d
Bugfix
14 years ago
Самоукин Алексей
cc948de1eb
Bugfix
14 years ago
Самоукин Алексей
0dd287461d
Changed algorithm of processing templates for scripts
14 years ago
Самоукин Алексей
f46ebb518a
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
20af70828c
Added format template 'patch'
14 years ago
Mike Hiretsky
21269bceab
Merge branch 'master' of git.calculate.ru:calculate-lib
14 years ago
Mike Hiretsky
29f48720d7
Modify locales
14 years ago
Самоукин Алексей
47987c8c7e
Bugfix
14 years ago
Самоукин Алексей
d7336f71ca
Bugfix function template load()
14 years ago
Самоукин Алексей
e6aca1ac14
Changed --help text
14 years ago
Самоукин Алексей
12425d676f
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
a813ab9aee
Added serialize XML
14 years ago
Самоукин Алексей
168c54fc04
Bugfix (import readline)
14 years ago
Самоукин Алексей
816049fc76
Modified method printVars(), added XML output
14 years ago
Самоукин Алексей
ba90501a21
Merge branch 'master' of git.calculate.ru:/calculate-lib
...
Conflicts:
pym/cl_opt.py
14 years ago
Mike Hiretsky
6528db1cdd
Fix bad getting linux shortname
14 years ago
Самоукин Алексей
b71c3574aa
Modified method printVars()
14 years ago
Mike Hiretsky
88a7e8f1d7
Fix set variables
14 years ago
Mike Hiretsky
4eb5b0149c
Fix locale. Fix video var.
14 years ago
Самоукин Алексей
952f5519c4
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
3087eb8693
Removed template function grub()
14 years ago
Самоукин Алексей
2b131b0a0b
Bugfix
14 years ago
Mike Hiretsky
e9c7ebbade
Change Mir Calculate Ltd to Calculate Ltd
14 years ago
Самоукин Алексей
f7dd473d5c
Added methods to work with variable both lists, also changed the algorithm of the module cl_update_config
14 years ago
Самоукин Алексей
62d0dca56f
Added variable cl_templates_set
14 years ago
Самоукин Алексей
f2ee8b1f3a
Bugfix
14 years ago
Самоукин Алексей
61477c7b2b
Go to the source directory in case of errors
14 years ago
Самоукин Алексей
859bc459db
Added newlines between fields for formats samba, plasma
14 years ago
Самоукин Алексей
e5dcbca903
Changed imports cl_utils library
14 years ago
Самоукин Алексей
e8e8a6be6c
Bugfix
14 years ago
Самоукин Алексей
abb72d0c59
Merge branch 'master' of git.calculate.ru:/calculate-lib
...
Conflicts:
pym/cl_datavars.py
pym/cl_template.py
14 years ago
Самоукин Алексей
57f645c752
Bugfix
14 years ago
Mike Hiretsky
bc8cc44255
Change templates directory.
14 years ago
Mike Hiretsky
9250630f88
Add version compare functions.
14 years ago
Mike Hiretsky
088fe60b8f
Modify filling os_linux_ver os_linux_shortname
14 years ago
Mike Hiretsky
7183d1f6c7
Add cl_chroot_path for getting name_calclate_ini
14 years ago
Mike Hiretsky
2fb6992962
Fix change directory, which createing relative symlink
14 years ago
Mike Hiretsky
d8c8c1d25b
Fix refilling empty variable.
14 years ago
Mike Hiretsky
b5ea697319
Clean version specified by parameter --pkg-version. (bugfix ntp version 4.2.4_p7)
14 years ago
Mike Hiretsky
c45cd36a71
Merge branch 'master' of git.calculate.ru:calculate-lib
14 years ago
Mike Hiretsky
9d07f26af3
Fix grub() function. Similar section detect by 'root=/dev/' substring
14 years ago
Хирецкий Михаил
b63a9c3646
Fix calculate template conditions
14 years ago
Mike Hiretsky
77d5f78dfc
Restructure cl_vars
14 years ago
Mike Hiretsky
baf6c90b46
Move varaibles to install:
...
os_locale_consolefont
os_locale_dumpkeys
os_locale_keymap
14 years ago
Mike Hiretsky
36ecb9f36c
Move method getValueFromConfig from Fill to globattr
14 years ago
Mike Hiretsky
ab4f58351e
Move os_clock_timezone and os_clock_type variables to calculate-install.
14 years ago
Mike Hiretsky
237c427745
Change place of detect composite
14 years ago
Mike Hiretsky
1606d39240
Rename variables:
...
hr_x11_composite -> os_x11_composite
hr_x11_height -> os_x11_height
hr_x11_width -> os_x11_width
hr_x11_standart -> os_x11_standart
hr_x11_video_drv -> os_x11_video_drv
14 years ago
Mike Hiretsky
ffe261cb25
Change print vars method
14 years ago
Mike Hiretsky
041a5064ba
Fix duplicate variables
14 years ago