From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-360830-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QeyRh-0004Yk-Pk for garchives@archives.gentoo.org; Thu, 07 Jul 2011 23:57:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA89A21C061; Thu, 7 Jul 2011 23:57:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 867A721C061 for <gentoo-commits@lists.gentoo.org>; Thu, 7 Jul 2011 23:57:18 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3E952AC090 for <gentoo-commits@lists.gentoo.org>; Thu, 7 Jul 2011 23:57:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 170DB8003D for <gentoo-commits@lists.gentoo.org>; Thu, 7 Jul 2011 23:57:17 +0000 (UTC) From: "Wiktor W Brodlo" <wiktor@brodlo.net> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" <wiktor@brodlo.net> Message-ID: <46fedeaf912808b2485b1bc03e851a3c13ec82ce.wiktor@gentoo> Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/ X-VCS-Repository: proj/anaconda X-VCS-Files: gentoo/utils.py X-VCS-Directories: gentoo/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: 46fedeaf912808b2485b1bc03e851a3c13ec82ce Date: Thu, 7 Jul 2011 23:57:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: bcc5cc11f0e3a8ad184b4df1ec0169cd commit: 46fedeaf912808b2485b1bc03e851a3c13ec82ce Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net> AuthorDate: Thu Jul 7 23:56:52 2011 +0000 Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net> CommitDate: Thu Jul 7 23:56:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3D46fedeaf gentoo/utils.py: some fine-grained progress bar notification --- gentoo/utils.py | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/gentoo/utils.py b/gentoo/utils.py index f77ce39..2d688de 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -962,14 +962,23 @@ class GentooInstall: self._progress.set_text(_("Copying the Portage tree (can take a = long time)")) subprocess.call(["cp", "--recursive", "/usr/portage", self._root= +"/usr/"]) # We need some packages from anaconda-overlay but ideally they s= hould be added to portage - self._progress.set_fraction(0.5) + self._progress.set_fraction(0.1) subprocess.call(["cp", "--recursive", "/anaconda-overlay/app-adm= in", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.2) subprocess.call(["cp", "--recursive", "/anaconda-overlay/app-cdr= ", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.3) subprocess.call(["cp", "--recursive", "/anaconda-overlay/app-mis= c", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.4) subprocess.call(["cp", "--recursive", "/anaconda-overlay/dev-pyt= hon", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.5) subprocess.call(["cp", "--recursive", "/anaconda-overlay/dev-uti= l", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.6) subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-app= s", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.7) subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-blo= ck", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.8) + subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-boo= t", self._root+"/usr/portage/"]) + self._progress.set_fraction(0.9) subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-lib= s", self._root+"/usr/portage/"]) self._progress.set_fraction(1) =20