From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uDWTEATUi2BrKwAAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 11:55:16 +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 ePxbDATUi2DQdQAA1q6Kng (envelope-from ) for ; Fri, 30 Apr 2021 09:55:16 +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 AAFD517AC1 for ; Fri, 30 Apr 2021 11:55:15 +0200 (CEST) Received: from localhost ([::1]:53980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcPrd-0007uR-O0 for larch@yhetil.org; Fri, 30 Apr 2021 05:55:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcPrS-0007rL-PR for bug-guix@gnu.org; Fri, 30 Apr 2021 05:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcPrS-00033r-Ht for bug-guix@gnu.org; Fri, 30 Apr 2021 05:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcPrS-0007YM-GC for bug-guix@gnu.org; Fri, 30 Apr 2021 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48111: tilde in Go package names (eg. sourcehut hosted packages) Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 30 Apr 2021 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48111 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom , 48111@debbugs.gnu.org Received: via spool by 48111-submit@debbugs.gnu.org id=B48111.161977645328976 (code B ref 48111); Fri, 30 Apr 2021 09:55:02 +0000 Received: (at 48111) by debbugs.gnu.org; 30 Apr 2021 09:54:13 +0000 Received: from localhost ([127.0.0.1]:57530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcPqf-0007XI-7B for submit@debbugs.gnu.org; Fri, 30 Apr 2021 05:54:13 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:65464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcPqc-0007X7-SM for 48111@debbugs.gnu.org; Fri, 30 Apr 2021 05:54:12 -0400 Received: from [10.0.0.4] (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FWnl20S8lz3xnV; Fri, 30 Apr 2021 11:54:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1619776446; bh=GCDeYejQlsm6ap/MB9eYILM1Jn7MmVjfcMyUaY4+AiM=; h=Subject:From:To:Date:In-Reply-To:References; b=rIb+RaSCCB1UPF0HLabMw93QSOBoDGwiBEekY6Ury2Vx+5/v5pD0JJSHodATqYweI Y1E4/iAOyN1xO5VPzVG3siB+hUDs6X6QaHe9Bng4v7mSl36gh0gWm3ATC27cmVeUhH JKxLnEkEGtlAB++6Vff4uR+wESJ1Ae1+papR8QS4= Message-ID: <9ea8a08c75fc1a7b26f0380ba3a42161f3d5c570.camel@student.tugraz.at> From: Leo Prikler Date: Fri, 30 Apr 2021 11:53:40 +0200 In-Reply-To: <20210429195415.3f0dfaa9@riseup.net> References: <20210429195415.3f0dfaa9@riseup.net> 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.117 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619776516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GCDeYejQlsm6ap/MB9eYILM1Jn7MmVjfcMyUaY4+AiM=; b=cOOTAFiQLnWcDAou5rMI363WmzrmxmPVvl/dJEydfCF3vH/fNvgpFHlflCZVNGePoaqzQU U0NSksdSvH9frwkhE7nrgayBS9G3nSz3RR04zlnhK8ttoOVZLIjdx3zykYuNk8rf3W4f3t FHggW6jocQ/dFPKgGn23rEflTaFTjy3O9Cp8UUdL35XdMqlqZxCuC4JvOwCC4Cw4BAn56x Q79Q7yZ+9rWXvyCR8EMxkbh0cIZ/B/sZRTFaXWXuc1ABdoOUqrFHH9zconRIaO3IYb3yJv p0c4vYVggovdzuVoYNfwcLot41yVNv8ZnZT/nllfuavznycc40h70hQ0evSoVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619776516; a=rsa-sha256; cv=none; b=shN3RYpqXw46gf5lAVktcu1q2evpp+XsUEZGG44g0/hvv7A8w+P0MGZPuSZBp1p1ox/UzI x4Fo08kqu91eTah3zwWnLM/jnfWN/ZzDUil/VDNfuqYjDSiou5Qq1pTyi/xha2OTI7x1vU djPaWO8kyjUa2WHCNTbZWLVkbPrtD47PuRmqyQF4nT272p7JwQJz6QEB7yvNVnOKQQukbJ DiiF3/gqOXLWkjN3IqTobAtPCVYbX88ENDUjgR4D8qE3o3JODJrOKKQPKeY05xr9BYD+xO xseWkZSAfyRW/qXDZODQGR2EYY/HaeNseRa0OUf7WXyXV7unCyktfOSy8Yd2og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=rIb+RaSC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=rIb+RaSC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AAFD517AC1 X-Spam-Score: 0.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: pPXlqLUBGguB Am Donnerstag, den 29.04.2021, 19:54 +0200 schrieb raingloom: > Trying to import kineto and getting this error when building it: > > guix build: error: invalid character `~' in name > `go-git-sr-ht-~sircmpwn-kineto-0.0.0-20210225135222-edd4fe31f16f- > checkout.drv' > > I know the names are significant in go-build-system so I'm not sure > how > to work around the issue without breaking anything. The way Go works, I would hazard a guess, that module git.sr.ht/~sircmpwn/kineto and module git.sr.ht/sircmpwn/kineto name two different modules. However, as the latter can't exist since sr.ht prefixes user names with ~, I think a name transformation, that maps the former to the latter should be safe. On the other hand, since this just affects store file names, we might instead want to map "~" to "-" in the general case of it appearing anywhere. WDYT? Regards, Leo