Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41529 Details for
Bug 67072
Display info if there is another version in an overlay
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-2.0.51_rc9-extra-overlay-info.patch
patch (text/plain), 1.36 KB, created by
Georgi Georgiev
on 2004-10-11 03:52:24 UTC
(
hide
)
Description:
portage-2.0.51_rc9-extra-overlay-info.patch
Filename:
MIME Type:
Creator:
Georgi Georgiev
Created:
2004-10-11 03:52:24 UTC
Size:
1.36 KB
patch
obsolete
>--- /usr/lib/portage/bin/emerge.old 2004-10-11 19:16:57.768060771 +0900 >+++ /usr/lib/portage/bin/emerge 2004-10-11 19:41:36.635943839 +0900 >@@ -1509,15 +1509,29 @@ > # overlay verbose > # XXX: Invalid binaries have caused tracebacks here. 'if file_name' > # x = ['binary', '/', 'sys-apps/pcmcia-cs-3.2.7.2.6', 'merge'] >- file_name=portage.portdb.findname(x[2]) >+ file_name,dir_name=portage.portdb.findname2(x[2]) >+ is_overlay = False > if file_name: # It might not exist in the tree >- dir_name=os.path.abspath(os.path.dirname(file_name)+"/../..") > if (overlays.count(dir_name)>0): > verboseadd+=teal("["+str(overlays.index(os.path.normpath(dir_name))+1)+"]")+" " > display_overlays=True >+ is_overlay = True > else: > verboseadd += "[No ebuild?]" > >+ mypkg = portage.catpkgsplit(x[2]) >+ mypkg = mypkg[0]+"/"+mypkg[1] >+ if is_overlay == False : >+ in_overlay = 0 >+ for my_x in portage.portdb.xmatch("match-all", mypkg): >+ if my_x != x[2]: >+ my_file_name = portage.portdb.findname(my_x) >+ my_dir_name = os.path.abspath(os.path.dirname(my_file_name)+"/../..") >+ if (overlays.count(my_dir_name) > 0) : >+ in_overlay += 1 >+ if in_overlay > 0 : >+ verboseadd += yellow("[o"+str(in_overlay) +"]") + " " >+ > xs=portage.pkgsplit(x[2]) > if xs[2]=="r0": > xs[2]=""
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 67072
:
41529
|
88357
|
97058