Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258671 Details for
Bug 350285
sys-apps/portage-2.1.9.25: depclean removes stable slots instead of higher-versioned unstable slots
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix depclean more
depclean2.patch (text/plain), 1.17 KB, created by
Zac Medico
on 2011-01-02 21:14:06 UTC
(
hide
)
Description:
fix depclean more
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-01-02 21:14:06 UTC
Size:
1.17 KB
patch
obsolete
>From b7de3d1fb10e40b4ef03462f8a145968689ac587 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sun, 2 Jan 2011 13:10:42 -0800 >Subject: [PATCH] depclean: account for more masks > >Account for packages with masks (like KEYWORDS masks) that are usually >ignored in visibility checks for installed packages, in order to >handle cases like bug #350285. >--- > pym/_emerge/depgraph.py | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py >index a110944..2ab027c 100644 >--- a/pym/_emerge/depgraph.py >+++ b/pym/_emerge/depgraph.py >@@ -5426,7 +5426,12 @@ class _dep_check_composite_db(dbapi): > arg = None > if arg: > return False >- if pkg.installed and not self._depgraph._pkg_visibility_check(pkg): >+ if pkg.installed and \ >+ (pkg.masks or not self._depgraph._pkg_visibility_check(pkg)): >+ # Account for packages with masks (like KEYWORDS masks) >+ # that are usually ignored in visibility checks for >+ # installed packages, in order to handle cases like >+ # bug #350285. > return False > in_graph = self._depgraph._dynamic_config._slot_pkg_map[ > self._root].get(pkg.slot_atom) >-- >1.7.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 350285
:
258608
|
258670
| 258671