[ews-app] Remove unused patch view
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2019 17:11:27 +0000 (17:11 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2019 17:11:27 +0000 (17:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195669

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/urls.py:
* BuildSlaveSupport/ews-app/ews/views/patch.py: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242885 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-app/ews/urls.py
Tools/BuildSlaveSupport/ews-app/ews/views/patch.py [deleted file]
Tools/ChangeLog

index de51e80..03acb71 100644 (file)
@@ -23,7 +23,6 @@
 from django.conf.urls import url
 
 from ews.views.index import Index
-from ews.views.patch import Patch
 from ews.views.results import Results
 from ews.views.statusbubble import StatusBubble
 from ews.views.submittoews import SubmitToEWS
@@ -32,8 +31,6 @@ app_name = 'ews'
 urlpatterns = [
     # ex: /
     url(r'^$', Index.as_view(), name='index'),
-    # ex: /patch/5
-    url(r'^patch/(?P<patch_id>[0-9]+)/$', Patch.as_view(), name='patch'),
     # ex: /results/
     url(r'^results/$', Results.as_view(), name='results'),
     # ex: /status-bubble/5
diff --git a/Tools/BuildSlaveSupport/ews-app/ews/views/patch.py b/Tools/BuildSlaveSupport/ews-app/ews/views/patch.py
deleted file mode 100644 (file)
index 88cc20b..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright (C) 2018-2019 Apple Inc. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1.  Redistributions of source code must retain the above copyright
-#     notice, this list of conditions and the following disclaimer.
-# 2.  Redistributions in binary form must reproduce the above copyright
-#     notice, this list of conditions and the following disclaimer in the
-#     documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
-# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-from __future__ import unicode_literals
-
-from django.http import HttpResponse
-from django.shortcuts import render
-from django.views import View
-
-
-class Patch(View):
-    def get(self, request, patch_id):
-        return HttpResponse("Placeholder for patch {}.".format(patch_id))
-
-    def post(self, request, patch_id):
-        return HttpResponse("Placeholder to handle post request for patch {}.".format(patch_id))
index 4027743..f5f7af1 100644 (file)
@@ -1,5 +1,15 @@
 2019-03-13  Aakash Jain  <aakash_jain@apple.com>
 
+        [ews-app] Remove unused patch view
+        https://bugs.webkit.org/show_bug.cgi?id=195669
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-app/ews/urls.py:
+        * BuildSlaveSupport/ews-app/ews/views/patch.py: Removed.
+
+2019-03-13  Aakash Jain  <aakash_jain@apple.com>
+
         [ews-app] Use Buildbot result code variables
         https://bugs.webkit.org/show_bug.cgi?id=195668