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-454781-garchives=archives.gentoo.org@lists.gentoo.org>) id 1SOrfb-0001CC-US for garchives@archives.gentoo.org; Mon, 30 Apr 2012 14:33:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F9BCE0A40; Mon, 30 Apr 2012 14:33:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 34649E0A40 for <gentoo-commits@lists.gentoo.org>; Mon, 30 Apr 2012 14:33:35 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CC971B4022 for <gentoo-commits@lists.gentoo.org>; Mon, 30 Apr 2012 14:33:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 67B3FE5403 for <gentoo-commits@lists.gentoo.org>; Mon, 30 Apr 2012 14:33:33 +0000 (UTC) From: "Magnus Granberg" <zorry@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" <zorry@gentoo.org> Message-ID: <1335796396.27d24c02d4e5ddf13b97018d87007a8e67bdfa0b.zorry@gentoo> Subject: [gentoo-commits] dev/zorry:master commit in: gobs/pym/ X-VCS-Repository: dev/zorry X-VCS-Files: gobs/pym/package.py gobs/pym/updatedb.py X-VCS-Directories: gobs/pym/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 27d24c02d4e5ddf13b97018d87007a8e67bdfa0b X-VCS-Branch: master Date: Mon, 30 Apr 2012 14:33:33 +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: 28e99211-f93b-4d04-a44b-ddb2b27042cc X-Archives-Hash: 2974703ad0efbfbf7673bb019218b668 commit: 27d24c02d4e5ddf13b97018d87007a8e67bdfa0b Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> AuthorDate: Mon Apr 30 14:33:16 2012 +0000 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> CommitDate: Mon Apr 30 14:33:16 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/zorry.git;a=3D= commit;h=3D27d24c02 fix error with var/lib/gobs and var/cache/gobs --- gobs/pym/package.py | 2 +- gobs/pym/updatedb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gobs/pym/package.py b/gobs/pym/package.py index d6b4eb8..4c571b6 100644 --- a/gobs/pym/package.py +++ b/gobs/pym/package.py @@ -25,7 +25,7 @@ class gobs_package(object): =20 def change_config(self, config_id): # Change config_root config_id =3D table configs.id - my_new_setup =3D "/var/lib/gobs/" + gobs_settings_dict['gobs_gitrepona= me'] + "/" + config_id + "/" + my_new_setup =3D "/var/cache/gobs/" + gobs_settings_dict['gobs_gitrepo= name'] + "/" + config_id + "/" mysettings_setup =3D portage.config(config_root =3D my_new_setup) return mysettings_setup =20 diff --git a/gobs/pym/updatedb.py b/gobs/pym/updatedb.py index da80521..0277396 100755 --- a/gobs/pym/updatedb.py +++ b/gobs/pym/updatedb.py @@ -48,7 +48,7 @@ def init_portage_settings(): # Get default config from the configs table and default_config=3D1 config_id =3D get_default_config(conn) # HostConfigDir =3D table conf= igs id CM.putConnection(conn); - default_config_root =3D "/var/lib/gobs/" + gobs_settings_dict['gobs_git= reponame'] + "/" + config_id[0] + "/" + default_config_root =3D "/var/cache/gobs/" + gobs_settings_dict['gobs_g= itreponame'] + "/" + config_id[0] + "/" # Set config_root (PORTAGE_CONFIGROOT) to default_config_root mysettings =3D portage.config(config_root =3D default_config_root) logging.info("Setting default config to: %s", config_id[0])