Fabio Erculiani
ef18f1fa7d
[repo] add .gitignore
2009-10-28 20:41:14 +01:00
Fabio Erculiani
fcc8023863
[molecule] fix runner issue
2009-10-27 16:42:25 +01:00
Fabio Erculiani
055a0b4f51
[molecule] improve ability to reimplement Handlers, add setup() method, fixup code accordingly
2009-10-27 16:33:34 +01:00
Fabio Erculiani
2a8ea3e9da
[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
b0bb50f7e8
[molecule] add missing module
2009-10-27 06:07:46 +01:00
Fabio Erculiani
0f14fd9fc7
[molecule] complete support for easily remastering Sabayon ISO images
2009-10-25 13:57:13 +01:00
Fabio Erculiani
4f9346c480
[molecule] move code to plugins, implement fuzzy iso_remaster plugin
2009-10-23 12:45:07 +02:00
Fabio Erculiani
f7a0e2aad9
[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
785cff5914
[molecule.specs] add missing import
2009-10-23 11:59:46 +02:00
Fabio Erculiani
d58de69bc5
[molecule] add iso_remaster execution_strategy spec file plugin
2009-10-23 11:57:29 +02:00
Fabio Erculiani
b7d3760121
[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
14c052c0aa
[molecule] update code style
2009-10-23 11:40:13 +02:00
Fabio Erculiani
2a76f447e9
[molecule] update code style
2009-10-23 11:39:29 +02:00
Fabio Erculiani
bcbbc5aace
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
7fcf51a5f4
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
6578c720d4
revert rsync -X argument
...
clients can not support extended attributes
2009-03-26 14:48:54 +01:00
Fabio Erculiani
c02f275ad8
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
ae1802a287
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
25d9c43760
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
c7901da24f
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
Fabio Erculiani
a1474e7dee
Merge branch 'master' of git+ssh://sabayonlinux.org/home/git/projects/molecule
2009-03-24 16:56:28 +01:00
Fabio Erculiani
7dd506ac4e
removed EMPTY
2009-03-24 16:25:23 +01:00
Fabio Erculiani
09fec45cda
first commit
2009-03-24 16:11:01 +01:00
lxnay
527526c223
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
e6b415632e
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
e50cfb6703
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
026a41963e
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
ca678519cc
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
9efab119a2
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
f5477d6d49
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
f74b4e3abb
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
baefec2f45
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
39468b6786
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
a32f32c02f
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
372caef077
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
38223f3d14
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
f94f34122a
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
9e1f25cceb
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
b253287f15
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