summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/unmerge.py
Commit message (Collapse)AuthorAgeFilesLines
* unmerge: use cpv_sort_key instead of pkgcmpZac Medico2012-05-131-10/+12
|
* unmerge: display progress counter, bug #386901Boris Minev2012-04-031-1/+14
|
* unmerge: fix return code for bug #409647Zac Medico2012-03-251-6/+8
|
* action_depclean: fix return codeZac Medico2011-12-021-1/+1
| | | | | | The fixes some cases where emerge.log would show that depclean was unsuccessful when it was really successful but there was nothing to remove.
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-251-2/+2
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
* unmerge: show virtual in system unmerge warningZac Medico2011-06-081-1/+9
| | | | | | This is intended to clarify the messages shown in bug #370295, so that it's obvious when a package is a member of the system set due to it being a virtual provider.
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-06-061-1/+1
|
* unmerge: pass through writemsg_level paramZac Medico2011-05-261-1/+1
|
* unmerge: split out _unmerge_display() functionZac Medico2011-05-231-20/+44
| | | | | | | This will be useful for adding asynchronous support to the PackageUninstall class, since it will be able to call _unmerge_display() for the display portion, and then do the actual unmerge asynchronously.
* Use vardbapi.lock() where applicable.Zac Medico2011-05-141-5/+5
|
* unmerge: use frozenset for syslistZac Medico2011-05-111-0/+1
|
* unmerge: skip getvirtuals() if cat is not virtualZac Medico2011-05-081-2/+8
| | | | | This allows us to avoid triggering the old-style virtual code which scans /var/db/pkg/*/*/PROVIDE.
* unmerge: use expand_new_virt for sys pkg warningsZac Medico2011-05-081-1/+8
|
* unmerge: use vardbapi._dblink() to simplifyZac Medico2011-03-081-4/+1
| | | | The dblink constructor is complex and best avoided.
* Bug #357009: Disallow uninstallation of currently used Python interpreter.Arfrever Frehtes Taifersar Arahesis2011-03-091-13/+21
|
* unmerge: don't show null/ cat in unmatched atomsZac Medico2011-02-181-2/+2
| | | | This will fix bug #269534.
* Remove all \a (alert/bell/beep) tokens (bug 336024)Sebastian Luther2010-09-061-2/+2
|
* use EROOT with WORLD_SETS_FILEFabian Groffen2010-09-041-1/+1
|
* use EROOT with VDB_PATHFabian Groffen2010-09-041-2/+2
|
* 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.
* Pass more parameters to the Package constructor.Zac Medico2010-08-061-2/+2
|
* Bug #329803 - Make unmerge() show a machine-readable list of selected packages.Sebastian Luther2010-07-251-0/+2
|
* Allow -C to remove packages referenced by sets in world_setsSebastian Luther2010-04-291-10/+3
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Fix deprecated usage of dep_getkey.Zac Medico2010-02-191-1/+1
| | | | svn path=/main/trunk/; revision=15388
* Allow unmerge of packages from the "selected" set when a package set suchZac Medico2009-10-311-4/+3
| | | | | | | as @unavailable is given on the command line. Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14761
* Bug #134466 - Add a --ask-enter-invalid option. When used together with theZac Medico2009-10-241-1/+3
| | | | | | | --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
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-161-15/+16
| | | | | | | | 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
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-1/+1
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14380
* Use next(iterator) instead of iterator.next() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | (2to3-3.1 -f next -nw ${FILES}) svn path=/main/trunk/; revision=14355
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-3/+3
| | | | | | | | 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-3/+3
| | | | | | (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-2/+1
| | | | | | | | 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 syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-29/+29
| | | | | | (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-1/+1
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* pym/portage/sets/files.py: use WORLD_FILE instead of manual reconstructionFabian Groffen2009-09-051-3/+2
| | | | | | | | | pym/portage/const.py: introduce WORLD_SETS_FILE variable pym/portage/sets/files.py: use new WORLD_SETS_FILE var pym/_emerge/unmerge.py: likewise svn path=/main/trunk/; revision=14197
* sets/files.py cleanPackages function stop calling lock and loadMounir Lamouri2009-08-151-2/+13
| | | | | | | and requires the caller to do that changing unmerge to reflect this change svn path=/main/trunk/; revision=14069
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-9/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).Zac Medico2009-06-221-0/+523
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669