Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128423 Details for
Bug 189219
emerge should sort omitted package list on unmerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use pkgcmp() to sort versions
sort.patch (text/plain), 883 bytes, created by
Zac Medico
on 2007-08-17 18:27:43 UTC
(
hide
)
Description:
use pkgcmp() to sort versions
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-08-17 18:27:43 UTC
Size:
883 bytes
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 7640) >+++ bin/emerge (revision 7641) >@@ -3668,12 +3668,14 @@ > for mytype in ["selected","protected","omitted"]: > portage.writemsg_stdout((mytype + ": ").rjust(14), noiselevel=-1) > if pkgmap[x][mytype]: >- for mypkg in pkgmap[x][mytype]: >- mysplit=portage.catpkgsplit(mypkg) >- if mysplit[3]=="r0": >- myversion=mysplit[2] >+ sorted_pkgs = [portage.catpkgsplit(mypkg)[1:] \ >+ for mypkg in pkgmap[x][mytype]] >+ sorted_pkgs.sort(portage.pkgcmp) >+ for pn, ver, rev in sorted_pkgs: >+ if rev == "r0": >+ myversion = ver > else: >- myversion=mysplit[2]+"-"+mysplit[3] >+ myversion = ver + "-" + rev > if mytype=="selected": > portage.writemsg_stdout( > colorize("UNMERGE_WARN", myversion + " "), noiselevel=-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 189219
: 128423