From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EO9zCmVYcWKBSQAAbAwnHQ (envelope-from ) for ; Tue, 03 May 2022 18:29:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aExpCmVYcWIZdQEAauVa8A (envelope-from ) for ; Tue, 03 May 2022 18:29:25 +0200 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 D3E2B28770 for ; Tue, 3 May 2022 18:29:24 +0200 (CEST) Received: from localhost ([::1]:55762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlvOt-0000hp-Nc for larch@yhetil.org; Tue, 03 May 2022 12:29:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlvLi-0003Ja-3s for guix-patches@gnu.org; Tue, 03 May 2022 12:26:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlvLe-0007zZ-DI for guix-patches@gnu.org; Tue, 03 May 2022 12:26:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlvLe-000362-9t for guix-patches@gnu.org; Tue, 03 May 2022 12:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55242] [PATCH 04/10] guix: import: go: Fix the interpretation of the replace directive. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 May 2022 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai , 55242@debbugs.gnu.org Received: via spool by 55242-submit@debbugs.gnu.org id=B55242.165159512311851 (code B ref 55242); Tue, 03 May 2022 16:26:02 +0000 Received: (at 55242) by debbugs.gnu.org; 3 May 2022 16:25:23 +0000 Received: from localhost ([127.0.0.1]:40805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlvL1-000354-JX for submit@debbugs.gnu.org; Tue, 03 May 2022 12:25:23 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:44620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlvKz-00034u-LB for 55242@debbugs.gnu.org; Tue, 03 May 2022 12:25:21 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id SGRL2701E4UW6Th06GRLxz; Tue, 03 May 2022 18:25:20 +0200 Message-ID: From: Maxime Devos Date: Tue, 03 May 2022 18:25:17 +0200 In-Reply-To: <20220503114301.9524-4-attila@lendvai.name> References: <20220503114301.9524-2-attila@lendvai.name> <20220503114301.9524-4-attila@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-d+B5/ED7ti2aUfWP4QYG" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651595120; bh=BCZJ44pwgHGWU8yA/mfeJMVY92yQdrYIr5a6zS7/2BE=; h=Subject:From:To:Date:In-Reply-To:References; b=T1X5B3GWlz3qg4gprY30CjIh2z/WPtZGYX7fo/xzlbG4tqLnWJCNFpcJOpMXYReSq lcLXNPj5CbGl5xOb67S99cHugy1xITHdIpDx9Hpy8Gu+XjJrvbsaGYdUaA+ZnOrWMa uuSp1lyT10YAerw3mL/eG9q81y4utrbB8igH1NISG8kgZ4UYq+j0iEDzMOHVexl6MT NQ9yFF49wJUFhoje+Vad0asVH2Bt7Bpz8uXd1FTnJNypPxJZbQAXA9R3nNhSEg83Qh 1xim4P/CkkenJnCcDgCHoqlRXcPTDobzq3OJc1rMTMWDcneJtcelBD2i+gXgve3pUV Z77xo7VtK8M3Q== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651595364; 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: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=BCZJ44pwgHGWU8yA/mfeJMVY92yQdrYIr5a6zS7/2BE=; b=Nxmvgd5a+PulwZctQbVe09yHwj3xiXcCUD8BcafLtxVgyFVt1ZskPWSK3+w3RgkO9LIP4J rmON7a4Tzr0KGDOlc+MZKhh0JNYyFSCpZ02oV2HwQlbOSOiYVTV6t84jQBrgOi4J3LYWEr Q2AaQe1v2Ofy4VtAO6b3MBHDgljcNc2K+zdsgRD4XonWw+0p3EKG8wnZxa0+OIZEt155SE n/PFUUEYx/ndwRoFsC9C5mAOBSqDwvDGu+bo4mXOgxwP07Ud2GpQJ6m1cd5j9uC/68UXaW zrDxslfVOC4nMIg8yGSmNWT7Nv6Ajd73iimSt1bx2jyQkx7piY0I6zIsLPhVEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651595364; a=rsa-sha256; cv=none; b=R/jsyIsQT7i+gArvN2fKIjceSf8Gaj8b04aqk0DAoCLTKMzxVNVHgjBHvLv0yDf3kMXY3d 2oFG80Co1T1xF21ViTdM29KquQ5sQwWMHics/JUCMV06lGl4VyaRmJo0s348yWCQ6aw3jX k5JIRETYpEHY2AoCM2uwa/AWZYQe6LbqFGJIU05+AmiHBv4z1t5h/ez+ZqwVnGTBhTlHa3 Z/vjeHfwmf32NlvhJu87xoMwkx84SYBNSSyN3rT8zDk8qK9klLE31zXi/l4IUDuXDSteyX eOf3x+apqJ11dYZe+2GSvaLIgUO2BL15SBtN6fwlIwRd/zOFybuKUQ/oYE6xfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=T1X5B3GW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=T1X5B3GW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D3E2B28770 X-Spam-Score: 2.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Mrb/yXbkAK8E --=-d+B5/ED7ti2aUfWP4QYG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attila Lendvai schreef op di 03-05-2022 om 13:42 [+0200]: > +=C2=A0=C2=A0=C2=A0 ;; Specification: https://golang.org/ref/mod#go-mod-f= ile-replace > +=C2=A0=C2=A0=C2=A0 ;; Interesting test cases: > +=C2=A0=C2=A0=C2=A0 ;;=C2=A0=C2=A0 github.com/influxdata/influxdb-client-= go/v2@v2.4.0 > +=C2=A0=C2=A0=C2=A0 (log.debug "inside replace, directive ~S, requirement= s ~S" directive requirements) You can use 'pk' for this: #;(pk "inside replace, directive" directive "requirements" requirements) (delete 'pk' when debugging). Greetings, Maxime. --=-d+B5/ED7ti2aUfWP4QYG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnFXbRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oRlAQDMlFXyvv5xEzLB9C7d5S8en0Ym ty720Ip5MhVTEw6omwD/TBPvThevt5iBFTY7dYUzhf1ReVB67Gcih4DCwy81VwQ= =6SDX -----END PGP SIGNATURE----- --=-d+B5/ED7ti2aUfWP4QYG--