From unknown Thu Aug 14 18:32:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60904 <60904@debbugs.gnu.org> To: bug#60904 <60904@debbugs.gnu.org> Subject: Status: [PATCH 05/25] gnu: Add go-github-com-google-safehtml. Reply-To: bug#60904 <60904@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:32:09 +0000 retitle 60904 [PATCH 05/25] gnu: Add go-github-com-google-safehtml. reassign 60904 guix-patches submitter 60904 Katherine Cox-Buday severity 60904 normal tag 60904 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 20:45:28 2023 Received: (at submit) by debbugs.gnu.org; 18 Jan 2023 01:45:29 +0000 Received: from localhost ([127.0.0.1]:38604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxW3-0007U7-As for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:60108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxVv-0007SL-H5 for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:23 -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 1pHxVu-00021k-N8 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:18 -0500 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxVt-0006xA-06 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:18 -0500 Received: by mail-il1-x12d.google.com with SMTP id u8so16410052ilg.0 for ; Tue, 17 Jan 2023 17:45:16 -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=5MKgqN1VQeH5VDgAL9XYkuZJKhCobYTVg+vq0hbMjj8=; b=By4KVaiPOzn0KwFLdDKAl9HlPfXGvL9ABUagkH5c0uGkadJuuDHxrQZxvIMOxeg5BG OcoESRl1n5PiRku+xSdbsdzEv4Q/IWapvXadKVPGG8FSQWPBYRSSLONg2NiUVnI2pVB7 x3pltYrzlBgDdUs4+CgGz7uM4Jf6ixFjCFPVFMUOS5Ryw+BETktuwpwODlljpDDFVGwX ACN1ZebpxAszxWayZDbNphqLKJijRzqTuOY83ztzUrWJR2zqFpPr5LzG7aOHUfj4eNeZ PBajV6oatOmdckkC8YlXFLKm5VtugcxrtWialCDJXZmK1TkAAWqtEv8IEOAawhgs8TKs 3YeQ== 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=5MKgqN1VQeH5VDgAL9XYkuZJKhCobYTVg+vq0hbMjj8=; b=yk5KZYSe3vrVSVzsG+Dq5xOmjOkwVvWJMdtnYL5KoUf2uRWG4aflBD3rgFhEFKtsEC cfmfN0jOyUFQfjiwcIvAjSRNcArG+AJgpNMKlUx34Bwddfn1kEj63fEaPY4vUJcIv1mm C3Nn+3rHXu8vR+TizbCCEMBdCiip8mNknDRqRVH2T2HB1zvi+DnDBZX/niDHt4jUViYw k8x1vH7NY/dW7mVzkaiWCqBnZ5/dAIXipySvA4HJmHTiKM6Rh9s6yCrFG+SDOVU/+Zyh zx+WYxFlGyJjMO0lMSSLd9mQ/tg+INT/3S8bO7IBE7sg5RasFLtKIhYJ0jQTqY0WVIzt nt6Q== X-Gm-Message-State: AFqh2kp1H8JKAN0gybMd8ADsqvlyjvhTV6RvprxStrtrmikE2EvdXOAI Z+pOW9NcSwV96HxyIUhRmCJwZvJCBO4= X-Google-Smtp-Source: AMrXdXt8UXekRdDP8MektmCtT8qM2mB4Ik9cmKILnqogW7Z4WGkX+FKFIfvpm2Zx0wPyn6v3bNlT2w== X-Received: by 2002:a05:6e02:1d0d:b0:305:9875:6d29 with SMTP id i13-20020a056e021d0d00b0030598756d29mr5677273ila.31.1674006315850; Tue, 17 Jan 2023 17:45:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:45:15 -0800 (PST) From: Katherine Cox-Buday To: guix-patches@gnu.org Subject: [PATCH 05/25] gnu: Add go-github-com-google-safehtml. Date: Tue, 17 Jan 2023 18:44:50 -0700 Message-Id: <20230118014510.19320-6-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::12d; envelope-from=cox.katherine.e@gmail.com; helo=mail-il1-x12d.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-Debbugs-Envelope-To: submit Cc: Katherine Cox-Buday 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 (go-github-com-google-safehtml): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 677d58d831..9f7a8160de 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10921,6 +10921,31 @@ (define-public go-github-com-google-go-jsonnet implementation.") (license license:asl2.0))) +(define-public go-github-com-google-safehtml + (package + (name "go-github-com-google-safehtml") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/safehtml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/google/safehtml")) + (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text))) + (home-page "https://github.com/google/safehtml") + (synopsis "Safe HTML for Go") + (description + "Package safehtml provides immutable string-like types which represent values +that are guaranteed to be safe, by construction or by escaping or sanitization, +to use in various HTML contexts and with various DOM APIs.") + (license license:bsd-3))) + (define-public go-github-com-google-shlex (package (name "go-github-com-google-shlex") -- 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 debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 17:05:03 2023 Received: (at 60904) by debbugs.gnu.org; 6 Feb 2023 22:05:04 +0000 Received: from localhost ([127.0.0.1]:50107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP9bj-0006Zm-HN for submit@debbugs.gnu.org; Mon, 06 Feb 2023 17:05:03 -0500 Received: from knopi.disroot.org ([178.21.23.139]:59162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP9be-0006ZF-OR for 60904@debbugs.gnu.org; Mon, 06 Feb 2023 17:05:02 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 04301412B8; Mon, 6 Feb 2023 23:04: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 f54aOeC22Ttm; Mon, 6 Feb 2023 23:04:55 +0100 (CET) Content-Type: multipart/signed; boundary=deddaaf500b8ba6278eebcbaac0c75b81c0a70088aef9aba9ee290a3f685; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1675721095; bh=HpDvr2wHbn7qdgIYQ39bNlzMrD6m/QS2pZcawQPrM1I=; h=Date:Subject:From:To:References:In-Reply-To; b=L/y8KrEhyMOZciejU7tweEk8wmwoT3qVbRQ1iGqrm+1+nFNUkBTxVwdPccAyjhgP8 AvA82ESEu/IwMJnwlBvXN/2bygWMaYma2o0gNAFBBU+msE6C0YADq7BfDYZ0WJtfsA /0G4oqfRYHjQ5TjdUy5XZtBHCWN4tHYTICGPLbfjppqSgS3tc36sEz+nw28u5xw8gG 7BuGScJMlopR5y7yeJ4Z2LBde4+BMjJ7Z/RF8+miykS5+rm+H3TOJ/O0Ok0YO3fhcM 5InJFup2G/XU4kUJjoh/1QjdGU4ptmVn7I88r6tL8djQEuvno0suNrPa+35cjQ4WMW WiX3oS4JnJcKQ== Date: Mon, 06 Feb 2023 22:04:50 +0000 Message-Id: Subject: Re: [bug#60904] [PATCH 05/25] gnu: Add go-github-com-google-safehtml. From: "(" To: "Katherine Cox-Buday" , <60904@debbugs.gnu.org> References: <20230118014510.19320-1-cox.katherine.e@gmail.com> <20230118014510.19320-6-cox.katherine.e@gmail.com> In-Reply-To: <20230118014510.19320-6-cox.katherine.e@gmail.com> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 60904 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 (/) --deddaaf500b8ba6278eebcbaac0c75b81c0a70088aef9aba9ee290a3f685 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 * gnu/packages/golang.scm (go-github-com-google-safehtml): New variable. > --- a/gnu/packages/golang.scm > +++ b/gnu/packages/golang.scm > @@ -10921,6 +10921,31 @@ (define-public go-github-com-google-go-jsonnet > + (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text))= ) Please use new-style inputs. > + (synopsis "Safe HTML for Go") (synopsis "Go type for storing HTML data") > + (description > + "Package safehtml provides immutable string-like types which repres= ent values > +that are guaranteed to be safe, by construction or by escaping or saniti= zation, > +to use in various HTML contexts and with various DOM APIs.") (description "This package provides a Go library for storing HTML data as an immutabl= e string-like value.") -- ( --deddaaf500b8ba6278eebcbaac0c75b81c0a70088aef9aba9ee290a3f685 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEE6Vh10NblKE5doNlW7ImHg/nqI20FAmPheYMACgkQ7ImHg/nq I23ZvQv/TU73KJQzjUeRCuWlMLHeft/P8ZRO1V6ydaUxovN5ipavilaDgxNWBmi6 S9x45ffNI/K4euRw6vpsaWCpZB18CwClBihkJUgsIR9sM3u2DTYDH6A2Tmkmeay2 ov4AaeL4277uvLkDEPxEO7BO0vuBKqBb9HacnPfHL91B16QPx6aOzFUD2QyYEhV7 7VntiRffHeFGxqw5NNAV0rZTCMV1txEWBofPhmp1PgEnj7rBiVWmbVudxE5LIRiz P7iTkSH7Wt3o0vn3ogs7jupxQMuxP5NwmWmvlx/LGPM0GHawZm9T4jCLe8sbm+tj h7YI0OPgmfQd+ZVyYF0MhEgC/Eqk8plOSa9dFMGG/UgHge5WsgOInk+o6aevVvsU M+By+EvD2+TRQf9kqU9ds2Ea2GzZcHSXy83zb9w7hpOQNcRIXLTeHGT0Llr7oG1i vEDe/hLm0uMgqPBhuZYs7JavySOuXSjAvD8Zsjp//gLhB9yJ0wsA9b9xwXqscxCf dsjzOTFm =T5VN -----END PGP SIGNATURE----- --deddaaf500b8ba6278eebcbaac0c75b81c0a70088aef9aba9ee290a3f685-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 11:41:15 2023 Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 16:41:15 +0000 Received: from localhost ([127.0.0.1]:53864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPR1v-0001ET-3j for submit@debbugs.gnu.org; Tue, 07 Feb 2023 11:41:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:50450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPR1s-0001EK-MB for submit@debbugs.gnu.org; Tue, 07 Feb 2023 11:41:13 -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 1pPR1s-0003Y5-D0 for guix-patches@gnu.org; Tue, 07 Feb 2023 11:41:12 -0500 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPR1q-00011j-NL for guix-patches@gnu.org; Tue, 07 Feb 2023 11:41:12 -0500 Received: by mail-io1-xd2a.google.com with SMTP id e2so5868546iot.11 for ; Tue, 07 Feb 2023 08:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=rnCczow9wlTtOCf16xx0lrvCg7GNCaW4l3FUwOHpf10=; b=jPR7R5vMG/aSOCKcEPXSFeN/J1yyS7wDq6HCDRRYBoUMFNh0N59kVM4BnwTKLqGdT4 gZjqF49pskQaskMv3zGeDTcN3JJVeNuIsXR6jr5ahi5/thYKbE7i/imas0L3aPt1jBbM 5QjDfcV5YBP1qttscqaZnrtztrY3wGgja7DWGqbcOkDCV0L6aCvm0A46WL6ip+Bsr0ml YBoSC/RXDdJSEldXL5LVFgFNEFJYGZj95zmJG9N87h9nU3g2oDgN3O7POzShjsIW1sSS Rujph4OP3/7R3rYCSBF083m0CF212UnD3PQ8e2d0vdi9ZwwBZxoGqZIquKP2tshLebHE Y3Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=rnCczow9wlTtOCf16xx0lrvCg7GNCaW4l3FUwOHpf10=; b=SwQungAACYIm+MeD1/1ptlqjyjzcMErHqygh08kaiJekjIGGFoYg1tRJa11VkUx06W +bB8IJMHSZ8TmvZZ6PRgli9nyvtSR9aLphukLYsirMOJS3GsPmV4uqKcUEZVpJAHIaT9 yyj8/D95k1jQEYoHmtMbDZr+O/WxciANgodDzx55NhZ3J1l+7X/fvCYDW3ReYgVynFge vSb6OiR2C7jiONRGkqwMCD47HJmDLyd5WbtBtnQUSSvoFUk17dSmD9K8+OCSih5j2Kmk tROaku2R3h2wSNazb9KYw/3WMX3OXVNrGpX26oTAV7iT23Klf72GqaLGUrTKP1yjHdoH xgwA== X-Gm-Message-State: AO0yUKWWsIAWqggpqBorjBSrMTBwRGMC2L/KbiSpatxt7NmxrNuCm8V7 MkZ6Xswa+j6TttwGNuCw2lw= X-Google-Smtp-Source: AK7set93kUgyiW+5E60lvjLb/Qq4vru67DEtxc2Ea0gh0FsgiJAH5/MLWroGNzbQULMxnLznG0SYfw== X-Received: by 2002:a6b:d31a:0:b0:71e:779:a43b with SMTP id s26-20020a6bd31a000000b0071e0779a43bmr3125278iob.14.1675788069364; Tue, 07 Feb 2023 08:41:09 -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 r6-20020a922a06000000b0031093e9c7fasm4225646ile.85.2023.02.07.08.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 08:41:08 -0800 (PST) From: Katherine Cox-Buday To: "( via Guix-patches" via Subject: Re: [bug#60904] [PATCH 05/25] gnu: Add go-github-com-google-safehtml. References: <20230118014510.19320-1-cox.katherine.e@gmail.com> <20230118014510.19320-6-cox.katherine.e@gmail.com> Date: Tue, 07 Feb 2023 09:41:08 -0700 In-Reply-To: (guix-patches@gnu.org's message of "Mon, 06 Feb 2023 22:04:50 +0000") Message-ID: <87r0v1xwbf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::d2a; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd2a.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-Debbugs-Envelope-To: submit Cc: "\(" , 60904@debbugs.gnu.org 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 (--) "( via Guix-patches" via writes: > * gnu/packages/golang.scm (go-github-com-google-safehtml): New variable. > >> --- a/gnu/packages/golang.scm >> +++ b/gnu/packages/golang.scm > >> @@ -10921,6 +10921,31 @@ (define-public go-github-com-google-go-jsonnet > >> + (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text))) > > Please use new-style inputs. Ugh, +1, and sorry I missed this. I don't know why the importer doesn't do this by default yet. I suppose that's another patch that needs to happen. I also don't know why `guix style` and `guix lint` didn't catch this. >> + (synopsis "Safe HTML for Go") > > (synopsis "Go type for storing HTML data") (see other response, wondering if we should take upstream synopses or not) >> + (description >> + "Package safehtml provides immutable string-like types which represent values >> +that are guaranteed to be safe, by construction or by escaping or sanitization, >> +to use in various HTML contexts and with various DOM APIs.") > > (description > "This package provides a Go library for storing HTML data as an immutable string-like > value.") I disagree with this suggestion: the extra context about construction or escaping takes me from "why would I want to store HTML data in a struct", to, "oh this is a way to preclude passing around invalid/unsafe HTML around". -- Katherine From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 12:45:24 2023 Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 17:45:24 +0000 Received: from localhost ([127.0.0.1]:53945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPS20-000315-DO for submit@debbugs.gnu.org; Tue, 07 Feb 2023 12:45:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:37554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPS1y-00030v-5m for submit@debbugs.gnu.org; Tue, 07 Feb 2023 12:45:22 -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 1pPS1x-0002FN-8L for guix-patches@gnu.org; Tue, 07 Feb 2023 12:45:21 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPS1v-0005ru-Pl for guix-patches@gnu.org; Tue, 07 Feb 2023 12:45:21 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 90FF440EA7; Tue, 7 Feb 2023 18:45:18 +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 7ocfm-v4vJ8B; Tue, 7 Feb 2023 18:45:17 +0100 (CET) Content-Type: multipart/signed; boundary=776382c2e1c0130c1fccd3705d66ebc875f4aa4d19da405c37b0435c64ed; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1675791917; bh=+IV3TZIWk81NTDH6YbE+aOUHdlg0ElRb7hD1UB+ti0U=; h=Date:Cc:Subject:From:To:References:In-Reply-To; b=aOfWgFruDLftDjp6ExeRGzoBeK7LadpEJZ7Ymg51a/3UB6nfYrN/l1wn5O2USyR1J /uka8SWcGUnulLnOsYlr+LCrppdL8iy8RawPvgjeyV/UvnK66e4W/TJVs2/bw+2pob AC8+5zAvylKLh/pWRl4oP7y5GFITT7ZQL1vRd46CMGwosKIzTeOogA4BGrJgu4R5aP qgnTcrnJtUlAvAGC94QxSi1MR9DBSBWHr4dbGmC/ZMk/5MiH2+yTyks34ucsAH6mR7 GmVKiFgoy4UtkoH1t0HojmLySjBSUoP5M0YgPcBjz5C+kIET9CMnaI1CHkGZp2QSso v9yTtaxD7v/mQ== Date: Tue, 07 Feb 2023 17:45:15 +0000 Message-Id: Subject: Re: [bug#60904] [PATCH 05/25] gnu: Add go-github-com-google-safehtml. From: "(" To: "Katherine Cox-Buday" , "( via Guix-patches via" References: <20230118014510.19320-1-cox.katherine.e@gmail.com> <20230118014510.19320-6-cox.katherine.e@gmail.com> <87r0v1xwbf.fsf@gmail.com> In-Reply-To: <87r0v1xwbf.fsf@gmail.com> Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, MIME_HEADER_CTYPE_ONLY=0.1, 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-Debbugs-Envelope-To: submit Cc: 60904@debbugs.gnu.org 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 (--) --776382c2e1c0130c1fccd3705d66ebc875f4aa4d19da405c37b0435c64ed Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Tue Feb 7, 2023 at 4:41 PM GMT, Katherine Cox-Buday wrote: > >> + (description > >> + "Package safehtml provides immutable string-like types which rep= resent values > >> +that are guaranteed to be safe, by construction or by escaping or san= itization, > >> +to use in various HTML contexts and with various DOM APIs.") > > > > (description > > "This package provides a Go library for storing HTML data as an immu= table string-like > > value.") > > I disagree with this suggestion: the extra context about construction or > escaping takes me from "why would I want to store HTML data in a > struct", to, "oh this is a way to preclude passing around invalid/unsafe > HTML around". That's true. There's no problem with incorporating it, but many upstream d= escriptions are a bit too focused on the internals for guix IMO. So I tried to constru= ct a description that got the point across without being too detailed; I probabl= y went too far. (Also, I know it's a Go convention, but I personally think we sho= uld remove the "package is ..." phrasing where possible.) How about this instead: (description "This package provides a Go library for storing HTML data as an immutabl= e string-like value that is guaranteed to be safe to use in various HTML- and DOM-relat= ed contexts.") -- ( --776382c2e1c0130c1fccd3705d66ebc875f4aa4d19da405c37b0435c64ed Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEE6Vh10NblKE5doNlW7ImHg/nqI20FAmPijiwACgkQ7ImHg/nq I230igwArlIweRk9pePamip+V3DNQgiSPL+9VIxurkHTeEOiq8NP34UZ9N6TMwmv 9qhSutMoeaJcZ9cMc71xiVuKS1mjaUG5YKVNuzMbojX3N9hcTW26D1v9NXI4MKGv JofrWYtZ9EmqQxwq5jPqEzOcYBpH+YCRtNomMOQHED3vqYdspyXOT5uGP/U0Sr1v tbGxcLzoNxUUueyoFtQGY/mfaT9N5CMWnDYyG9GeFs+Zy4weA7Ou2wSDR7h+G9L8 IN92KR0fLA3/1M5Seoa9Z9AMJMKXo/ewBYX6ml+zr4Po5a7nSUa0mvZV+DNKah4/ N2224+8s5mJwJM/rr8Td5wVGXsGwU6MldzQuDnezGtvoleuRDVw3OkUPj5+MtmZ4 ATTlkhtb3iemjA3znnLLxVsB9R+gEtjTqgKhUonUkSeY7R1k6whtzcn8upfC8AdO 23dPz9xRSnDcDYoFtT7Vu6LfLIk2dOS70d3AtCpVomsQGKpqEEt97yVQATdaDfU7 RtNasDES =bZJA -----END PGP SIGNATURE----- --776382c2e1c0130c1fccd3705d66ebc875f4aa4d19da405c37b0435c64ed-- From unknown Thu Aug 14 18:32:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 08 Mar 2023 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator