Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75562 Details for
Bug 116796
emerge -pv doesn't show the correct download size if partial download exists
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to portage.py to concider the partial download's size
portage-diff-substract-partial-download.diff (text/plain), 755 bytes, created by
Yuval Yaari (RETIRED)
on 2005-12-26 11:42:10 UTC
(
hide
)
Description:
Patch to portage.py to concider the partial download's size
Filename:
MIME Type:
Creator:
Yuval Yaari (RETIRED)
Created:
2005-12-26 11:42:10 UTC
Size:
755 bytes
patch
obsolete
>--- /usr/lib/portage/pym/portage.py.orig 2005-12-26 21:33:22.000000000 +0000 >+++ /usr/lib/portage/pym/portage.py 2005-12-26 21:33:38.000000000 +0000 >@@ -5506,8 +5506,11 @@ > print "[bad digest]: missing",myfile,"for",mypkg > elif myfile in mymd5s.keys(): > distfile=settings["DISTDIR"]+"/"+myfile >+ verified_ok,reason = portage_checksum.verify_all(distfile, mymd5s[myfile]) > if not os.access(distfile, os.R_OK): > filesdict[myfile]=int(mymd5s[myfile]["size"]) >+ elif not verified_ok and os.stat(distfile)[stat.ST_SIZE] < int(mymd5s[myfile]["size"]): >+ filesdict[myfile]=int(mymd5s[myfile]["size"] - os.stat(distfile)[stat.ST_SIZE]) > return filesdict > > def fetch_check(self, mypkg, useflags=None, mysettings=None, all=False):
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 116796
:
75561
| 75562