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 ) id 1QhQfI-0005av-8v for garchives@archives.gentoo.org; Thu, 14 Jul 2011 18:29:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77C1E21C113; Thu, 14 Jul 2011 18:29:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 47B6221C113 for ; Thu, 14 Jul 2011 18:29:26 +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 7B61B1BC0E7 for ; Thu, 14 Jul 2011 18:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 99ACB8003D for ; Thu, 14 Jul 2011 18:29:24 +0000 (UTC) From: "Paul Varner" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Varner" Message-ID: <8e3f935090fe8680fea7eb5980142e4bb3e6e88e.fuzzyray@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/cache.py pym/gentoolkit/revdep_rebuild/settings.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: 8e3f935090fe8680fea7eb5980142e4bb3e6e88e Date: Thu, 14 Jul 2011 18:29:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 23b8c5e08099e102b0b972fb024d457d commit: 8e3f935090fe8680fea7eb5980142e4bb3e6e88e Author: Paul Varner gentoo org> AuthorDate: Thu Jul 14 18:27:44 2011 +0000 Commit: Paul Varner gentoo org> CommitDate: Thu Jul 14 18:27:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoolkit.gi= t;a=3Dcommit;h=3D8e3f9350 Change default cache directory to '/var/cache/revdep-rebuild' --- pym/gentoolkit/revdep_rebuild/cache.py | 5 +++-- pym/gentoolkit/revdep_rebuild/settings.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/cache.py b/pym/gentoolkit/revd= ep_rebuild/cache.py index 2bb9f59..d62fe12 100644 --- a/pym/gentoolkit/revdep_rebuild/cache.py +++ b/pym/gentoolkit/revdep_rebuild/cache.py @@ -52,8 +52,9 @@ def save_cache(logger, to_save=3DNone, temp_path=3DDEFA= ULTS['DEFAULT_TMP_DIR']): if to_save is None: to_save =3D {} =20 - if not os.path.exists(temp_path): - os.makedirs(temp_path) +# TODO: Don't blindly make the cache directory, see Bug 203414 +# if not os.path.exists(temp_path): +# os.makedirs(temp_path) =20 try: _file =3D open(os.path.join(temp_path, 'timestamp'), 'w') diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/r= evdep_rebuild/settings.py index c0e5aa7..3c8b9d3 100644 --- a/pym/gentoolkit/revdep_rebuild/settings.py +++ b/pym/gentoolkit/revdep_rebuild/settings.py @@ -14,7 +14,7 @@ DEFAULTS =3D { 'DEFAULT_ENV_FILE': os.path.join(portage.root, 'etc/profile.env'), 'REVDEP_CONFDIR': os.path.join(portage.root, 'etc/revdep-rebuild/'), 'PKG_DIR': os.path.join(portage.root, 'var/db/pkg/'), - 'DEFAULT_TMP_DIR': '/tmp/revdep-rebuild', #cache default location + 'DEFAULT_TMP_DIR': '/var/cache/revdep-rebuild', #cache default locatio= n =20 # number of maximum allowed files to be parsed at once 'CMD_MAX_ARGS': 1000,=20