From patchwork Wed Jun 29 09:41:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 2365 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 489C623F3D for ; Wed, 29 Jun 2011 09:42:34 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 115B1A18459 for ; Wed, 29 Jun 2011 09:42:33 +0000 (UTC) Received: by qwb8 with SMTP id 8so743201qwb.11 for ; Wed, 29 Jun 2011 02:42:33 -0700 (PDT) Received: by 10.229.102.98 with SMTP id f34mr425447qco.42.1309340553454; Wed, 29 Jun 2011 02:42:33 -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 r7cs35156qcf; Wed, 29 Jun 2011 02:42:33 -0700 (PDT) Received: by 10.216.172.206 with SMTP id t56mr484303wel.80.1309340552529; Wed, 29 Jun 2011 02:42:32 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id q63si2191030wec.57.2011.06.29.02.42.32; Wed, 29 Jun 2011 02:42:32 -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 1QbrHy-0007e1-VL for ; Wed, 29 Jun 2011 09:42:31 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E975C2EFDC5 for ; Wed, 29 Jun 2011 09:41:26 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 233 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 233: Allow underscore in URLs to test runs and bundles Message-Id: <20110629094126.23938.54912.launchpad@loganberry.canonical.com> Date: Wed, 29 Jun 2011 09:41:26 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13265"; Instance="initZopeless config overlay" X-Launchpad-Hash: af0abc6b38579993d8df8092533d1246ba63298a Merge authors: Liu Yongqin (liuyq0307) Related merge proposals: https://code.launchpad.net/~liuyq0307/lava-dashboard/bug802957/+merge/66260 proposed by: Zygmunt Krynicki (zkrynicki) review: Approve - Zygmunt Krynicki (zkrynicki) ------------------------------------------------------------ revno: 233 [merge] fixes bug(s): https://launchpad.net/bugs/802957 committer: Zygmunt Krynicki branch nick: merge timestamp: Wed 2011-06-29 10:39:19 +0100 message: Allow underscore in URLs to test runs and bundles modified: dashboard_app/urls.py --- lp:lava-dashboard https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk You are subscribed to branch lp:lava-dashboard. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription === modified file 'dashboard_app/urls.py' --- dashboard_app/urls.py 2011-05-30 17:43:28 +0000 +++ dashboard_app/urls.py 2011-06-29 07:18:00 +0000 @@ -29,8 +29,8 @@ url(r'^test-runs/(?P[a-zA-Z0-9-]+)/$', 'test_run_detail'), url(r'^test-runs/(?P[a-zA-Z0-9-]+)/software-context$', 'test_run_software_context'), url(r'^test-runs/(?P[a-zA-Z0-9-]+)/hardware-context$', 'test_run_hardware_context'), - url(r'^streams(?P/[a-zA-Z0-9/-]+)$', 'test_run_list'), - url(r'^streams(?P/[a-zA-Z0-9/-]+?)\+bundles$', 'bundle_list'), + url(r'^streams(?P/[a-zA-Z0-9/_-]+)$', 'test_run_list'), + url(r'^streams(?P/[a-zA-Z0-9/_-]+?)\+bundles$', 'bundle_list'), url(r'^attachments/(?P[0-9]+)/$', 'attachment_detail'), url(r'^xml-rpc/', 'dashboard_xml_rpc_handler'), url(r'^reports/$', 'report_list'),