Fabio Erculiani
dccc8ff2e1
[molecule.output] fix redirection of stdout to file
2010-05-15 22:15:44 +02:00
Fabio Erculiani
356bb0a6dc
[molecule.output] port new code from Entropy (entropy.output)
2010-05-15 22:11:13 +02:00
Fabio Erculiani
189a84b960
[molecule.specs.remaster] fix support for destination_iso_image_name, thanks to Joost Ruis for reporting
2010-05-09 22:33:59 +02:00
Fabio Erculiani
4158e52ba3
[molecule.settings] version bump
2010-05-09 16:50:37 +02:00
Fabio Erculiani
996cdfe3c1
[molecule.specs.plugins.remaster] fix wrong arguments in _exec_inner_script call
2010-05-09 16:49:49 +02:00
Fabio Erculiani
29d45a1934
[molecule.output] disable colorized output if stdout is not a tty
2010-04-29 16:41:06 +02:00
Fabio Erculiani
b405c152b9
[molecule] update version
2010-04-25 16:15:09 +02:00
Fabio Erculiani
574464aa0a
[molecule.specs.skel] export general purpose variables to env
...
When GenericExecutionStep instance is created, some general purpose
.spec file variable values are exported to environment:
- RELEASE_STRING
- RELEASE_VERSION
- RELEASE_DESC
2010-04-25 16:13:09 +02:00
Fabio Erculiani
bf9314455c
[molecule] remove python 2.5 __future__ import
2010-04-22 22:13:04 +02:00
Fabio Erculiani
9df4990c63
[molecule.specs.builtin] fix _run_error_script()
2010-04-22 22:12:42 +02:00
Fabio Erculiani
7cc4968a5e
[molecule.settings] bump version inside settings
2010-04-19 11:02:20 +02:00
Fabio Erculiani
657a6ed262
[molecule] kill all running children pids on exit
2010-04-18 18:49:46 +02:00
Fabio Erculiani
92b09e57f9
[molecule.specs.plugins.builtin] add support for inner_source_chroot_script
...
inner_source_chroot_script hook can be used to permanently modify
source chroots when using the standard execution strategy (chroot -> iso)
2010-04-18 18:42:39 +02:00
Fabio Erculiani
719d68de05
[molecule] implement arguments support for *_chroot_script_* statement.
...
This commit improves the support to script hooks, making possible to pass
arguments to them via .spec statements (outer_chroot_script, outer_chroot_script_after,
inner_chroot_script, inner_chroot_script_after, pre_iso_script)
2010-04-18 18:26:57 +02:00
Fabio Erculiani
7ad653b316
[molecule] fix extra_rsync_parameters option handling
2010-02-15 11:28:04 +01:00
Fabio Erculiani
40eedd53ae
[molecule.specs] add error_script .spec file directive support
2009-12-21 21:55:48 +01:00
Fabio Erculiani
46d3987985
[settings] run mksquashfs with -no-progress, to improve usage over ssh and slower networks
2009-12-20 22:37:52 +01:00
Fabio Erculiani
b1a46ec852
[molecule.specs.remaster] fix custom_packages_add_cmd and custom_packages_remove_cmd support, thanks to Brian Tomlinson for reporting
2009-12-18 10:25:30 +01:00
Fabio Erculiani
126d021f69
[molecule] update molecule version
2009-12-14 14:53:06 +01:00
Fabio Erculiani
64105dc642
[molecule.specs.plugin.remaster] add inner_chroot_script_after hook, to be executed after packages installation and removal
2009-12-14 10:45:50 +01:00
Fabio Erculiani
facce3158f
[molecule.settings] prefer --delete-during to --delete-before rsync arg
2009-12-01 19:39:17 +01:00
Fabio Erculiani
400cf1d049
[molecule] implement ISO to TAR handler
2009-11-21 23:44:46 +01:00
Fabio Erculiani
8ba46f7635
[molecule] fix mkisofs title argument
2009-10-27 21:09:26 +01:00
Fabio Erculiani
3d3ae2c6dc
[molecule] fix runner issue
2009-10-27 16:42:25 +01:00
Fabio Erculiani
59f3b9af93
[molecule] improve ability to reimplement Handlers, add setup() method, fixup code accordingly
2009-10-27 16:33:34 +01:00
Fabio Erculiani
c7f7d09ba0
[molecule] add support for outer_chroot_script_after (to be executed after inner chroot script)
2009-10-27 16:10:49 +01:00
Fabio Erculiani
12a1d83ac9
[molecule] remaster plugin: do not remove/empty paths before hooks, always kill tmp dir
2009-10-27 10:57:58 +01:00
Fabio Erculiani
e6f8062c2a
[molecule] remaster plugin: run repo update hook before everything
2009-10-27 10:35:45 +01:00
Fabio Erculiani
14f2ae9dd9
[molecule] remaster plugin: remove 'mod' key from parser data dicts, make possible to split packages_to_add/packages_to_remove using comma
2009-10-27 10:28:45 +01:00
Fabio Erculiani
8731a14818
[molecule] remaster plugin: add support for paths_to_remove and paths_to_empty
2009-10-27 10:22:00 +01:00
Fabio Erculiani
519ea46e3a
[molecule] remaster plugin: run chroot hooks before packages handling
2009-10-27 10:16:41 +01:00
Fabio Erculiani
3942828a87
[molecule] add missing module
2009-10-27 06:07:46 +01:00
Fabio Erculiani
eb700e5133
[molecule] complete support for easily remastering Sabayon ISO images
2009-10-25 13:57:13 +01:00
Fabio Erculiani
f55ec1646b
[molecule] move code to plugins, implement fuzzy iso_remaster plugin
2009-10-23 12:45:07 +02:00
Fabio Erculiani
768d454e74
[molecule.settings] add __plugin__ key in metadata to be able to use SpecParser plugin afterwards (and fix typo)
2009-10-23 12:44:22 +02:00
Fabio Erculiani
010d2b82e9
[molecule.specs] add missing import
2009-10-23 11:59:46 +02:00
Fabio Erculiani
9bcd860c32
[molecule] add iso_remaster execution_strategy spec file plugin
2009-10-23 11:57:29 +02:00
Fabio Erculiani
9e4112614f
[molecule] make Spec* classes pluggable
...
This will allow the implementation of multiple execution strategies.
For example, a simple ISO remaster (with pkgs add/remove) would be easily
implemented.
2009-10-23 11:41:45 +02:00
Fabio Erculiani
b3030850f1
[molecule] update code style
2009-10-23 11:40:13 +02:00
Fabio Erculiani
2b658b5259
fix molecule.utils.remove_path_sandbox
...
paths did not get expanded when using list arguments, so try using
shell = True and pass a string
2009-03-26 15:31:04 +01:00
Fabio Erculiani
d8d8d16b9a
add other rsync arguments
...
--delete-before and -d should make clear that we don't want stale
files in the receiver path and its subdirs
2009-03-26 15:12:12 +01:00
Fabio Erculiani
11822234ad
revert rsync -X argument
...
clients can not support extended attributes
2009-03-26 14:48:54 +01:00
Fabio Erculiani
b2eadf7841
add missing arguments to rsync
...
-X, -A, -H and --recursive could be handy and were missing.
2009-03-26 14:46:49 +01:00
Fabio Erculiani
2083ff143f
fix .md5 creation
...
After mkisofs, md5sum is run and .md5 file is produced. The latter
was created incorrectly, first is the checksum, then the filename,
not vice versa.
2009-03-26 12:53:57 +01:00
root
bccb1f97d2
do not reimplement built-in exceptions
...
Remove exceptions shadowing built-in ones from molecule.exceptions
and update the code to work with this change
2009-03-25 12:47:33 +01:00
root
db9d6025b3
remove unused imports and fix inner chroot script removal
...
EnvironmentError and NotImplementedError are built-in exceptions
so better stop using them in handlers.py
Inner chroot script didn't get removed properly after creation.
This should fix it.
2009-03-25 12:45:18 +01:00
lxnay
4c07da0ffd
Molecule:
...
- generate ISO md5 file automatically
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3190 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 17:13:54 +00:00
lxnay
551fc67c31
Molecule:
...
- when executing a script inside a chroot, remember to remove it once done
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3134 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 23:21:24 +00:00
lxnay
9560145682
Molecule:
...
- fix release file creation
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3111 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-05 13:34:46 +00:00
lxnay
fae805e3fd
Molecule:
...
- implement sandbox support on ChrootHandler
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3104 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-03 12:20:43 +00:00