Package _emerge :: Module actions
[hide private]

Module actions

source code

Classes [hide private]
  long
int(x=0) -> int or long int(x, base=10) -> int or long
  _info_pkgs_ver
  _emerge_config
Functions [hide private]
 
action_build(settings, trees, mtimedb, myopts, myaction, myfiles, spinner) source code
 
action_config(settings, trees, myopts, myfiles) source code
 
action_depclean(settings, trees, ldpath_mtimes, myopts, action, myfiles, spinner, scheduler=None) source code
 
calc_depclean(settings, trees, ldpath_mtimes, myopts, action, args_set, spinner) source code
 
action_deselect(settings, trees, opts, atoms) source code
 
action_info(settings, trees, myopts, myfiles) source code
 
action_metadata(settings, portdb, myopts, porttrees=None) source code
 
action_regen(settings, portdb, max_jobs, max_load) source code
 
action_search(root_config, myopts, myfiles, spinner) source code
 
action_sync(emerge_config, trees=<type 'exceptions.DeprecationWarning'>, mtimedb=<type 'exceptions.DeprecationWarning'>, opts=<type 'exceptions.DeprecationWarning'>, action=<type 'exceptions.DeprecationWarning'>) source code
 
_sync_repo(emerge_config, repo) source code
 
action_uninstall(settings, trees, ldpath_mtimes, opts, action, files, spinner) source code
 
adjust_configs(myopts, trees) source code
 
adjust_config(myopts, settings)
Make emerge specific adjustments to the config.
source code
 
display_missing_pkg_set(root_config, set_name) source code
 
relative_profile_path(portdir, abs_profile) source code
 
getportageversion(portdir, _unused, profile, chost, vardb) source code
 
git_sync_timestamps(portdb, portdir)
Since git doesn't preserve timestamps, synchronize timestamps between entries and ebuilds/eclasses.
source code
 
load_emerge_config(emerge_config=None, **kargs) source code
 
getgccversion(chost)
rtype: str return: the current in-use gcc version
source code
 
validate_ebuild_environment(trees) source code
 
check_procfs() source code
 
config_protect_check(trees) source code
 
apply_priorities(settings) source code
 
nice(settings) source code
 
ionice(settings) source code
 
setconfig_fallback(root_config) source code
 
get_missing_sets(root_config) source code
 
missing_sets_warning(root_config, missing_sets) source code
 
ensure_required_sets(trees) source code
 
expand_set_arguments(myfiles, myaction, root_config) source code
 
repo_name_check(trees) source code
 
repo_name_duplicate_check(trees) source code
 
run_action(emerge_config) source code
Variables [hide private]
  good = create_color_func("GOOD")
  bad = create_color_func("BAD")
  warn = create_color_func("WARN")
  _emerge_features_warn = frozenset([u'keeptemp', u'keepwork'])
  __package__ = '_emerge'

Imports: errno, logging, operator, platform, pwd, random, re, signal, socket, stat, subprocess, sys, tempfile, textwrap, time, warnings, chain, portage, _, os, shutil, eapi_is_supported, _encodings, _unicode_decode, CacheError, GLOBAL_CONFIG_PATH, VCS_DIRS, _DEPCLEAN_LIB_CHECK_DEFAULT, SUPPORTED_BINPKG_FORMATS, dep_expand, expand_new_virt, Atom, hashed_path, InvalidAtom, InvalidData, blue, bold, colorize, create_color_func, darkgreen, red, xtermTitle, xtermTitleReset, yellow, QueryCommand, _check_temp_dir, load_default_config, SETPREFIX, InternalPackageSet, cmp_sort_key, writemsg, varexpand, writemsg_level, writemsg_stdout, digraph, SlotObject, run_main_scheduler, SchedulerInterface, global_event_loop, _global_updates, clear_caches, countdown, create_depgraph_params, Dependency, backtrack_depgraph, depgraph, resume_depgraph, DepPrioritySatisfiedRange, emergelog, is_valid_package_atom, MetadataRegen, Package, ProgressHandler, RootConfig, Scheduler, search, SetArg, show_invalid_depstring_notice, getaddrinfo_validate, old_tree_timestamp_warn, unmerge, UnmergeDepPriority, pkg_use_display, userquery, _unicode, chk_updated_cfg_files, count_unread_news, display_news_notification, display_news_notifications, emerge_help, get_vm_info, post_emerge, similar_name_search, stdout_spinner


Function Details [hide private]

git_sync_timestamps(portdb, portdir)

source code 

Since git doesn't preserve timestamps, synchronize timestamps between entries and ebuilds/eclasses. Assume the cache has the correct timestamp for a given file as long as the file in the working tree is not modified (relative to HEAD).