Package _emerge :: Module post_emerge
[hide private]

Module post_emerge

source code

Functions [hide private]
 
clean_logs(settings) source code
 
display_news_notification(root_config, myopts) source code
 
show_depclean_suggestion() source code
 
post_emerge(myaction, myopts, myfiles, target_root, trees, mtimedb, retval)
Misc.
source code
Variables [hide private]
  __package__ = '_emerge'

Imports: logging, textwrap, portage, os, CleanLogs, count_unread_news, display_news_notifications, colorize, display_preserved_libs, chk_updated_info_files, chk_updated_cfg_files, emergelog, _flush_elog_mod_echo


Function Details [hide private]

post_emerge(myaction, myopts, myfiles, target_root, trees, mtimedb, retval)

source code 

Misc. things to run at the end of a merge session.

Update Info Files Update Config Files Update News Items Commit mtimeDB Display preserved libs warnings

Parameters:
  • myaction (String) - The action returned from parse_opts()
  • myopts (dict) - emerge options
  • myfiles (list) - emerge arguments
  • target_root (String) - The target EROOT for myaction
  • trees (dict) - A dictionary mapping each ROOT to it's package databases
  • mtimedb (MtimeDB class instance) - The mtimeDB to store data needed across merge invocations
  • retval (Int) - Emerge's return value