summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug #268724 - Show a warning message for --unmerge operations and suggestZac Medico2010-02-191-0/+9
| | | | | | --depclean <atom> instead. svn path=/main/trunk/; revision=15393
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-111-3/+6
| | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-211-1/+1
| | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15125
* In calc_depclean(), load the FakeVartree before using it. This fixesZac Medico2009-11-271-1/+1
| | | | | | | a regression which causes incomplete graph creation (since r14773). Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14899
* Bug #291200 - Make --quiet-build set PORTAGE_QUIET=1, so that --unmerge isZac Medico2009-11-141-1/+1
| | | | | | quiet. svn path=/main/trunk/; revision=14821
* Bug #292664 - Show ACCEPT_LICENSE in emerge --info.Zac Medico2009-11-111-1/+2
| | | | svn path=/main/trunk/; revision=14814
* Bug #278336 - Use adjust_config to set PORTAGE_QUIET when the config isZac Medico2009-11-091-0/+9
| | | | | | | reloaded after sync, so that PORTAGE_QUIET is set when the post_sync script is executed. svn path=/main/trunk/; revision=14805
* Decode git output in _emerge.actions.git_sync_timestamps() for bug #291790.Arfrever Frehtes Taifersar Arahesis2009-11-041-1/+2
| | | | svn path=/main/trunk/; revision=14777
* Bug #134466 - Add a --ask-enter-invalid option. When used together with theZac Medico2009-10-241-5/+11
| | | | | | | --ask option, interpret a single "Enter" key press as invalid input. This helps prevent accidental acceptance of the first choice. svn path=/main/trunk/; revision=14710
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-231-46/+1
| | | | | | "Calculating dependencies", and spinner cleanup code. svn path=/main/trunk/; revision=14704
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-231-2/+8
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. svn path=/main/trunk/; revision=14703
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-191-37/+43
| | | | | | | dependency output. This also fixes a bug from the 'selected' set changes which could cause the system set to be disregarded in some cases. svn path=/main/trunk/; revision=14680
* Call config._init_dirs() from emerge so that it's not called every timeZac Medico2009-10-181-0/+1
| | | | | | the portage api is imported. svn path=/main/trunk/; revision=14631
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-161-7/+7
| | | | | | | | to portage-2.2_rc* releases. In addition to @system, @world now includes a @selected set which represents user-selected "world" packages and sets that saved in /var/lib/portage/world{,sets}. svn path=/main/trunk/; revision=14614
* Remove soname_cache inside calc_depclean() since LinkageMap caches thatZac Medico2009-10-161-5/+1
| | | | | | already. svn path=/main/trunk/; revision=14613
* When --depclean pulls in the provider of a library because of installedZac Medico2009-10-141-1/+8
| | | | | | consumers, display the soname(s) of the consumed libraries. svn path=/main/trunk/; revision=14599
* Handle AUTOCLEAN and NOCOLOR case insensitivity inside config.Zac Medico2009-10-091-8/+0
| | | | svn path=/main/trunk/; revision=14528
* Bug #287950 - Add a --fail-clean[=n] option, for enabling or disablingZac Medico2009-10-081-0/+13
| | | | | | FEATURES=fail-clean from the command line. svn path=/main/trunk/; revision=14518
* - move news into features so it can be ignored when needed. Lots of ↵Ned Ludd2009-10-051-9/+11
| | | | | | whitespace cleanups svn path=/main/trunk/; revision=14497
* Fix breakage in file path -> package lookup code.Zac Medico2009-09-281-1/+1
| | | | svn path=/main/trunk/; revision=14455
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-2/+2
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14380
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-13/+13
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-3/+3
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14295
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-6/+9
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of numbers in some files which were missing in previous commit.Arfrever Frehtes Taifersar Arahesis2009-09-201-8/+8
| | | | svn path=/main/trunk/; revision=14293
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-148/+147
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-26/+26
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Avoid lots of redundant Atom constructor calls. Thanks to Marat RadchenkoZac Medico2009-09-191-2/+1
| | | | | | <marat@slonopotamus.org> for the initial patch from bug #276813. svn path=/main/trunk/; revision=14282
* In display_news_notification(), use the exising vartree instance to populateZac Medico2009-09-061-0/+6
| | | | | | | settings.treeVirtuals, to avoid having a temporary one instantiated. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14208
* consistently use CACHE_PATH with target_root, this commit needs a separate ↵Fabian Groffen2009-09-051-1/+1
| | | | | | soon to be done commit of pym/portage/const.py to work correctly svn path=/main/trunk/; revision=14188
* Use the new portage.output._init(config_root) function.Zac Medico2009-08-181-1/+1
| | | | svn path=/main/trunk/; revision=14089
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-8/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995
* In calc_depclean(), sort packages that are displayed due to being pulledZac Medico2009-08-101-1/+2
| | | | | | in by link level dependencies. svn path=/main/trunk/; revision=13970
* Inside calc_depclean(), use LinkageMap.findConsumers() for checkingZac Medico2009-08-101-15/+11
| | | | | | | intersection of files being removed with providers in the LinkageMap (a KeyError is raised when there is no intersection). svn path=/main/trunk/; revision=13968
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-061-4/+3
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Rename get_updated_config_files() to find_updated_config_files() and makeZac Medico2009-07-301-2/+3
| | | | | | it an iterator of tuples. svn path=/main/trunk/; revision=13859
* Add get_updated_config_files in portage APIMounir Lamouri2009-07-301-52/+13
| | | | | | | chk_updated_cfg_files in _emerge API is now using get_updated_config_files It lets other app to get updated config files without ouputs svn path=/main/trunk/; revision=13858
* Add comment in calc_depclean() about topological sort optimization thatZac Medico2009-07-211-1/+2
| | | | | | minimizes issues with implicit deps. svn path=/main/trunk/; revision=13846
* Move mtimedb resume list code from action_build() toZac Medico2009-07-201-8/+0
| | | | | | Scheduler._save_resume_list(). svn path=/main/trunk/; revision=13841
* Remove leading slash from appropriate paths inside portage.const, so thatZac Medico2009-07-121-4/+5
| | | | | | | lstrip(os.sep) is not needed for os.path.join() calls. Thanks to Fabian Groffen <grobian@g.o> for this patch. svn path=/main/trunk/; revision=13821
* Move the backtracking code from action_build() to a new backtrack_depgraph()Zac Medico2009-07-121-38/+14
| | | | | | function. svn path=/main/trunk/; revision=13818
* Delete runtime_pkg_mask to avoid memory leak.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13774
* Cleanup spinner before calling depgraph.display_problems().Zac Medico2009-07-041-0/+2
| | | | svn path=/main/trunk/; revision=13770
* Bug #275217 - Part 5 - When a slot conflict occurs, mask the first packageZac Medico2009-07-041-15/+39
| | | | | | | | | | | | | that got pulled in and restart the calculation. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch which I added some additional features to: * display message about missed updates * cache frozen_config instance, to optimize performance * disable backtracking if it fails, fall back to a normal dep calculation + error message. svn path=/main/trunk/; revision=13769
* Fix broken reference to _graph_trees.Zac Medico2009-07-031-1/+1
| | | | svn path=/main/trunk/; revision=13763
* Fix broken references to depgraph._dynamic_config and _frozen_config inZac Medico2009-07-011-10/+11
| | | | | | calc_depclean(). svn path=/main/trunk/; revision=13754
* Use clear_caches() to free memory inside action_depclean().Zac Medico2009-06-261-2/+1
| | | | svn path=/main/trunk/; revision=13700