public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r12160 - main/branches/2.1.6/pym/portage
@ 2008-12-05  0:09 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-12-05  0:09 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-12-05 00:09:54 +0000 (Fri, 05 Dec 2008)
New Revision: 12160

Modified:
   main/branches/2.1.6/pym/portage/__init__.py
Log:
Make fixpackages use a new "#" symbol for /var/db updates (previously '*'
which means 'binary update' was used). (trunk r12159)


Modified: main/branches/2.1.6/pym/portage/__init__.py
===================================================================
--- main/branches/2.1.6/pym/portage/__init__.py	2008-12-05 00:08:58 UTC (rev 12159)
+++ main/branches/2.1.6/pym/portage/__init__.py	2008-12-05 00:09:54 UTC (rev 12160)
@@ -7295,7 +7295,13 @@
 			writemsg_stdout("\n\n")
 			writemsg_stdout(green("Performing Global Updates: ")+bold(mykey)+"\n")
 			writemsg_stdout("(Could take a couple of minutes if you have a lot of binary packages.)\n")
-			writemsg_stdout("  "+bold(".")+"='update pass'  "+bold("*")+"='binary update'  "+bold("@")+"='/var/db move'\n"+"  "+bold("s")+"='/var/db SLOT move' "+bold("%")+"='binary move' "+bold("S")+"='binary SLOT move'\n  "+bold("p")+"='update /etc/portage/package.*'\n")
+			writemsg_stdout("  " + bold(".") + "='update pass'  " + \
+				bold("*") + "='binary update'  " + bold("#") + \
+				"='/var/db update'  " + bold("@") + "='/var/db move'\n" + \
+				"  " + bold("s") + "='/var/db SLOT move'  " + \
+				bold("%") + "='binary move'  " + bold("S") + \
+				"='binary SLOT move'\n  " + \
+				bold("p") + "='update /etc/portage/package.*'\n")
 			valid_updates, errors = parse_updates(mycontent)
 			myupd.extend(valid_updates)
 			writemsg_stdout(len(valid_updates) * "." + "\n")
@@ -7365,9 +7371,12 @@
 		"fixpackages" in mysettings.features:
 			def onUpdate(maxval, curval):
 				if curval > 0:
-					writemsg_stdout("*")
+					writemsg_stdout("#")
 			vardb.update_ents(myupd, onUpdate=onUpdate)
 			if bindb:
+				def onUpdate(maxval, curval):
+					if curval > 0:
+						writemsg_stdout("*")
 				bindb.update_ents(myupd, onUpdate=onUpdate)
 		else:
 			do_upgrade_packagesmessage = 1




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-05  0:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05  0:09 [gentoo-commits] portage r12160 - main/branches/2.1.6/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox