sabayon r689 - in branches/debug-log: . admin-tool lib
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: sabayon r689 - in branches/debug-log: . admin-tool lib
- Date: Wed, 14 Mar 2007 23:05:52 +0000 (GMT)
Author: federico
Date: 2007-03-14 23:05:51 +0000 (Wed, 14 Mar 2007)
New Revision: 689
ViewCVS link: http://svn.gnome.org/viewcvs/sabayon?rev=689&view=rev
Modified:
branches/debug-log/ChangeLog
branches/debug-log/admin-tool/profilesdialog.py
branches/debug-log/admin-tool/sabayon-apply
branches/debug-log/admin-tool/sabayon-session
branches/debug-log/admin-tool/sessionwindow.py
branches/debug-log/lib/config.py.in
branches/debug-log/lib/debuglog.py
branches/debug-log/lib/errors.py
branches/debug-log/lib/protosession.py
branches/debug-log/lib/util.py
Log:
2007-03-14 Federico Mena Quintero <federico novell com>
* admin-tool/profilesdialog.py
(ProfilesDialog.__edit_button_clicked): Log the start of the
editing process.
(ProfilesDialog.__session_finished): Log the end of the editing
process.
(Session.build_envp_for_child): New function; build the envp for
the child process here instead of in Session.start().
(Session.session_stderr_io_cb): New helper function; aggregates
the debug log from sabayon-session into our own log.
(Session.start): Set up the machinery to sniff the debug log from
the helper "sabayon-session" process and to aggregate it into our
own log.
* lib/debuglog.py (uprint): New public function; similar to
dprint() everywhere, but this one logs to the USER domain.
* lib/config.py.in: Note a FIXME; maybe some parameters like
DEFAULT_PATH should be passed to the "configure" script instead of
being hardcoded here.
* lib/errors.py (RecoverableApplyErrorException,
FatalApplyErrorException): New classes for throwing errors from
the "apply" process.
* lib/util.py (get_admin_log_config_filename):
(set_admin_log_config_filename): New functions to get/set the
human-readable filename for the log configuration.
(get_readable_log_config_filename):
(set_readable_log_config_filename): New functions to get/set the
log configuration filename that will be readable by Sabayon's
helper processes.
* admin-tool/sabayon-apply: Save the admin and readable log config
filenames.
* admin-tool/sabayon-session: Likewise.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]