From patchwork Fri Jul 8 03:00:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 2577 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DB2FB24127 for ; Fri, 8 Jul 2011 03:00:56 +0000 (UTC) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.216.173]) by fiordland.canonical.com (Postfix) with ESMTP id A8EADA181EF for ; Fri, 8 Jul 2011 03:00:56 +0000 (UTC) Received: by qyk10 with SMTP id 10so68669qyk.11 for ; Thu, 07 Jul 2011 20:00:56 -0700 (PDT) Received: by 10.229.102.98 with SMTP id f34mr1227879qco.42.1310094056091; Thu, 07 Jul 2011 20:00:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.48.135 with SMTP id r7cs125405qcf; Thu, 7 Jul 2011 20:00:55 -0700 (PDT) Received: by 10.227.28.212 with SMTP id n20mr1301694wbc.82.1310094054768; Thu, 07 Jul 2011 20:00:54 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id o2si19972467wbh.118.2011.07.07.20.00.54; Thu, 07 Jul 2011 20:00:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qf1JG-0003JC-38 for ; Fri, 08 Jul 2011 03:00:54 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 10AB52E890E for ; Fri, 8 Jul 2011 03:00:54 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 192 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 192: Move dataview database logic to lava-dashboard Message-Id: <20110708030054.11148.45770.launchpad@loganberry.canonical.com> Date: Fri, 08 Jul 2011 03:00:54 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13376"; Instance="initZopeless config overlay" X-Launchpad-Hash: b60f614617f7ca110ae9d54399965f57fa480d86 ------------------------------------------------------------ revno: 192 committer: Zygmunt Krynicki branch nick: trunk timestamp: Thu 2011-07-07 20:15:31 +0200 message: Move dataview database logic to lava-dashboard modified: lava_server/settings/debian.py --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/settings/debian.py' --- lava_server/settings/debian.py 2011-07-01 11:09:58 +0000 +++ lava_server/settings/debian.py 2011-07-07 18:15:31 +0000 @@ -13,14 +13,6 @@ 'default': debian_settings.default_database } -# Enable constrained dataview database if requested -if debian_settings._settings.get("use_dataview_database"): - # Copy everything from the default database and append _dataview to user - # name. The rest is out of scope (making sure it's actually setup - # properly, having permissions to login, permissions to view proper data) - DATABASES['dataview'] = dict(DATABASES['default']) - DATABASES['dataview']['USER'] += "_dataview" - # Load secret key from Debian integration SECRET_KEY = debian_settings.SECRET_KEY