From patchwork Thu Sep 29 13:16:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 4434 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 0DE4B23EF5 for ; Thu, 29 Sep 2011 13:16:14 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id EEC26A18609 for ; Thu, 29 Sep 2011 13:16:13 +0000 (UTC) Received: by fxe23 with SMTP id 23so2490448fxe.11 for ; Thu, 29 Sep 2011 06:16:13 -0700 (PDT) Received: by 10.223.55.136 with SMTP id u8mr13537047fag.46.1317302173785; Thu, 29 Sep 2011 06:16:13 -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.152.3.234 with SMTP id f10cs14397laf; Thu, 29 Sep 2011 06:16:13 -0700 (PDT) Received: by 10.216.134.217 with SMTP id s67mr4729827wei.101.1317302173262; Thu, 29 Sep 2011 06:16:13 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id w2si1229738weq.106.2011.09.29.06.16.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Sep 2011 06:16:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1R9GTE-0002Vg-MI for ; Thu, 29 Sep 2011 13:16:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 9EBC7E24A2 for ; Thu, 29 Sep 2011 13:16:12 +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: 267 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 267: Allow dots in bundle stream pathnames Message-Id: <20110929131612.6925.42100.launchpad@ackee.canonical.com> Date: Thu, 29 Sep 2011 13:16:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14063"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 4e638a548a85b4d2e5f1927ef5c36278edb9d908 ------------------------------------------------------------ revno: 267 committer: Zygmunt Krynicki branch nick: trunk timestamp: Thu 2011-09-29 15:06:54 +0200 message: Allow dots in bundle stream pathnames 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-09-28 00:35:41 +0000 +++ dashboard_app/urls.py 2011-09-29 13:06:54 +0000 @@ -46,16 +46,16 @@ 'mapper': legacy_mapper, 'template_name': 'dashboard_app/api.html'}), url(r'^streams/$', 'bundle_stream_list'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/$', 'bundle_list'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/$', 'bundle_detail'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/json$', 'bundle_json'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/$', 'test_run_detail'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/attachments$', 'attachment_list'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/attachments/(?P[0-9]+)/$', 'attachment_detail'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/result/(?P[0-9]+)/$', 'test_result_detail'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/hardware-context/$', 'test_run_hardware_context'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/software-context/$', 'test_run_software_context'), - url(r'^streams(?P/[a-zA-Z0-9/_-]+)test-runs/$', 'test_run_list'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/$', 'bundle_list'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/$', 'bundle_detail'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/json$', 'bundle_json'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/$', 'test_run_detail'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/attachments$', 'attachment_list'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/attachments/(?P[0-9]+)/$', 'attachment_detail'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/result/(?P[0-9]+)/$', 'test_result_detail'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/hardware-context/$', 'test_run_hardware_context'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)bundles/(?P[0-9a-z]+)/(?P[a-zA-Z0-9-]+)/software-context/$', 'test_run_software_context'), + url(r'^streams(?P/[a-zA-Z0-9/._-]+)test-runs/$', 'test_run_list'), url(r'^permalink/test-run/(?P[a-zA-Z0-9-]+)/$', 'redirect_to_test_run'), url(r'^permalink/test-run/(?P[a-zA-Z0-9-]+)/(?P.*)$', 'redirect_to_test_run'), url(r'^permalink/test-result/(?P[a-zA-Z0-9-]+)/(?P[0-9]+)/$', 'redirect_to_test_result'),