From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QHeQK5S74mB6cQEAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 09:58:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EI5nJ5S74mD2IQAA1q6Kng (envelope-from ) for ; Mon, 05 Jul 2021 07:58:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4116BA8E7 for ; Mon, 5 Jul 2021 09:58:12 +0200 (CEST) Received: from localhost ([::1]:48424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0JUY-0003uA-TQ for larch@yhetil.org; Mon, 05 Jul 2021 03:58:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0JUQ-0003rQ-JM for bug-guix@gnu.org; Mon, 05 Jul 2021 03:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0JUQ-0008FR-8v for bug-guix@gnu.org; Mon, 05 Jul 2021 03:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0JUQ-0004rW-96 for bug-guix@gnu.org; Mon, 05 Jul 2021 03:58:02 -0400 Subject: bug#48111: tilde in Go package names (eg. sourcehut hosted packages) Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 05 Jul 2021 07:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48111 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Sarah Morgensen Mail-Followup-To: 48111@debbugs.gnu.org, leo.prikler@student.tugraz.at, raingloom@riseup.net Received: via spool by 48111-done@debbugs.gnu.org id=D48111.162547184318628 (code D ref 48111); Mon, 05 Jul 2021 07:58:02 +0000 Received: (at 48111-done) by debbugs.gnu.org; 5 Jul 2021 07:57:23 +0000 Received: from localhost ([127.0.0.1]:43785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0JTm-0004qO-W9 for submit@debbugs.gnu.org; Mon, 05 Jul 2021 03:57:23 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:21151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0JTi-0004qC-Pt for 48111-done@debbugs.gnu.org; Mon, 05 Jul 2021 03:57:21 -0400 Received: from nijino.local (80-121-26-175.adsl.highway.telekom.at [80.121.26.175]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GJJ1l5dN7z3wD1; Mon, 5 Jul 2021 09:57:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1625471836; bh=zmy3s+Oq9TMmLdpsvWk8H5EPKkzwwL88OjDNuxX69nQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=T8jsXQdUimJ5dIZcf8eAldd0U3+WjzxxkRRb7lMkS1/qYcXlRPuhoY9zd0SGCKI+8 G6//dmYLfZaKTGe2XlFBdGZ1muxIgq2kuFwOF6oX2FRoNOGVQ8booagA8XsRV3jXnS XiCORumQNCCmK3ouBjafDlmrhtQfhbzMpHdz4rqU= Message-ID: <99ccdaecd57d5766ee5920e811a934b9b2a58394.camel@student.tugraz.at> From: Leo Prikler Date: Mon, 05 Jul 2021 09:57:14 +0200 In-Reply-To: <86czrxae1w.fsf@mgsn.dev> References: <20210429195415.3f0dfaa9@riseup.net> <9ea8a08c75fc1a7b26f0380ba3a42161f3d5c570.camel@student.tugraz.at> <86czrxae1w.fsf@mgsn.dev> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48111-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 4116BA8E7 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: UxQtQpcadTBn Hello, Am Sonntag, den 04.07.2021, 15:51 -0700 schrieb Sarah Morgensen: > It might be slightly uglier, but I think it's better to keep a > consistent policy of "replace any invalid characters with a hyphen", > as it is less likely to generate collisions and it provides a hint to > the reader that there *is* a character there. Fair enough, that's a reasonable take. > I have attached a patch to do so below, verified that a recursive > import of the package mentioned above builds without modification > (well, I had to update a dependency...) and verified that there are > not currently any go packages using a tilde in their name with: > > $ egrep -r '"go-[^"]*~[^"]*"' gnu/packages I couldn't verify this as the importer delivered 410s, but the patch LGTM, so I pushed it. Thanks, Leo