From nobody Mon Apr 29 13:01:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=patchew-devel-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1521099456877242.7063382167704; Thu, 15 Mar 2018 00:37:36 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F163762E90; Thu, 15 Mar 2018 07:37:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E2E405D757; Thu, 15 Mar 2018 07:37:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D476C62D18; Thu, 15 Mar 2018 07:37:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2EGsKt5020500 for ; Wed, 14 Mar 2018 12:54:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 295B65D755; Wed, 14 Mar 2018 16:54:20 +0000 (UTC) Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 23BC05D70B for ; Wed, 14 Mar 2018 16:54:15 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A081868B2 for ; Wed, 14 Mar 2018 16:54:14 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id h2so5422934wre.12 for ; Wed, 14 Mar 2018 09:54:14 -0700 (PDT) Received: from donizetti.lan (94-36-191-219.adsl-ull.clienti.tiscali.it. [94.36.191.219]) by smtp.gmail.com with ESMTPSA id y75sm1885911wme.13.2018.03.14.09.54.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Mar 2018 09:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=iu6r5svG7XBY/4PtraLeSO74pxPbL8cS5CFc95eNab4=; b=bczhU5TjDzpQGLCbgXQH2xaUmybUMrE08Gj4gxm+zvGg9yXUezbP77hQ+O+lcasW7H AV+qyiJYTms2LO8vri7UsBzTCKfM98zTK9fdQpU0zYoKHUySF5RKNX7Z/9U62znwo7du Py3nkkJfRI8XcQA/IlAd5jGbUCZDJuIu/Jid5pzXyn7aDgmMsBE3hMxBjo/ghhrG8uQG WKflH3aEyKAPVGc5bWIF+XKEeL8UHtFxs6rKDbIIiED/gdw/8QlhqmUhUT9wnLjknX5H IeS983YDzPIjnSXLe8LHc6odS+nPU5ztZ9hK6PYDOd+5r+CdAqQahsd9SPU5qh1hwnqN Tc2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=iu6r5svG7XBY/4PtraLeSO74pxPbL8cS5CFc95eNab4=; b=djV+H0o2zrTcrAbOoWWLrK+lN3RJkQdAcatoKetpDO3Fz38p1dnL9euQYDZtVdvYjd Z+RohYZ62l8BsK0UxYmuzWtsFJY6sgskl7lZa+2DviIDLS3tSY4ivX48ESmRkDEbuGQi bqbRN1R6NsjWcHh2hfMSXyyYaQOE0hb+KqO4EIT2YWD+oD/kJ66Gx9Nn/wkh6Zp8PPrf SwGW6tsWeXYPXZaXXzOzsR8u+ygE3ZmfTfOGVuXyBHn8YgeD0sOggtaPYVKjvSEDAn7V 6W3JqL9VwGceCx5Dh88hjj7t4C5CYzfQMJqk2m/KOi+eF84mnyNZLSlVqC1OAQYlA6jV rilw== X-Gm-Message-State: AElRT7GF9eP7OkDEy7Zet5oj3MJgQ2QTG6EoAtZIV6W0WWk1sbmtcu/U sIH9wV60F048W2ZSdNK3dJvhmeOa X-Google-Smtp-Source: AG47ELv5aVuuGWYZPKQuNOiAGDAe5LHKdlT/qvbpUB25R0xrCp+QUY7r3sMWTE0El4egQa8WdulJMA== X-Received: by 10.223.197.1 with SMTP id q1mr4318761wrf.268.1521046453012; Wed, 14 Mar 2018 09:54:13 -0700 (PDT) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Wed, 14 Mar 2018 17:54:10 +0100 Message-Id: <20180314165410.32696-1-pbonzini@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 14 Mar 2018 16:54:14 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 14 Mar 2018 16:54:14 +0000 (UTC) for IP:'209.85.128.196' DOMAIN:'mail-wr0-f196.google.com' HELO:'mail-wr0-f196.google.com' FROM:'paolo.bonzini@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.488 (DKIM_SIGNED, DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.128.196 mail-wr0-f196.google.com 209.85.128.196 mail-wr0-f196.google.com X-RedHat-Possible-Forgery: Paolo Bonzini X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH] git: remove /git-apply pattern X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 15 Mar 2018 07:37:36 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This is not used anymore by the importer, so just drop it. Signed-off-by: Paolo Bonzini --- mods/git.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mods/git.py b/mods/git.py index cda42dd..5dd7131 100644 --- a/mods/git.py +++ b/mods/git.py @@ -233,15 +233,6 @@ class GitModule(PatchewModule): emit_event("ProjectGitUpdate", project=3Dpo.name) return cache_repo =20 - def www_view_git_apply(self, request, series): - if not request.user.is_authenticated: - raise PermissionDenied - obj =3D Message.objects.find_series(series) - if not obj: - raise Http404("Not found: " + series) - self.on_series_update("GitApply", obj) - return HttpResponseRedirect(request.META.get('HTTP_REFERER')) - def www_view_git_reset(self, request, series): if not request.user.is_authenticated: raise PermissionDenied @@ -255,9 +246,6 @@ class GitModule(PatchewModule): return HttpResponseRedirect(request.META.get('HTTP_REFERER')) =20 def www_url_hook(self, urlpatterns): - urlpatterns.append(url(r"^git-apply/(?P.*)/", - self.www_view_git_apply, - name=3D"git_apply")) urlpatterns.append(url(r"^git-reset/(?P.*)/", self.www_view_git_reset, name=3D"git_reset")) --=20 2.14.3 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel