summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
Commit message (Collapse)AuthorAgeFilesLines
* With waitpid and WNOHANG, only check the first element of the tuplev2.2_rc85Zac Medico2010-09-191-1/+4
| | | | since the second element may vary (bug #337465, comment #12).
* Add digraph --debug output in calc_depclean() for the case whenZac Medico2010-09-181-0/+6
| | | | it bails out due to unresolved dependencies.
* Move traversal of world_sets from calc_depclean() toZac Medico2010-09-161-24/+22
| | | | | | | | depgraph._complete_graph(). With this patch, nested set traversal is only used for removal operations like --depclean and --prune. A later patch will introduce similar traversal for all operations, in order to solve bug #337540.
* Add missing noiselevel parameter to writemsg_stdout() call from previousZac Medico2010-09-161-1/+1
| | | | commit.
* Make UseFlagDisplay __str__ and __unicode__ methods more likeZac Medico2010-09-161-2/+6
| | | | DependencyArg, and add tests.
* global updates: Honor -q and don't repeat the legendSebastian Luther2010-09-101-1/+1
|
* Bug #267103 - In action_build(), check for config file updates inZac Medico2010-09-091-0/+4
| | | | /etc/portage and warn if necessary.
* Use EROOT in chk_updated_cfg_files() calls.Zac Medico2010-09-091-2/+3
|
* Make action_info() validate PORTAGE_TMPDIR since it uses it to solveZac Medico2010-09-081-0/+7
| | | | bug #336503.
* Bug #336503 - Use PORTAGE_TMPDIR for the emerge --sync server timestampZac Medico2010-09-081-2/+7
| | | | | tempfile, since with FEATURES=usersync, the default directory used by the tempfile module may not be readbable by the usersync user.
* Fix broken dep_check() call in calc_depclean() to useZac Medico2010-09-081-7/+6
| | | | depgraph._select_atoms() instead.
* Move the Scheduler mergelist constructor parameter to the graph_configZac Medico2010-09-061-9/+7
| | | | object.
* always apply EPREFIX prepending to GLOBAL_CONFIG_PATHFabian Groffen2010-09-051-2/+6
|
* Remove redundant initial os.sep argument to os.path.join() callsZac Medico2010-09-051-1/+1
| | | | involving EROOT.
* use EROOT with NEWS_LIB_PATHFabian Groffen2010-09-041-1/+1
|
* use EROOT with CACHE_PATHFabian Groffen2010-09-041-1/+1
|
* Fix breakage from previous commit.Zac Medico2010-09-031-6/+6
|
* Move AlarmSignal.unregister() call to a better place in action_sync().Zac Medico2010-09-031-2/+3
|
* Use AlarmSignal for alarm timeout in action_sync().Zac Medico2010-09-031-8/+5
|
* Show PORTAGE_BZIP2_COMMAND and PORTAGE_BUNZIP2_COMMAND in emerge --info,Zac Medico2010-08-301-1/+11
| | | | in case it triggers mysterious unpack() issues or something.
* When _ENABLE_DYN_LINK_MAP is False, show additional --depclean helpZac Medico2010-08-301-0/+6
| | | | and warnings advising use of revdep-rebuild.
* Remove duplicate real_vardb definition from merge in action_depclean().Zac Medico2010-08-301-1/+0
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-301-1/+2
|\
| * Fix "UnboundLocalError: local variable 'real_vardb' referenced before ↵Arfrever Frehtes Taifersar Arahesis2010-08-301-1/+1
| | | | | | | | assignment".
| * Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-08-301-1/+1
| |
* | Fix broken reference to real_vardb in calc_depclean() from 2 commits ago.Zac Medico2010-08-301-1/+1
|/
* Rename the portage.sets module to portage._sets since it will be usefulZac Medico2010-08-301-2/+2
| | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form.
* Always check if vardbapi._linkmap and vardbapi._plib_registry areZac Medico2010-08-291-2/+10
| | | | | | None before trying to use them. This will be useful in the upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.linkmap to vardbapi._linkmap since I'mZac Medico2010-08-291-1/+1
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.plib_registry to vardbapi._plib_registry since I'mZac Medico2010-08-291-1/+1
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-1/+1
|
* config: Add VirtualsManagerSebastian Luther2010-08-271-4/+3
|
* Bug #334319 - Don't call config.backup_changes("FEATURES") because it'sZac Medico2010-08-241-2/+0
| | | | | no longer needed and it causes problems with environment overrides of FEATURES.
* Remove deprecated destroot argument from dblink.isowner() call.Zac Medico2010-08-221-1/+1
|
* Add a wrapper around config.features that provides the followingZac Medico2010-08-211-4/+0
| | | | | | | | | | | | | | | | enhancements: * The FEATURES variable is automatically synchronized upon modification. * Modifications result in a permanent override that will cause the change to propagate to the incremental stacking mechanism in config.regenerate(). This eliminates the need to call config.backup_changes() when FEATURES is modified, since any overrides are guaranteed to persist despite calls to config.reset(). This allows cleanup of all code that overrides FEATURES, and also allows config.regenerate() to stack FEATURES such that special cases are not needed for package.env handling inside config.setcpv().
* Update docs, comments, and messages to refer to make.globals inZac Medico2010-08-191-3/+5
| | | | /usr/share/portage/config/ instead of /etc/make.globals.
* Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version.Zac Medico2010-08-131-0/+2
| | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv.
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-101-9/+5
|
* Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-08-061-1/+1
|
* In action_unmerge(), create a Schuduler instance for calls to unmerge(),Zac Medico2010-08-061-6/+17
| | | | | in order to cause redirection of ebuild phase output to logs as required for options such as --quiet.
* Use ValueError.args since direct indexing of ValueError is notZac Medico2010-08-051-1/+1
| | | | supported in python3, as reported in bug 241132, commment #4.
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-311-1/+2
|
* Add a --package-moves[=n] option that can be used to control theZac Medico2010-07-281-1/+2
| | | | | "Performing Global Updates" routine. This option is enabled by default.
* Fix calc_depclean() to skip the topological sort code when there'sZac Medico2010-07-281-1/+1
| | | | nothing selected for removal.
* Allow the --depclean library consumer check to be disabled byZac Medico2010-07-261-2/+3
| | | | --depclean-lib-check=n.
* Use writemsg_stdout instead of print, for unicode safety.Zac Medico2010-07-111-7/+7
|
* Fix possible bugs recently introduced in --info version sorting logic.Zac Medico2010-07-111-5/+22
|
* Fix emerge --info breakage for python-3.x (cmp usage).Zac Medico2010-07-111-2/+2
|
* emerge --info: show package names for providing packagesSebastian Luther2010-07-111-6/+15
|
* Bug #327507 - Drop privileges when retrieving server timestamp file andZac Medico2010-07-091-1/+9
| | | | | FEATURES=usersync is enabled. This means that the uid of the temporary timestamp file needs to be temporarily adjusted.