Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42487 Details for
Bug 68694
Patch to emerge to show status of "portage cache update" in percents.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch for emerge
emerge.patch (text/plain), 897 bytes, created by
Riku Palomäki
on 2004-10-24 05:31:52 UTC
(
hide
)
Description:
The patch for emerge
Filename:
MIME Type:
Creator:
Riku Palomäki
Created:
2004-10-24 05:31:52 UTC
Size:
897 bytes
patch
obsolete
>--- emerge-old 2004-10-24 15:03:15.000000000 +0300 >+++ emerge 2004-10-24 15:11:45.000000000 +0300 >@@ -2546,7 +2546,7 @@ > > > if os.path.exists(myportdir+"/metadata/cache") and updatecache_flg: >- print "\n>>> Updating Portage cache... ", >+ print "\n>>> Updating Portage cache: ", > os.umask(0002) > cachedir = os.path.normpath(portage.settings.depcachedir) > if cachedir in ["/", "/bin", "/dev", "/etc", "/home", >@@ -2590,7 +2590,13 @@ > portage.portdb.porttrees=[portage.portdb.porttree_root] > mynodes=portage.portdb.cp_all() > mynodes.sort() >+ nodecount=len(mynodes) >+ currentnode=0 > for x in mynodes: >+ currentnode=currentnode+1 >+ pernode=str(100*currentnode/nodecount) >+ sys.stdout.write("\b\b\b\b\b"+len(pernode)*"\b"+" "+pernode+"% ") >+ sys.stdout.flush() > myxsplit=x.split("/") > mymatches=portage.portdb.xmatch("match-all",x) > mymatches.sort()
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 68694
: 42487