From unknown Fri Aug 15 15:37:51 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60910] [PATCH 12/25] gnu: Add xurls. Resent-From: Katherine Cox-Buday Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 01:46:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60910@debbugs.gnu.org Cc: Katherine Cox-Buday X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167400635428959 (code B ref -1); Wed, 18 Jan 2023 01:46:09 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2023 01:45:54 +0000 Received: from localhost ([127.0.0.1]:38629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxWU-0007Ww-CQ for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:44450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxW3-0007U3-6C for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHxW1-00027W-Th for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:25 -0500 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxVx-0006vC-Uk for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:25 -0500 Received: by mail-io1-xd31.google.com with SMTP id n85so8154970iod.7 for ; Tue, 17 Jan 2023 17:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L1ZuEiNBgaiQLG10nETuPeGJkLxh+DLMf2FKYAAoGN8=; b=I4fCv0bL68q+0w6EGUqT83r3yWQ7+CGr0gNNn/fnag8HZIBcl21cSkQlwnr3HmG2wy EEL+Z+CIPWSKXO9YIKO8Qkcyl2QbV9mVET10zANowb9b8uPEuf1qf3WFYO9mXmpVvN9E ms+uYP3gCufHBDhmJOd89sGODoR1DdLX0qSRmjG9Wko6H09rntYcRTeL0NF+bPT1HsIp gEodnVR+7P/fazu9na3hU8vtSZZJFE939tps7wpgX99NdHNS8r100smEM26LB95Zu2Hv Vrp569wvmdnX0aTiEN9TTK+7ZsiEzsu+X5/NKAyw+3VqwjCDFia3+jzvQjJY+VLR/XJd Zqmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L1ZuEiNBgaiQLG10nETuPeGJkLxh+DLMf2FKYAAoGN8=; b=oNyaAg9Nya4OLqDV9J/1t6RsCaF8acibvZDGtjWUkO8iyblE6mn5LqR/xyzzOXArvh RcD0eAP3UDm4x17xNqfOa0AMBSM+UehHUbUb4cdk+8DYDu7fosrvDMqu8YC9J/9O9VRd ZfbvSJd+eMD/YhCgro/G5ei9cKikTHfnSEYWBQIAYBVurteZxvo82z4H7sL3KdnLfA9o kbJOwMfgiJThhIuKYkuzZOltJ0T+WZruVibC53dmdvSW6GQWG7FoEHu4I5sIAXaLgofj 7fJEhkGOKbH2p7p8yKodK1eDYSE4PJuT10CwFuOklGLoIK1HlnFLZqUy4ZhHFHAGyG2U sXvw== X-Gm-Message-State: AFqh2kpAj1HexWuafGbz8OPmdPrVquIVoJ4RpiaEEEjiLdF7d8CQjNfl OaQqyY5Tc2S0WcJY43gJ8ol074F+FBc= X-Google-Smtp-Source: AMrXdXuiFdx7glPrJ5HAe8dvhh/7GzbEJCYqyR2kHG7mmXFG28yYYHeZMdLHREhpScb9lZonSXEpuw== X-Received: by 2002:a6b:e61a:0:b0:704:d0d8:632b with SMTP id g26-20020a6be61a000000b00704d0d8632bmr3047395ioh.16.1674006321076; Tue, 17 Jan 2023 17:45:21 -0800 (PST) Received: from washu-v4.home.cox-buday.com (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b0039e89ea68f9sm7889250jal.135.2023.01.17.17.45.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:45:20 -0800 (PST) From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:44:57 -0700 Message-Id: <20230118014510.19320-13-cox.katherine.e@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230118014510.19320-1-cox.katherine.e@gmail.com> References: <20230118014510.19320-1-cox.katherine.e@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d31; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/golang.scm (xurls): New variable. --- gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index aa5f5ba159..cabc2a4bab 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9760,6 +9760,38 @@ (define-public go-go-uber-org-multierr "@code{multierr} allows combining one or more Go errors together.") (license license:expat))) +(define-public xurls + (package + (name "xurls") + (version "2.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mvdan/xurls") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b040nbk1vwlk1qljavh8w8fn2r243q700n6gr8j2asmnz0xq84p")))) + (build-system go-build-system) + (arguments + `(#:import-path "mvdan.cc/xurls/v2" + #:unpack-path "mvdan.cc/xurls/v2" + #:phases (modify-phases %standard-phases + (replace 'build + (lambda arguments + (apply (assoc-ref %standard-phases + 'build) + `(,@arguments #:import-path + "mvdan.cc/xurls/v2/cmd/xurls"))))))) + (inputs (list go-golang-org-x-sync go-github-com-rogpeppe-go-internal)) + (home-page "https://mvdan.cc/xurls/v2/") + (synopsis "Extracts URLs from text") + (description + "Xurls extracts urls from plain text using regular expressions. It can +be used as both a binary and a library.") + (license license:bsd-3))) + (define-public go-golang-org-x-lint (let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445") (revision "0")) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 05:57:05 2023 Received: (at control) by debbugs.gnu.org; 18 Jan 2023 10:57:05 +0000 Received: from localhost ([127.0.0.1]:39432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pI67s-0005fA-QG for submit@debbugs.gnu.org; Wed, 18 Jan 2023 05:57:05 -0500 Received: from tobias.gr ([80.241.217.52]:40786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pI67q-0005ej-1Q for control@debbugs.gnu.org; Wed, 18 Jan 2023 05:57:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=rZG272GorEjW1 DJ1ueTJCIxQKBgNqS4r2UeoWjljfNg=; h=to:from:date; d=tobias.gr; b=pJ8xGE 4xKTFxDGXTu8JJIxdTXzjHjKQHMPpzOLdDgTsKfydcYwE7eg++d4WhW4FvCCVuGv7neHuY doO2M+tWHslHkbqZPPB+ZequmKLRDsNc/QFfVC4KpDELKtkW9Q6ctxINWpQGJe2JzLXwaA RXt1hnoV0zUiSxmZXf6jp+B5IpHHn6CYT9xaIjeH34RSUNbyuEiIT1+57owCZhuUTnYlQh lK0c2ja5PyBKUu/tVp3CtE9SNY4fUc0Q4ge2kajMRhEyMUCCZMwjE4Ovvsy0rMfIS0qhUw 73tRxdOCEgy5V0Q/MaQ4XJMvrn5QvE7Rgo2lgWS/aXWhkF0KedtpqCRQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 457c9cdf for ; Wed, 18 Jan 2023 10:56:54 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 18 Jan 2023 11:56:54 +0100 From: Tobias Geerinckx-Rice To: control@debbugs.gnu.org Message-ID: <542e82bcc0f385c117ba662c7dcf1dbf@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 60898 60899 60900 60901 60902 merge 60898 60903 60904 60905 60906 merge 60898 60907 60908 60909 60910 merge 60898 60911 60912 60913 60914 merge 60898 60915 60916 60917 60918 merge 60898 60919 60 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) merge 60898 60899 60900 60901 60902 merge 60898 60903 60904 60905 60906 merge 60898 60907 60908 60909 60910 merge 60898 60911 60912 60913 60914 merge 60898 60915 60916 60917 60918 merge 60898 60919 60920 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 06:43:42 2023 Received: (at control) by debbugs.gnu.org; 18 Jan 2023 11:43:42 +0000 Received: from localhost ([127.0.0.1]:39609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pI6qz-0003Hz-Oc for submit@debbugs.gnu.org; Wed, 18 Jan 2023 06:43:41 -0500 Received: from tobias.gr ([80.241.217.52]:49144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pI6qy-0003Ho-68 for control@debbugs.gnu.org; Wed, 18 Jan 2023 06:43:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=hJBWTcXaRHm8s 6Gzva/WF37fY4EhLgcXTE0kSZi4SIY=; h=to:from:date; d=tobias.gr; b=HQFR0l g232sKUrFQwAVl4bjkp37vlXJXu0nDv8lsOWDXnNgP5ATDyo7kPUr9jnAW1ldk87kyMTEC 12cfNk3mR15PuObZZWmeKSauoBlV3ofDwl4YIGk4qMms8hxenZPKyp5uQbxG3B4jtQWPpF MQmkwm3oUpr/R7chlpif5MeJO8VFKXW5ENk1ceuOE78c3EAVjtT34hIC0Kyf05uzzmzSQd tCJL8D5IvcQ82V/VDkEu8zMICLfcI2C+aCgQhhuMy5eNBkRnSN7h25ZHcfR22/XMYopKkD cQMgdz3Ylfx6CY1L3ldAEWkgVZM9FX7lR4sn09qIEO+1/CyVj/cfbwHQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 2b6b07ef for ; Wed, 18 Jan 2023 11:43:32 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 18 Jan 2023 12:43:32 +0100 From: Tobias Geerinckx-Rice To: control@debbugs.gnu.org Message-ID: <37de5823441633151229c783f2acfca3@tobias.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 60898 60921 60922 thanks Weird: I got ‘Unknown command or malformed arguments to command.’ for this obviously correct line. Let's try again. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) merge 60898 60921 60922 thanks Weird: I got ‘Unknown command or malformed arguments to command.’ for this obviously correct line. Let's try again. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 12:07:56 2023 Received: (at control) by debbugs.gnu.org; 18 Jan 2023 17:07:56 +0000 Received: from localhost ([127.0.0.1]:41657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIBum-00052f-22 for submit@debbugs.gnu.org; Wed, 18 Jan 2023 12:07:56 -0500 Received: from mail-il1-f179.google.com ([209.85.166.179]:35657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIBuk-00052N-3J for control@debbugs.gnu.org; Wed, 18 Jan 2023 12:07:54 -0500 Received: by mail-il1-f179.google.com with SMTP id m15so17345356ilq.2 for ; Wed, 18 Jan 2023 09:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=GnPyPOAEGseCgs8OJ4qt7L8AUjlESU5rgqB6ZX0fDs0=; b=LFc833U6GocnaK3CTzP8F10nC3++Vy5+t7udHD0zAniYWoiVnZ/CxyjIOF9jFgpA4I ZA6AV+Z/czz9E+0wWs3U8bXKtRxjKNRpZqMTJThVHfgQFy8b/s7VrueLAudPRevBHxkh elhgr78nM6GT6M57cPJHsgzTyV+AvKUXL2LqJOBEwLKsVhugV/s9htj6B34cdGeRonzt YOZzatJWqPZCdJT8HqCA7ugA6U4+lAx7n5pOllBG8OcvGAckQi2ahM7Hq4x/W5+qJ5H3 w53lLre8p4xicsfjn8wqKwdTK8MNyxaAF6PB3EM4Tf1SfV/hhcRJedI15ADa1TIXQXYB maPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GnPyPOAEGseCgs8OJ4qt7L8AUjlESU5rgqB6ZX0fDs0=; b=z/xGFPzjRDHF07dbpdIL600PFBZdk2JeBCNWkMxjggAjGzwChJzvktmZ4oTsERu1Fd 1UzS3vOJ3o/JSFglvENF/4ltPnCrmV64zf4xYZvm9ImYCpiCZy4Cp9YJkwGvnhAL1WpO GVyThIgYKBQtZJ4QG83kkg+t0yHE0amueeuAlZeUlx0TKK+qpLV7uT1bgSGz9P5iRc7T SHaljdUEx/r9+1mIYRXsS5YdVXlqXOpqM/u8sSM6ptj2OGzTR6y847UJ55Nf26xh4hA6 dUsEiXp1eQBMjCN4xpmq09Jf3aa44LvhJCkdC7p/BYKf4FLo1Akd9NEmVZb9FZjZZYSt YBIw== X-Gm-Message-State: AFqh2koIjhmCxdmvdFQXNHwrPYNAVxh8iC6kt9sORWzy5R5OfGH5gOn9 tlMJMWMKrZ38RNsm1HHhAyo4ck+Hv5o= X-Google-Smtp-Source: AMrXdXvaRHz+POjae6teUiGpxX3dJBg3wg2WSO/lFqXAakcCttq0sg+7+68zm1nB7edoXAVgUfP4wg== X-Received: by 2002:a05:6e02:1a67:b0:30f:333a:7b53 with SMTP id w7-20020a056e021a6700b0030f333a7b53mr2146367ilv.9.1674061668208; Wed, 18 Jan 2023 09:07:48 -0800 (PST) Received: from washu-v4 (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id o32-20020a027420000000b0038a5b8d79basm10753904jac.106.2023.01.18.09.07.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 09:07:47 -0800 (PST) From: Katherine Cox-Buday To: control@debbugs.gnu.org Subject: Merging erroneously opened bugs Date: Wed, 18 Jan 2023 10:07:46 -0700 Message-ID: <87zgafrct9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 60899 60904 60907 60908 60917 60920 60921 60919 60910 60903 60915 60914 60922 60909 60918 60913 60900 60899 60905 60901 60912 60898 60906 60902 60916 60911 -- Katherine From unknown Fri Aug 15 15:37:51 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60910] [PATCH 12/25] gnu: Add xurls. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Feb 2023 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Katherine Cox-Buday" , <60910@debbugs.gnu.org> Received: via spool by 60910-submit@debbugs.gnu.org id=B60910.167572278128481 (code B ref 60910); Mon, 06 Feb 2023 22:33:02 +0000 Received: (at 60910) by debbugs.gnu.org; 6 Feb 2023 22:33:01 +0000 Received: from localhost ([127.0.0.1]:50167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPA2n-0007PJ-Er for submit@debbugs.gnu.org; Mon, 06 Feb 2023 17:33:01 -0500 Received: from knopi.disroot.org ([178.21.23.139]:33422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPA2l-0007PA-Kw for 60910@debbugs.gnu.org; Mon, 06 Feb 2023 17:33:00 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EAB38413B7; Mon, 6 Feb 2023 23:32:57 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jkMrq52DfsYi; Mon, 6 Feb 2023 23:32:56 +0100 (CET) Content-Type: multipart/signed; boundary=3b6956b9edcc5d05d1871b6a29bac671bc92d902d334ec92945b0667448f; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1675722776; bh=GJ3O05oFwXtHbYHXoD5ORcBB+/XXxX0vdPmUVSK7jYs=; h=Date:To:Subject:From:References:In-Reply-To; b=ZpAqV1FGfYZ0NfhehDT6GrFLiGIvvenc3QizCIHqW/fX1s2Bt1kh++a91fYvgRs0i HYJiHquEmEO4vpw2LWT7xp25XF4t91yYfeFbhMH0GQEzz1L5j0vzBXVWP3hfe0WLCA YKWLtzOeZXxQV/ZuMS09U5h0NBjq5h1neJ1QNv3nnutBrs9Fr5w4SWEDetEpoRI5on ZE3k0DmBpr7CRV3SzR058HVEbIvPH0++5p0HE1FFKPOgUPOLjfOHoZjlm4WOl6+bra bftiYam04y8whXIfueCoNF4H6bVmyoLeJ/Bxad+GF1gB0hOwqMDnQXBlMPD03lWR0I hHxf4CyxgjChA== Date: Mon, 06 Feb 2023 22:32:55 +0000 Message-Id: From: "(" References: <20230118014510.19320-1-cox.katherine.e@gmail.com> <20230118014510.19320-13-cox.katherine.e@gmail.com> In-Reply-To: <20230118014510.19320-13-cox.katherine.e@gmail.com> X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --3b6956b9edcc5d05d1871b6a29bac671bc92d902d334ec92945b0667448f Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 * gnu/packages/golang.scm (xurls): New variable. > --- a/gnu/packages/golang.scm > +++ b/gnu/packages/golang.scm > @@ -9760,6 +9760,38 @@ (define-public go-go-uber-org-multierr > + (arguments > + `(#:import-path "mvdan.cc/xurls/v2" > + #:unpack-path "mvdan.cc/xurls/v2" > + #:phases (modify-phases %standard-phases > + (replace 'build > + (lambda arguments > + (apply (assoc-ref %standard-phases > + 'build) > + `(,@arguments #:import-path > + "mvdan.cc/xurls/v2/cmd/xurls"))))))) I'm not certain what you're trying to accomplish here, but would you be abl= e to replace this with: (arguments `(#:import-path "mvdan.cc/xurls/v2" #:unpack-path "mvdan.cc/xurls/v2/cmd/xurls")) ? > + (inputs (list go-golang-org-x-sync go-github-com-rogpeppe-go-interna= l)) Add newlines after the ``inputs'' symbol and between the inputs :) > + (description > + "Xurls extracts urls from plain text using regular expressions. It= can > +be used as both a binary and a library.") s/Xurls extracts/This package provides a Go library for extracting/ -- ( --3b6956b9edcc5d05d1871b6a29bac671bc92d902d334ec92945b0667448f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEE6Vh10NblKE5doNlW7ImHg/nqI20FAmPhgBgACgkQ7ImHg/nq I23sUAv+KueIjpvDd/x6z6+TisRwcxsSnobTH2I962r6PCC/19T2BB7Y7HfEG5T9 v4iGzZ5RWSqbOd/4yn/ryoAFHPx8R2+oQXxestqWd06yUdPytli7MUYLVowrwwI7 cwzTq33ZsMPDIvYz2E2a19CywVgVzDkkHMHFqq4mtj569yp1Ybqi9/mDAopzabPB IEgkCesX7wQVPiJO9t8/WmXPqNW2B5FCuhfQDVqWm0FJGUYu5zKbYY0K3F/nyzqx namW+mw9h3q4WXXFn9qF6AGdvWBJZGu+pgHZIKj9bqK+0rJKGnY27PFY45STI0oE 2aJMBVgZOLjpp4KPYtuAxe2IirsYvw8MQrKRZ84KNOaHLLNgbkIdKaLoLMeFbmsQ IsrtdI/1I7eSROutEyLP9pjr1zA0RqO38VlSlhsHVkkaB873EN4Bnuyj00Qo2D4H 2yBQ7eI41Bv8ZA8u3WzqCZxpt5idHG/WF/pta3MtdQjKMINqxi5iQv50WG0FfHBM 2sO04/ls =JMjt -----END PGP SIGNATURE----- --3b6956b9edcc5d05d1871b6a29bac671bc92d902d334ec92945b0667448f-- From unknown Fri Aug 15 15:37:51 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60910] [PATCH 12/25] gnu: Add xurls. Resent-From: Katherine Cox-Buday Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Feb 2023 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60910@debbugs.gnu.org Cc: paren@disroot.org X-Debbugs-Original-To: "( via Guix-patches" via X-Debbugs-Original-Cc: "\(" , 60910@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167579228412447 (code B ref -1); Tue, 07 Feb 2023 17:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 17:51:24 +0000 Received: from localhost ([127.0.0.1]:53958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPS7k-0003EU-Ul for submit@debbugs.gnu.org; Tue, 07 Feb 2023 12:51:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:55252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPS7i-0003EM-Nk for submit@debbugs.gnu.org; Tue, 07 Feb 2023 12:51:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPS7i-0007DI-C1 for guix-patches@gnu.org; Tue, 07 Feb 2023 12:51:18 -0500 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPS7g-00079X-Jp for guix-patches@gnu.org; Tue, 07 Feb 2023 12:51:18 -0500 Received: by mail-il1-x134.google.com with SMTP id z17so3106338ilm.7 for ; Tue, 07 Feb 2023 09:51:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=IpM/X8Q2hmkzb4pCP3AueEVB5pSNSRpezQ3X3GMl9dc=; b=St7hhdZQKpIoKJfPNs+oVFRh4B+Gzvtxk1J6w6MnYLdHLvn3PS3W9yb7h5bDmWh50p NNSE7QzYlXR1EaXRs43vU1OOrZBB6dRCScnpwrpiFHmGCR8sM2CSp78z1hV9cKUP5Juj 6y/RMNQWH0cH4mKJEvQQryL/yDpXiL68O7yoB4GaabGZ6jKsIbuDrwMCaL1tvlSzlFqu MA/dhixv0hOyDt03BHVNW/SIhRutgoI3JphSQ/Dc+vWNORfepkxrkErbciD7pzZBIoSn 39DfYGeiHzFI+OTpNqOnpY6v4lykNY4GWGQpoBHsE9HXowSC2gZgqZ/alWAfimVv1EpW hHAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IpM/X8Q2hmkzb4pCP3AueEVB5pSNSRpezQ3X3GMl9dc=; b=xG+OGoDXft4qQOuOhrrUxOLh4UcPp984zNkGLSeLWOEcD43x01NTbSKqYq4e49HIM8 YpvU9kRWz/ANsICtKW9VYL5lXkhfofrn8Kwq1iYCE0Lk+u3zN6OXddkJfwFCr3bcZCUG eNQqd3OsYGj/a+t6ADEOHMiSPfhYR3mnDRquYrTk4uHlwbTUChaQFQPr3IcCRHXR90UH xsEEmAVf4ivgB5FyfdWoNAAnZ5xV8ZB9ZR63KyCIZqwdYeaIBqwtg7RnR2rA1iDT6AFB 2LVZAzgJQGW+qVBMsnj044hB+pwwtltVYJ73Jp/R4/dpCdE3wzblXUC/o6vfxmy1B18H lOuA== X-Gm-Message-State: AO0yUKXvAAv75rUYYITJXrLpJSpeo+7Je9KLdmneCI/k1wGWvLPlsrlG GsLN+Dz2aB4Tj41fIOv5mdI= X-Google-Smtp-Source: AK7set+xdmRQry1C7yj2MSiocC5t04FSLz1Tgvo/AvgVgOjPMIfa5y9vRb9s/lsw+m5EZy9dvJ28xg== X-Received: by 2002:a05:6e02:1be8:b0:313:cd79:adcb with SMTP id y8-20020a056e021be800b00313cd79adcbmr4850699ilv.18.1675792275392; Tue, 07 Feb 2023 09:51:15 -0800 (PST) Received: from washu-v4 (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id b7-20020a056638150700b00363c4307bb2sm4579024jat.79.2023.02.07.09.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 09:51:14 -0800 (PST) From: Katherine Cox-Buday References: <20230118014510.19320-1-cox.katherine.e@gmail.com> <20230118014510.19320-13-cox.katherine.e@gmail.com> Date: Tue, 07 Feb 2023 10:51:14 -0700 In-Reply-To: (guix-patches@gnu.org's message of "Mon, 06 Feb 2023 22:32:55 +0000") Message-ID: <87357hxt2l.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::134; envelope-from=cox.katherine.e@gmail.com; helo=mail-il1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "( via Guix-patches" via writes: > * gnu/packages/golang.scm (xurls): New variable. > >> --- a/gnu/packages/golang.scm >> +++ b/gnu/packages/golang.scm > >> @@ -9760,6 +9760,38 @@ (define-public go-go-uber-org-multierr > >> + (arguments >> + `(#:import-path "mvdan.cc/xurls/v2" >> + #:unpack-path "mvdan.cc/xurls/v2" >> + #:phases (modify-phases %standard-phases >> + (replace 'build >> + (lambda arguments >> + (apply (assoc-ref %standard-phases >> + 'build) >> + `(,@arguments #:import-path >> + "mvdan.cc/xurls/v2/cmd/xurls"))))))) > > I'm not certain what you're trying to accomplish here, but would you be a= ble > to replace this with: > > (arguments > `(#:import-path "mvdan.cc/xurls/v2" > #:unpack-path "mvdan.cc/xurls/v2/cmd/xurls")) > > ? Hm, I'm sure I would have tried that, but I'll check and see if I can condense this per your suggestion. Thanks! >> + (inputs (list go-golang-org-x-sync go-github-com-rogpeppe-go-intern= al)) > > Add newlines after the ``inputs'' symbol and between the inputs :) Why wouldn't `guix style` and `guix lint` correct this? I want to meet the style guidelines, and I don't mean this as a contrarian statement, but I'll never get this right unless a tool tells me it's wrong (or ideally fixes it for me). >> + (description >> + "Xurls extracts urls from plain text using regular expressions. I= t can >> +be used as both a binary and a library.") > > s/Xurls extracts/This package provides a Go library for extracting/ https://guix.gnu.org/en/manual/devel/en/guix.html#Synopses-and-Descriptions: [Synopses] must not start with =E2=80=9Ca=E2=80=9D or =E2=80=9Cthe=E2= =80=9D, which usually does not bring anything; for instance, prefer =E2=80=9CFile-frobbing tool=E2=80= =9D over =E2=80=9CA tool that frobs files=E2=80=9D. The synopsis should say what the package is=E2=80=94e.g., =E2=80=9CCore GNU utilities (file, text, shell)=E2=80= =9D=E2=80=94or what it is used for=E2=80=94e.g., the synopsis for GNU grep is =E2=80=9CPrint lines mat= ching a pattern=E2=80=9D. The manual is speaking of synopses, but does it apply to descriptions too? It seems to me like beginning the description with the name of the binary is more correct than a self-referential "This package", which I think meets the manual's qualifier for "does not bring anything". Also, `Xurls` is both a library and an executable. This package is for the executable, and a separate one was provided for the library. I think it's probably better to keep it in the style of "$BINARY (thing that it does)". WDYT? These are just my opinions, and I'm open to learning! Please include the "why" so I can have better judgment in the future. --=20 Katherine