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
lxnay
2554dd1743
Molecule:
...
- fix a type error
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3101 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-03 10:56:55 +00:00
lxnay
a37b46675d
Molecule:
...
- mkisofs accepts Volume IDs at most 32 chars long
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3097 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 19:53:01 +00:00
lxnay
9645cbdc25
Molecule:
...
- allow to split spec file variables into multiple lines (paths_to_remove for example)
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3096 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 19:43:27 +00:00
lxnay
8adae5a70e
Molecule/Settings:
...
- use dict object directly, no need to duplicate its methods
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@3033 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 17:14:57 +00:00
lxnay
bd9a6ba8ad
Molecule: fix prechroot parsing
...
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2997 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-08 14:37:55 +00:00
lxnay
8bb9afc287
molecule: avoid lines longer than 79 cols
...
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2995 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-05 15:56:30 +00:00
lxnay
5f8bd237d1
Molecule: implement prechroot facility
...
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2992 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-05 12:13:40 +00:00
lxnay
0d469c494a
Molecule:
...
- massive bugfixing, it's starting to work
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2990 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 21:18:37 +00:00
lxnay
b2a5ab49a4
Molecule:
...
- bugfixing several areas
- adding missing spec file options
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2989 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 15:19:05 +00:00
lxnay
3659c5db71
Molecule:
...
- initial code in place
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2982 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 07:34:12 +00:00
lxnay
1b99b9dbae
Molecule:
...
- started to implement handlers
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2980 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-02 14:46:34 +00:00
lxnay
1cda81a93d
Molecule:
...
- first chunk of code
- general infrastructure done
- spec file parser done
git-svn-id: http://svn.sabayonlinux.org/projects/molecule/trunk@2977 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-31 21:57:47 +00:00