Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 25040 Details for
Bug 28261
Unmerge does not support a --quiet mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
quiet-clean.patch
quiet-clean.patch (text/plain), 1.94 KB, created by
TGL
on 2004-02-05 16:01:10 UTC
(
hide
)
Description:
quiet-clean.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2004-02-05 16:01:10 UTC
Size:
1.94 KB
patch
obsolete
>--- bin/emerge.orig 2004-02-04 18:27:28.250656462 +0100 >+++ bin/emerge 2004-02-04 18:27:57.645032104 +0100 >@@ -1793,22 +1797,42 @@ > if global_unmerge and not pkgmap[x]["selected"]: > #avoid cluttering the preview printout with stuff that isn't getting unmerged > continue >- print "\n "+white(x) >- for mytype in ["selected","protected","omitted"]: >- print string.rjust(mytype,12)+":", >- if pkgmap[x][mytype]: >- for mypkg in pkgmap[x][mytype]: >- mysplit=portage.catpkgsplit(mypkg) >- if mysplit[3]=="r0": >- myversion=mysplit[2] >- else: >- myversion=mysplit[2]+"-"+mysplit[3] >- if mytype=="selected": >- print red(myversion), >- else: >- print green(myversion), >- else: >- print "none", >+ if "--quiet" not in myopts: >+ print "\n "+white(x) >+ for mytype in ["selected","protected","omitted"]: >+ print string.rjust(mytype,12)+":", >+ if pkgmap[x][mytype]: >+ for mypkg in pkgmap[x][mytype]: >+ mysplit=portage.catpkgsplit(mypkg) >+ if mysplit[3]=="r0": >+ myversion=mysplit[2] >+ else: >+ myversion=mysplit[2]+"-"+mysplit[3] >+ if mytype=="selected": >+ print red(myversion), >+ else: >+ print green(myversion), >+ else: >+ print "none", >+ print >+ else: >+ sys.stdout.write("--- "+white(x)+": ") >+ for mytype,myshorttype in [("selected","Sel."),("protected","Prot."),("omitted","Omit.")]: >+ if pkgmap[x][mytype]: >+ if not mytype=="selected": >+ sys.stdout.write(" ("+myshorttype+":") >+ for mypkg in pkgmap[x][mytype]: >+ mysplit=portage.catpkgsplit(mypkg) >+ if mysplit[3]=="r0": >+ myversion=mysplit[2] >+ else: >+ myversion=mysplit[2]+"-"+mysplit[3] >+ if mytype=="selected": >+ sys.stdout.write(" "+red(myversion)) >+ else: >+ sys.stdout.write(" "+green(myversion)) >+ if not mytype=="selected": >+ sys.stdout.write(")") > print > > print "\n>>>",red("'Selected'"),"packages are slated for removal."
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 28261
: 25040