Commit Graph

60 Commits

Author SHA1 Message Date
Fabio Erculiani 0eb7ba2ac2 [po] add i18n support 2010-05-16 15:39:53 +02:00
Fabio Erculiani deb751de7f [molecule] add version tagging script, fix version handling 2010-05-16 15:28:08 +02:00
Fabio Erculiani 53657e82aa [molecule] add Makefiles 2010-05-16 14:46:16 +02:00
Fabio Erculiani 947a4f8a53 [todo] update TODO 2010-05-16 13:38:58 +02:00
Fabio Erculiani 532a364082 [todo] update TODO 2010-05-16 13:38:28 +02:00
Fabio Erculiani 97a5c72792 [molecule.output] trivial code update 2010-05-15 22:18:37 +02:00
Fabio Erculiani 7d2dd23d4d [molecule.output] fix redirection of stdout to file 2010-05-15 22:15:44 +02:00
Fabio Erculiani ee39faa915 [molecule.output] port new code from Entropy (entropy.output) 2010-05-15 22:11:13 +02:00
Fabio Erculiani c70c69a8c8 [molecule.settings] version bump 2010-05-09 16:50:37 +02:00
Fabio Erculiani d969baa293 [molecule.output] disable colorized output if stdout is not a tty 2010-04-29 16:41:06 +02:00
Fabio Erculiani de9d6cba26 [molecule] update version 2010-04-25 16:15:09 +02:00
Fabio Erculiani 6e4b5c61ad [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 153cf5b6a5 [molecule] remove python 2.5 __future__ import 2010-04-22 22:13:04 +02:00
Fabio Erculiani c97e95e1c7 [molecule.settings] bump version inside settings 2010-04-19 11:02:20 +02:00
Fabio Erculiani 31592156e0 [molecule] kill all running children pids on exit 2010-04-18 18:49:46 +02:00
Fabio Erculiani 7bbca1c50d [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 78a05f1006 [todo] add TODO 2010-04-08 17:05:29 +02:00
Fabio Erculiani a318617464 [settings] run mksquashfs with -no-progress, to improve usage over ssh and slower networks 2009-12-20 22:37:52 +01:00
Fabio Erculiani cea412a6a1 [molecule] update molecule version 2009-12-14 14:53:06 +01:00
Fabio Erculiani 24ee8b3952 [molecule.settings] prefer --delete-during to --delete-before rsync arg 2009-12-01 19:39:17 +01:00
Fabio Erculiani ce2314917b [molecule] do not print traceback when CTRL+C is pressed 2009-11-21 23:44:05 +01:00
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