From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#51316: 29.0.50; Should we match the final ".git" in bug-reference autosetup? Date: Sat, 23 Oct 2021 12:58:55 +0000 Message-ID: <2d6e9fbc47ba47bac7fa@heytings.org> References: <87ilxqbmg7.fsf@miha-pc> <87sfwtcdg5.fsf@gnus.org> <87wnm49345.fsf@gnu.org> <87v91o7n3f.fsf@miha-pc> <8735osayjm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14703"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , miha@kamnitnik.top, 51316@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 14:59:23 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 1meGcM-0003cC-TD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 14:59:22 +0200 Original-Received: from localhost ([::1]:50718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meGcL-0004cc-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 08:59:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meGc2-0004Z1-GG for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 08:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meGc2-00078c-89 for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 08:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meGc2-0000lB-0o for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 08:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2021 12:59: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.16349939402913 (code B ref 51316); Sat, 23 Oct 2021 12:59:01 +0000 Original-Received: (at 51316) by debbugs.gnu.org; 23 Oct 2021 12:59:00 +0000 Original-Received: from localhost ([127.0.0.1]:34655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meGc0-0000kv-0l for submit@debbugs.gnu.org; Sat, 23 Oct 2021 08:59:00 -0400 Original-Received: from heytings.org ([95.142.160.155]:59786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meGbx-0000kl-GO for 51316@debbugs.gnu.org; Sat, 23 Oct 2021 08:58:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1634993935; bh=gby1n8xpWKmGVb04ZWyKoiyV3KTtS8NxegzRxvT/7E8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=lnK/ecM0QW62t138xLb4JIkoN5QUBXawab+9ejL/rJPqw14l+m3zBdrRLGnO69J85 34bf4fjRhBAiYnXxpzele2ccuYvyc9FbS0Ge39YfY2tNe2IO7KcyTt3B8EPkcFC+Eh CS/e7IMVpMseOZIBspVvwXLiV1oBJwxW3fjBhCs6K4XENo5oFyF5FEtHZ2wwjb/I9j vvQAf1PFrxglLD28Z/pD9f5xw35yXZ92fNiv4xijVKVy+/oVX9QaW/uqNuwTb4yAPT h+Ec7ENzhKoQkETSU0NeQWH9GihEbVpnL4c/LXnO0TigsA5Xn8ShDdZ1YaHiWxaYSE EMTbeWrurmj3w== In-Reply-To: <8735osayjm.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:217986 Archived-At: > > I've also tried, and it seems the maximum number of trailing slashes is > two. Those all work: > > https://github.com/djcb/mu > https://github.com/djcb/mu/ > https://github.com/djcb/mu// > https://github.com/djcb/mu.git > https://github.com/djcb/mu.git/ > https://github.com/djcb/mu.git// > > but any more / gives me "Not found". Well, and I guess even the two-/ > will most probably never occur in real-life when considering where the > URL comes from. I mean, those are usually copy-and-pasted from the > forge's special "clone me" button or from a browser's URL bar. > Allowing more trailing slashes is a convenience that some but not all Git hosts offer. On Gitlab an (unlimited?) number of trailing slashes are allowed, on Github it's two, on Savannah it's one. The safest solution is probably to allow either a trailing ".git" or a trailing ".git/".