Fabio Erculiani
dc7c1ca8fb
Tagging Molecule version 0.9.21
2011-09-04 14:16:35 +02:00
Fabio Erculiani
745732eb1d
[molecule.utils] remove_path_sandbox: do not use Popen with shell=True but rather use glob.glob()
2011-09-04 13:11:26 +02:00
Fabio Erculiani
bba60f30c2
[molecule] rewrite molecule.utils.exec_cmd() to not use shell=True
...
The following changes were required code-wide:
- use shlex.split() to split commands read from spec files
- use glob.glob() where required
- write command splitter function and make use of it instead of
simple string splitter
2011-09-04 11:52:02 +02:00
Fabio Erculiani
71605075ba
Tagging Molecule version 0.9.20.7
2011-07-21 13:57:04 +02:00
Fabio Erculiani
91cbe7bd6f
[molecule.specs] always make sure to kill processes running inside chroots if failing
2011-07-21 13:56:03 +02:00
Fabio Erculiani
e227c0a625
[molecule.utils] enhance kill_chroot_pids(), add ability to sleep and wait for scripts to leave "zombies"
2011-07-21 13:55:07 +02:00
Fabio Erculiani
f30ffa4fac
[molecule.utils] prefer execvp() over subprocess.call() in forked process
2011-07-21 12:59:44 +02:00
Fabio Erculiani
e5b1dda68c
[molecule.utils] add kill_chroot_pids function, requires lsof (new dependency)
2011-07-21 12:39:41 +02:00
Fabio Erculiani
9e76f03370
Tagging Molecule version 0.9.20.6
2011-07-20 23:54:46 +02:00
Fabio Erculiani
50f38369e9
[molecule] image_plugin: fix chroot copy to mounted image file
2011-07-20 23:53:39 +02:00
Fabio Erculiani
5556657a34
Tagging Molecule version 0.9.20.5
2010-12-18 16:29:52 +01:00
Fabio Erculiani
110d86bdc3
[molecule.settings] add support for cdrkit
2010-12-18 16:29:31 +01:00
Fabio Erculiani
3a3dace714
Tagging Molecule version 0.9.20.4
2010-12-18 16:08:25 +01:00
Fabio Erculiani
426f264213
[molecule*] beautify output, make molecule.settings contain only utf strings
2010-12-18 16:07:05 +01:00
Fabio Erculiani
9999f2b0f0
[molecule.specs.plugins] handle improper usage of merge_livecd_root and report to user
2010-12-10 13:56:23 +01:00
Fabio Erculiani
df9e0af193
[molecule] add support for MOLECULE_TMPDIR environment variable (defaulting to /var/tmp), so that user can override it
2010-11-11 19:18:58 +01:00
Fabio Erculiani
bdcca0a4dc
Tagging Molecule version 0.9.20.3
2010-10-15 12:28:19 +02:00
Fabio Erculiani
a7e14b230f
[molecule.specs.plugins] also parse execution_strategy, avoid it getting pulled in in other parameters
2010-10-15 12:27:51 +02:00
Fabio Erculiani
8939772559
Tagging Molecule version 0.9.20.2
2010-08-26 21:24:46 +02:00
Fabio Erculiani
44486776a5
[molecule.specs.plugins] TarHandler: always cleanup chroot temp directory
2010-08-26 21:24:00 +02:00
Fabio Erculiani
47ced63721
[tests] add unit tests for .spec parsers
2010-08-13 15:24:22 +02:00
Fabio Erculiani
240e79a5c0
[molecule.utils] improve reliability of valid_exec_check and remove_path_sandbox
2010-08-12 22:39:41 +02:00
Fabio Erculiani
a394b310c3
Tagging Molecule version 0.9.20.1
2010-08-11 11:24:13 +02:00
Fabio Erculiani
439afef721
[molecule.specs.plugins.image_plugin] improve loop device removal logic
2010-08-11 11:23:43 +02:00
Fabio Erculiani
68a890dc40
Tagging Molecule version 0.9.20
2010-08-10 19:07:43 +02:00
Fabio Erculiani
59f241dcaa
[molecule.specs.plugins] image_plugin: save one function call by calling os.urandom() directly
2010-08-08 23:50:02 +02:00
Fabio Erculiani
3e918c703c
[molecule.specs.plugins] introduce iso_to_image plugin.
...
This plugin allows to build filesystem images (user can define the
filesystem type) off an ISO image.
2010-08-08 23:41:57 +02:00
Fabio Erculiani
91242f3744
[molecule.specs.plugins.remaster] warn if something in IsoUnpackHandler.kill() fails
2010-08-08 23:40:00 +02:00
Fabio Erculiani
dfb187fd82
[molecule.specs.plugins] use molecule.utils.mkdtemp()
2010-08-08 18:36:46 +02:00
Fabio Erculiani
e78499849b
[molecule.utils] add mkdtemp()
2010-08-08 18:34:54 +02:00
Fabio Erculiani
baf978dac3
[molecule.specs] make possible to subclass IsoUnpackerHandler easily
2010-08-08 18:32:50 +02:00
Fabio Erculiani
ea2edc7297
[molecule.utils] add get_random_str()
2010-08-08 17:42:04 +02:00
Fabio Erculiani
c75dd2f43d
[molecule.settings] squashfs and iso images have to be mounted read-only
2010-08-08 17:41:03 +02:00
Fabio Erculiani
8a84fb62d4
[molecule.specs] improve hooks execution reliability, do not taint application environment with hooks specific stuff
2010-08-08 16:11:44 +02:00
Fabio Erculiani
0badcb8613
[molecule.utils] improve random numbers generation
2010-08-08 15:54:43 +02:00
Fabio Erculiani
601b9cd752
[molecule.utils] add "env" keyword argument to exec_chroot_cmd and exec_cmd
2010-08-08 15:45:58 +02:00
Fabio Erculiani
de15e64288
[molecule.specs.plugins] properly use molecule.utils.exec_chroot_cmd()
2010-08-08 15:45:28 +02:00
Fabio Erculiani
ce224a517e
[molecule.settings] use absolute paths for hard-coded executables
2010-08-08 15:25:36 +02:00
Fabio Erculiani
1ceb5b7be9
[molecule.plugins] safely using mkstemp()
2010-08-08 15:21:02 +02:00
Fabio Erculiani
fa3530c7e8
[molecule.utils] add exec_cmd_get_status_output function
2010-08-08 15:09:12 +02:00
Fabio Erculiani
87c475aadd
[molecule.specs.plugins] always return int from GenericExecutionStep.setup()
2010-08-08 15:09:12 +02:00
Fabio Erculiani
a345bbf581
[molecule] place --nocolor handling before --help, close bug 1685
2010-08-04 23:53:24 +02:00
Fabio Erculiani
e67f9e308a
[molecule.cmdline] move super user checks into molecule.cmdline
2010-08-02 10:12:35 +02:00
Fabio Erculiani
570ab977d1
[molecule.specs] GenericSpecFunctions: add ve_integer_converter()
2010-08-01 22:49:47 +02:00
Fabio Erculiani
b68e6dfd45
[molecule] GenericSpecFunctions: add valid_integer()
2010-08-01 22:47:33 +02:00
Fabio Erculiani
0495f25a81
[molecule] add support for enforcing super user privileges requirements
2010-08-01 18:21:11 +02:00
Fabio Erculiani
83dd67e84b
[molecule.utils] add some documentation
2010-08-01 18:10:01 +02:00
Fabio Erculiani
8b01038fbf
Tagging Molecule version 0.9.12
2010-07-23 11:13:08 +02:00
Fabio Erculiani
7fab6a3956
[molecule.specs.plugins.tar_plugin] add "pre_tar_script" and "post_tar_script" parameters support (see example)
2010-07-23 11:11:56 +02:00
Fabio Erculiani
d5739d7f61
[molecule.specs.builtin_plugin] trivial comment update
2010-07-23 11:11:37 +02:00