From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51316: 29.0.50; Should we match the final ".git" in bug-reference autosetup? Date: Fri, 22 Oct 2021 23:42:44 +0200 Message-ID: <87v91o7n3f.fsf@miha-pc> References: <87ilxqbmg7.fsf@miha-pc> <87sfwtcdg5.fsf@gnus.org> <87wnm49345.fsf@gnu.org> Reply-To: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25396"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51316@debbugs.gnu.org To: Tassilo Horn , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 22 23:39:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1me2Fp-0006OY-Re for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 23:39:10 +0200 Original-Received: from localhost ([::1]:40698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1me2Fo-0003WR-48 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 17:39:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1me2Fi-0003Vz-Jj for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 17:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1me2Fi-0002IU-Au for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 17:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1me2Fi-0008AA-1c for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Oct 2021 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51316 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51316-submit@debbugs.gnu.org id=B51316.163493873831369 (code B ref 51316); Fri, 22 Oct 2021 21:39:01 +0000 Original-Received: (at 51316) by debbugs.gnu.org; 22 Oct 2021 21:38:58 +0000 Original-Received: from localhost ([127.0.0.1]:33892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1me2Fa-00089p-CV for submit@debbugs.gnu.org; Fri, 22 Oct 2021 17:38:58 -0400 Original-Received: from kamnitnik.top ([209.250.245.214]:49752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1me2FX-00089f-8Q for 51316@debbugs.gnu.org; Fri, 22 Oct 2021 17:38:53 -0400 Original-Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id D77A29C706; Fri, 22 Oct 2021 21:38:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1634938730; bh=jW2ZF83px4CSmYfFuCwxAGXBNJKHhy3Avi53TsiGArc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QXEAeKN0by3G0lu90PvNRB1/L3yPCLbkKhvREginWohAyZqX0zSIKAR8JmepjCRXf l7ZdtNPKg3FL7lQTW+bv+8MInjkmHmTFgtNCZtXonKBCxhxTm4PYwwOH3aevn+8F10 I7TqJf7pdFLzLYf7QVmOMZSprIJMBQxRZv9uM0GbLOv5leSC1uoNWMHnHzvv7Gi+5D ftQFgTVTipmh9whaszAILUCHY/KXewaHSPlSPu/Jl7S/OkE0iC/wI3w2TZTQpxr7+K gJ3fma0EdY6ULFgug0+zZ1QnTZ2wUYY+9DK4VjFvU73rLKD9QJWp8GLNf1hXNVWiCF SNP5V03ak0KUA== In-Reply-To: <87wnm49345.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217915 Archived-At: --=-=-= Content-Type: text/plain Tassilo Horn writes: > Lars Ingebrigtsen writes: > >> But requires that the string doesn't have anything after the .git, >> whereas it's currently more sloppy. I'm not sure whether that's by >> intent or not. (So I'm adding Tassilo to the CCs.) > > No, in my experience there cannot be anything after ".git". At least > it's the last part of the filename and I doubt you can have query > parameters like https://forge.org/user/project.git?foo=bar in a git url. > I tried "git clone https://gitlab.com/rstocker/emacs-bluetooth.git/" and it worked, so we should probably allow ".git/" with a final slash as well. And then I also tried "git clone https://gitlab.com/rstocker/emacs-bluetooth.git//" and it also worked, so I guess any number of slashes are allowed after the final ".git". Therefore I propose something like this: "[/:]\\([.A-Za-z0-9_/-]+?\\)\\(?:\\.git/*\\)?\\'" Thanks, best regards. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmFzMFQTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP0yXEACH/Oy/exmWmUX1UQb6jpVT7YOegv0c 9BlnzZLVC0an9bP8SDuTvpEC4H//lwI7zhAyyx7Jhxr1YGhR5XEmous39tQXDnbA 15H1EUuR0j7i+BWN8Zc4/pyHGpU6yoq7gU9t0UGAHs8/CJUjZA2Su5nRquhWX90/ eSpB2VQbIZ8LhsaSlHLI2GDhrzePHBnvV+nQD4A1YkXdBQZlT5/6uxqsfLo2N6bY Wx96tUTzuPtbgfy2d0n66QTfN9084N64Cw1OJ8YrPuHDDUCT/LOyM+qiqgyp3TUF 4UyP6vluodoyTPsIpyvKvF1miGrAP/KDGBj7L0Q0eKB0A/xHAa85rT1ZgPWKmAm4 lzAXbT7/sHtp7yaVAKCnVJS+h8zVPdAe2Jk/kzSjoz7lCl2grwjNWMXckKnn8yjS n+6wVV9CttnuJZNvA7AOtsgu8kuL/Sk2gi/WsZyuZJJVn36hYdr+A3V6wL/tgtbz l1d370d8ol+64LSuoPtlVL4cbe9YWE9QYLQUcbV7V4ZHz3OCQYM5IDGUCMRDa83H j7Ofn+nAoK529VD44Cx5axZ+107ix/XGkYk6nFuhhqhs2+EYCCdd1TmFp1IdU9LZ 2WZIR2wAw6ccDQaPP2oF1BZkgBi8+ZCMvt/wCkPe+NUmq8W09VBUReQMILo9ZM22 TrjvGMpGGVIOjQ== =Ei3f -----END PGP SIGNATURE----- --=-=-=--