Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108080 Details for
Bug 163588
app-portage/gentoolkit-0.2.3_pre3: eclean-dist does not clean enough
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add debug statements to eclean
eclean.debug.patch (text/plain), 1.17 KB, created by
Paul Varner (RETIRED)
on 2007-01-25 04:21:22 UTC
(
hide
)
Description:
Add debug statements to eclean
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2007-01-25 04:21:22 UTC
Size:
1.17 KB
patch
obsolete
>Index: eclean >=================================================================== >--- eclean (revision 339) >+++ eclean (working copy) >@@ -513,6 +513,7 @@ > clean_dict = {} > keep = [] > pkg_dict = {} >+ out = sys.stderr > > # create a big CPV->SRC_URI dict of packages whose distfiles should be kept > if (not destructive) or fetch_restricted: >@@ -554,8 +555,10 @@ > except: continue > if not stat.S_ISREG(file_stat[stat.ST_MODE]): continue > if size_limit and (file_stat[stat.ST_SIZE] >= size_limit): >+ print >>out, "Size: " + file > continue > if time_limit and (file_stat[stat.ST_MTIME] >= time_limit): >+ print >>out, "Time: " + file > continue > if 'garbage' in exclude_dict: > # Try to match file name directly >@@ -570,12 +573,14 @@ > break > > if file_match: >+ print >>out, "Exclusion: " + file > continue > # this is a candidate for cleaning > clean_dict[file]=[filepath] > # remove files owned by some protected packages > for my_cpv in pkg_dict: > for file in file_regexp.findall(pkg_dict[my_cpv]+"\n"): >+ print >>out, my_cpv + ": " + file > if file in clean_dict: > del clean_dict[file] > # no need to waste IO time if there is nothing left to clean
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 163588
: 108080