Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 193523 Details for
Bug 267468
[PATCH] Summary line for binary / from source packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make portage print the number of binary packages to be merged in the summary
portage-emerge-print-numer-of-binary-packages-in-summary.patch (text/plain), 1.98 KB, created by
Sebastian Luther (few)
on 2009-06-04 14:28:47 UTC
(
hide
)
Description:
make portage print the number of binary packages to be merged in the summary
Filename:
MIME Type:
Creator:
Sebastian Luther (few)
Created:
2009-06-04 14:28:47 UTC
Size:
1.98 KB
patch
obsolete
>Index: _emerge/__init__.py >=================================================================== >--- _emerge/__init__.py (revision 13628) >+++ _emerge/__init__.py (working copy) >@@ -8157,6 +8157,8 @@ > if ordered: > if pkg_merge: > counters.reinst += 1 >+ if pkg_type == "binary": >+ counters.binary += 1 > elif pkg_status == "uninstall": > counters.uninst += 1 > # filter out old-style virtual matches >@@ -8179,17 +8181,23 @@ > addl += turquoise("U")+blue("D") > if ordered: > counters.downgrades += 1 >+ if pkg_type == "binary": >+ counters.binary += 1 > else: > # Update in slot > addl += turquoise("U") + " " > if ordered: > counters.upgrades += 1 >+ if pkg_type == "binary": >+ counters.binary += 1 > else: > # New slot, mark it new. > addl = " " + green("NS") + fetch + " " > myoldbest = vardb.match(portage.cpv_getkey(pkg_key)) > if ordered: > counters.newslot += 1 >+ if pkg_type == "binary": >+ counters.binary += 1 > > if "--changelog" in self.myopts: > inst_matches = vardb.match(pkg.slot_atom) >@@ -8201,6 +8209,8 @@ > addl = " " + green("N") + " " + fetch + " " > if ordered: > counters.new += 1 >+ if pkg_type == "binary": >+ counters.binary += 1 > > verboseadd = "" > repoadd = None >@@ -9251,6 +9261,7 @@ > self.restrict_fetch = 0 > self.restrict_fetch_satisfied = 0 > self.interactive = 0 >+ self.binary = 0 > > def __str__(self): > total_installs = self.upgrades + self.downgrades + self.newslot + self.new + self.reinst >@@ -9279,6 +9290,10 @@ > details.append("%s reinstall" % self.reinst) > if self.reinst > 1: > details[-1] += "s" >+ if self.binary > 0: >+ details.append("%s binary" % self.binary) >+ if self.binary > 1: >+ details[-1] = details[-1][:-1] + "ies" > if self.uninst > 0: > details.append("%s uninstall" % self.uninst) > if self.uninst > 1:
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 267468
: 193523