| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
| stdout_spinner | |||
| search | |||
|
RootConfig This is used internally by depgraph to track information about a particular $ROOT. |
|||
| SlotObject | |||
| AbstractDepPriority | |||
|
DepPriority This class generates an integer priority level based of various attributes of the dependency relationship. |
|||
| BlockerDepPriority | |||
| UnmergeDepPriority | |||
|
FakeVartree This is implements an in-memory copy of a vartree instance that provides all the interfaces required for use by the depgraph. |
|||
| Task | |||
| Blocker | |||
| Package | |||
|
_PackageMetadataWrapper Detect metadata updates and synchronize Package attributes. |
|||
| EbuildFetchPretend | |||
|
AsynchronousTask Subclasses override _wait() and _poll() so that calls to public methods can be wrapped for implementing hooks such as exit listener notification. |
|||
|
PipeReader Reads output from one or more files and saves it in memory, for retrieval via the getvalue() method. |
|||
| CompositeTask | |||
|
TaskSequence A collection of tasks that executes sequentially. |
|||
| SubProcess | |||
|
SpawnProcess Constructor keyword args are passed into portage.process.spawn(). |
|||
|
MiscFunctionsProcess Spawns misc-functions.sh with an existing ebuild environment. |
|||
| EbuildFetcher | |||
| EbuildBuildDir | |||
| EbuildBuild | |||
| EbuildExecuter | |||
|
EbuildMetadataPhase Asynchronous interface for the ebuild "depend" phase which is used to extract metadata from the ebuild. |
|||
| EbuildProcess | |||
| EbuildPhase | |||
|
EbuildBinpkg This assumes that src_install() has successfully completed. |
|||
| EbuildMerge | |||
| PackageUninstall | |||
| Binpkg | |||
| BinpkgFetcher | |||
| BinpkgVerifier | |||
| BinpkgExtractorAsync | |||
|
MergeListItem TODO: For parallel scheduling, everything here needs asynchronous execution support (start, poll, and wait methods). |
|||
|
PackageMerge TODO: Implement asynchronous merge so that the scheduler can run while a merge is executing. |
|||
| DependencyArg | |||
| AtomArg | |||
| PackageArg | |||
| SetArg | |||
| Dependency | |||
|
BlockerCache This caches blockers of installed packages so that dep_check does not have to be done for every single installed package on every invocation of emerge. |
|||
| BlockerDB | |||
|
PackageVirtualDbapi A dbapi-like interface class that represents the state of the installed package database as new packages are installed, replacing any packages that previously existed in the same slot. |
|||
| depgraph | |||
| RepoDisplay | |||
| PackageCounters | |||
|
PollConstants Provides POLL* constants that are equivalent to those from the select module, for use by PollSelectAdapter. |
|||
|
PollSelectAdapter Use select to emulate a poll object, for systems that don't support poll(). |
|||
| SequentialTaskQueue | |||
| PollScheduler | |||
|
QueueScheduler Add instances of SequentialTaskQueue and then call run(). |
|||
|
TaskScheduler A simple way to handle scheduling of AsynchrousTask instances. |
|||
| JobStatusDisplay | |||
| Scheduler | |||
| MetadataRegen | |||
|
UninstallFailure An instance of this class is raised by unmerge() when an uninstallation fails. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Boolean |
|
||
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| tuple |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
actions =
|
|||
options =
|
|||
shortmapping =
|
|||
_all_metadata_keys =
|
|||
_can_poll_device = None
|
|||
Imports: sys, signal, array, deque, fcntl, formatter, logging, select, shlex, shutil, textwrap, urlparse, weakref, gc, os, stat, platform, osp, digraph, portdbapi, NEWS_LIB_PATH, CACHE_PATH, PRIVATE_PATH, USER_CONFIG_PATH, GLOBAL_CONFIG_PATH, commands, errno, re, socket, time, types, blue, bold, colorize, darkblue, darkgreen, darkred, green, havecolor, nc_len, nocolor, red, teal, turquoise, xtermTitle, xtermTitleReset, yellow, create_color_func, good, bad, white, portage, secpass, eerror, normpath, writemsg, writemsg_level, load_default_config, SETPREFIX, InternalPackageSet, chain, izip, DictMixin, cPickle, StringIO, slot_dict_class, _PackageMetadataWrapperBase, help
|
|||
Displays a prompt and a set of responses, then waits for a response which is checked against the responses and the first to match is returned. An empty response will match the first value in responses. The input buffer is *not* cleared prior to the prompt! prompt: a String. responses: a List of Strings. colours: a List of Functions taking and returning a String, used to process the responses for display. Typically these will be functions like red() but could be e.g. lambda x: "DisplayString". If responses is omitted, defaults to ["Yes", "No"], [green, red]. If only colours is omitted, defaults to [bold, ...]. Returns a member of the List responses. (If called without optional arguments, returns "Yes" or "No".) KeyboardInterrupt is converted to SystemExit to avoid tracebacks being printed. |
Create a new atom for the world file if one does not exist. If the argument atom is precise enough to identify a specific slot then a slot atom will be returned. Atoms that are in the system set may also be stored in world since system atoms can only match one slot while world atoms can be greedy with respect to slots. Unslotted system packages will not be stored in world. |
Check if a package is visible. This can raise an InvalidDependString exception if LICENSE is invalid. TODO: optionally generate a list of masking reasons
|
Test if it's possible to use poll() on a device such as a pty. This is known to fail on Darwin.
|
Dump the mod_echo output now so that our other notifications are shown last.
|
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 Exit Emerge @param trees: A dictionary mapping each ROOT to it's package databases @type trees: dict @param mtimedb: The mtimeDB to store data needed across merge invocations @type mtimedb: MtimeDB class instance @param retval: Emerge's return value @type retval: Int @rype: None @returns: 1. Calls sys.exit(retval) |
Examines news items in repodir + '/' + NEWS_PATH and attempts to find unread items Returns the number of unread (yet relevent) items. @param portdb: a portage tree database @type portdb: pordbapi @param vardb: an installed package database @type vardb: vardbapi @param NEWS_PATH: @type NEWS_PATH: @param UNREAD_PATH: @type UNREAD_PATH: @param repo_id: @type repo_id: @rtype: Integer @returns: 1. The number of unread but relevant news items. |
Construct a depgraph for the given resume list. This will raise PackageNotFound or depgraph.UnsatisfiedResumeDep when necessary.
|
Parse optional arguments and insert a value if one has not been provided. This is done before feeding the args to the optparse parser since that parser does not support this feature natively. |
|
|||
actions
|
options
|
shortmapping
|
_all_metadata_keys
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Sep 10 22:58:59 2008 | http://epydoc.sourceforge.net |