From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 17:57:09 2023 Received: (at submit) by debbugs.gnu.org; 3 Mar 2023 22:57:09 +0000 Received: from localhost ([127.0.0.1]:34127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYEKq-0000qp-RJ for submit@debbugs.gnu.org; Fri, 03 Mar 2023 17:57:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:49960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYEKo-0000qh-Aj for submit@debbugs.gnu.org; Fri, 03 Mar 2023 17:57:06 -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 1pYEKo-0000RR-1N for guix-patches@gnu.org; Fri, 03 Mar 2023 17:57:06 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYEKm-0006qu-3Y for guix-patches@gnu.org; Fri, 03 Mar 2023 17:57:05 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 78664780306; Fri, 3 Mar 2023 23:56:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884219; bh=HzV7uE/tD8AysjW3i87vOY46ui9D7oOKOoNIiCsBycc=; h=From:To:Cc:Subject:Date:From; b=OTuuH1o+53Tt1NSnUWvgS+va5TsqD54+AS3dSrJcYsi/N6dKNjxxD00G2LGfNpPyG x8j9lxDopT6T8QEY8TzIc4qD0saWdMVvFbQM5dxubZEX9Jv9cyaCnQc34gdoiHGEf1 R9prLxYc+rPLbxpY6XYIHBZprY3C1WwbpCNI6JQTTMoWQrO8v1gKSp/yvWCqkO0z0C 1S/H8SqnUh/YEcypQq9pIi3YJ7gZIbtVhjjk688ok+eeuGfG3ossFYDTAi9MrDmJRp NLLv5zl0z2rlfHdzohw/QBvvlYh1ybCxJ82R4L2hWiqXRTnvFaNgePPUIut5Aq6b9X O+yZGYnkNAbTw== From: Thomas Ieong To: guix-patches@gnu.org Subject: [PATCH 0/6] gnu: golang: Add minify Date: Fri, 3 Mar 2023 23:55:27 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.27.42.6; envelope-from=th.ieong@free.fr; helo=smtp6-g21.free.fr 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Thomas Ieong 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.6 (--) Hello there! This is a patch series to add the golang minify package, a golang dependency needed for sourcehut. Thomas Ieong (6): gnu: Add go-github-com-djherbis-atime. gnu: Add go-github-com-matryer-try. gnu: Add go-github-com-tdewolff-parse-v2. gnu: Add go-github-com-tdewolff-test. gnu: Add go-github-com-tdewolff-minify-v2. gnu: Add minify. gnu/packages/golang.scm | 143 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) base-commit: 73cb232442a50aa00104ad739db93f44df9de073 -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 18:03:36 2023 Received: (at 61946) by debbugs.gnu.org; 3 Mar 2023 23:03:36 +0000 Received: from localhost ([127.0.0.1]:34165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER6-00015Y-AF for submit@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:36 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:39594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER3-00015I-G5 for 61946@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:34 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id EA9FC7802D6; Sat, 4 Mar 2023 00:03:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884613; bh=EeosX/UNhKhkk7nYKtk61OJWZH+6EhLDuUHbaXZrWCg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZsubnmXo/bQwORya4KgdCv+rRtYXR/QHh7AoR9ocSro/sV7By6EvQoTLr2zQOBZ1E +BocDdClUwDbB2eOkFGiT0pxbiqxqT+mhZG5O9q2cZqkPaqlUUf7R9YVkgz4KqyElv 8+IvKUzWfgUKR6VvWiI3afigGV8dJ6LGTo3KfbSfLj25XUBEaamctYbBw3F+hpIXj0 1dgwhBchPzQ26FZuK/9ZF13VWRy5WhEbiVnVWDlQhSZ9OtgKo+eD42KuBWEUfqqdZt 7nFW6AtNudnoLZ88Qu2l0bTa1n8f2mgBS4v00LweQuf1xkaTXN9fMVuC9a2ywt3ul6 +wg40C2BL1kTw== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: [PATCH 1/6] gnu: Add go-github-com-djherbis-atime. Date: Sat, 4 Mar 2023 00:01:54 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: Thomas Ieong 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 (-) * gnu/packages/golang.scm (go-github-com-djherbis-atime): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 465e0fd4c7..e213ce6cb6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2022 ( ;;; Copyright © 2023 Hilton Chain ;;; Copyright © 2023 Timo Wilken +;;; Copyright © 2023 Thomas Ieong ;;; ;;; This file is part of GNU Guix. ;;; @@ -9614,6 +9615,28 @@ (define-public go-github-com-bep-golibsass "This package provides SCSS compiler support for Go applications.") (license license:expat))) +(define-public go-github-com-djherbis-atime + (package + (name "go-github-com-djherbis-atime") + (version "1.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/djherbis/atime") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xsz55zpihd9wyrj6qvm3miqzb6x3mnp5apzs0dx1byndhb8adpq")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/djherbis/atime")) + (home-page "https://github.com/djherbis/atime") + (synopsis "Access Times for files") + (description + "Package atime provides a platform-independent way to get atimes for files.") + (license license:expat))) + (define-public go-github-com-hashicorp-go-syslog (package (name "go-github-com-hashicorp-go-syslog") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 18:03:38 2023 Received: (at 61946) by debbugs.gnu.org; 3 Mar 2023 23:03:38 +0000 Received: from localhost ([127.0.0.1]:34167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER7-00015h-Nf for submit@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:38 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:39646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER5-00015R-HD for 61946@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:35 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 13C317802D7; Sat, 4 Mar 2023 00:03:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884615; bh=PJpmuQNE8ochPns/jV+Aa0kWcCa0+e/Sq+CGgU8AcLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kVrcAaBmXDO02RZtxSjDfvY7vhJUlZuZSujp3HWuJzDL5vCGOxXofUcPHcCGX5hpN 4kIjdvb9HcWyaqVyMJ2hfGh8j72qSFowkThCFOAYnXf5nPIsbG3CFXCG6z1Zi28C75 zUFThxdNKyUs1CxGAH9enUpUQm/QPUK4EXXu10miK60J6vZW5RhNZewd4zqiWoaCtH V2qOAdlh/o2KK9v8TBrEgoqYKHp9VqUPAX6I+Kl1XqNJ35rHboMK2KrSTPHC0A4f91 J6W/5t85ktVEyzdNnzhiiZ4lgbxTa4SYPt8eSBKx2wnvQeSmGiN+HFWD6fVBFZXoDY PmMcn0NNdvBVQ== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: [PATCH 2/6] gnu: Add go-github-com-matryer-try. Date: Sat, 4 Mar 2023 00:01:55 +0100 Message-Id: <18e0e057247ef14681c3131b52a83a16dac485dd.1677883649.git.th.ieong@free.fr> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: Thomas Ieong 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 (-) * gnu/packages/golang.scm (go-github-com-matryer-try): New variable. --- gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e213ce6cb6..1bd2a51d8d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9637,6 +9637,37 @@ (define-public go-github-com-djherbis-atime "Package atime provides a platform-independent way to get atimes for files.") (license license:expat))) +(define-public go-github-com-matryer-try + (package + (name "go-github-com-matryer-try") + (version "1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/matryer/try") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15f0m5ywihivnvwzcw0mh0sg27aky9rkywvxqszxka9q051qvsmy")))) + (build-system go-build-system) + (native-inputs (list go-github-com-cheekybits-is)) + (arguments + (list #:import-path "github.com/matryer/try" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda* (#:key import-path #:allow-other-keys) + (substitute* (string-append "src/" import-path + "/try_test.go") + (("var value string") + "") + (("value, err = SomeFunction\\(\\)") + "_, err = SomeFunction()"))))))) + (home-page "https://github.com/matryer/try") + (synopsis "Simple idiomatic retry package for Go") + (description "Package try provides retry functionality.") + (license license:expat))) + (define-public go-github-com-hashicorp-go-syslog (package (name "go-github-com-hashicorp-go-syslog") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 18:03:39 2023 Received: (at 61946) by debbugs.gnu.org; 3 Mar 2023 23:03:39 +0000 Received: from localhost ([127.0.0.1]:34170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER9-00015u-70 for submit@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:39 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:39726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER7-00015g-L1 for 61946@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:38 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 30A897802D6; Sat, 4 Mar 2023 00:03:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884617; bh=+ag5LbHnI3Su6h3Y79VqLq/UIw8T4GbvZuxV/OrJ05A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ipKsGgzBBYF6XT1hKJJ3vEkDnnuPjkqal7u/qmrRrrPYz66/gjsKBCe6DLZcXtfqG K6gdoJ489s8cfEAeckUmmRQqPnJpW2lJWr1112jBalgsJYxnPHDq5cKj4x/uQpYM23 wjtoX7V7Vk9L1+/ngyGSRSH4nETBetsDjtUD4KxtvaULreWdQC1iYSb8BFaqzFegtC nCUwnwyfNNf4G6doinL9sAGa0BGN5mqStlH29e0z+3kmblrsrteLabhhAXf3CJWsz0 w2Vd0Aadm5KwvOwAU6FM7xnO3mViNFeTKnvonrLul1w8zppBnK6lAqupJSXCzbmJQo MMRqbzOCAeQMA== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: [PATCH 3/6] gnu: Add go-github-com-tdewolff-parse-v2. Date: Sat, 4 Mar 2023 00:01:56 +0100 Message-Id: <27da1dcb05ba4189960ec4d190c803c4e65b1277.1677883649.git.th.ieong@free.fr> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: Thomas Ieong 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 (-) * gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1bd2a51d8d..a331331546 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9668,6 +9668,30 @@ (define-public go-github-com-matryer-try (description "Package try provides retry functionality.") (license license:expat))) +(define-public go-github-com-tdewolff-parse-v2 + (package + (name "go-github-com-tdewolff-parse-v2") + (version "2.6.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tdewolff/parse") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wmyylml2b1fy735qfpwavjnhfn2ihjgna2yab433mg1ikgl6wxl")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/tdewolff/parse/v2")) + (propagated-inputs `(("go-github-com-tdewolff-test" ,go-github-com-tdewolff-test))) + (home-page "https://github.com/tdewolff/parse") + (synopsis "Go parsers for web formats") + (description + "Package parse contains a collection of parsers for various formats in its +subpackages.") + (license license:expat))) + (define-public go-github-com-hashicorp-go-syslog (package (name "go-github-com-hashicorp-go-syslog") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 18:03:41 2023 Received: (at 61946) by debbugs.gnu.org; 3 Mar 2023 23:03:42 +0000 Received: from localhost ([127.0.0.1]:34173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYERB-00016A-J0 for submit@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:41 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:39792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYER9-00015w-P4 for 61946@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:40 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 4C4047802D6; Sat, 4 Mar 2023 00:03:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884619; bh=pFZvhcQfApiZeddmIefnS/b9OKIZp3QPa0n/oC2d6n0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jZnTZoRBaj10t263cjoVLbypvQUpJyJFm0piQkeym/5/thxxalsdCp4o8mGMrR5jo UwtDvEL2wWL9ioKWAELggU09G+EU3Uco0PbvGB+bil1Oh7Nj+6axvKDzoKm7YC9Q7r tsMk37VD9i7puakEYj/DorgT42G0p5cFPgcA8cJ+4G8uU0+G22QBL2mh0qorsceZIq nWa1HIddlyWeVOMTfYlc2yzYmcxnTdfxIVBgSJsVZls0vkqWVARRvN8YP9X0yBGi16 NOTF48QzH9zA5x21PEQ0kQBZOXTrCrX3tLbfJ8oUk0eHnkT/Y1oqzeyVq8pmfLOo1G ZuFva7a9V+Snw== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: [PATCH 4/6] gnu: Add go-github-com-tdewolff-test. Date: Sat, 4 Mar 2023 00:01:57 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: Thomas Ieong 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 (-) * gnu/packages/golang.scm (go-github-com-tdewolff-test): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a331331546..c4426d2a4f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9692,6 +9692,30 @@ (define-public go-github-com-tdewolff-parse-v2 subpackages.") (license license:expat))) +(define-public go-github-com-tdewolff-test + (package + (name "go-github-com-tdewolff-test") + (version "1.0.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tdewolff/test") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0k1yk2y2mryps0klsbcdxvn7acaxqxkl9mdi2cm6zgl29n3l5gi0")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/tdewolff/test")) + (home-page "https://github.com/tdewolff/test") + (synopsis "Go test helper functions") + (description + "Test is a helper package written in @@url{http://golang.org/,Go}. It implements +a few functions that are useful for io testing, such as readers and writers that +fail after N consecutive reads/writes.") + (license license:expat))) + (define-public go-github-com-hashicorp-go-syslog (package (name "go-github-com-hashicorp-go-syslog") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 18:03:44 2023 Received: (at 61946) by debbugs.gnu.org; 3 Mar 2023 23:03:44 +0000 Received: from localhost ([127.0.0.1]:34176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYERD-00016Q-Up for submit@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:44 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:39852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYERB-00016B-Sm for 61946@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:42 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 6A90C7802D7; Sat, 4 Mar 2023 00:03:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884621; bh=tQ4JAwKhVmw1t+Ukn4H5D1HySjjKDNXEVEzQ09XPuRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vGEH9hUf/K7m+dxvdd3PZ8IxOOyUx63G+K/MKVMKkV++fG5oQ9IJTfpiTa1Hftx7f EcEncyn0WBN6gpd3Ec+0jiMJA76BzXH7FDAjkxKxH6ddUo4tsIRJnrMh9vCl+yQvFq 0x5JRP9cmzpkQ6ZaElQvddfFtgBBd7U//Vuxzco115hOy2p2xlORmQAqdgvPMz+CI4 TF+i2ghTRxoIQp639QjYrtK7+hHu8OoII2aEckCeFL97JiDNck3PdeVG0gvUXzqBUH zPTIjebzPe8sj/r5rJszFYjCrFOhg4/xuQB9pXMX5/C5dt/Xm6iMM4xrzNbajjIbMn V9+mz1x9NM4Kg== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: [PATCH 5/6] gnu: Add go-github-com-tdewolff-minify-v2. Date: Sat, 4 Mar 2023 00:01:58 +0100 Message-Id: <3b1c104b18eb5144de2ad545ddc28557e802198b.1677883649.git.th.ieong@free.fr> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: Thomas Ieong 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 (-) * gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): New variable. --- gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c4426d2a4f..de5c0847f6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9716,6 +9716,37 @@ (define-public go-github-com-tdewolff-test fail after N consecutive reads/writes.") (license license:expat))) +(define-public go-github-com-tdewolff-minify-v2 + (package + (name "go-github-com-tdewolff-minify-v2") + (version "2.12.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tdewolff/minify") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bbygm8x68xxgqgjzqfwak06212lalsz4aq4dg9z5yjq1c3hp3ji")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/tdewolff/minify/v2")) + (propagated-inputs (list go-github-com-tdewolff-test + go-github-com-tdewolff-parse-v2 + go-github-com-spf13-pflag + go-github-com-matryer-try + go-github-com-fsnotify-fsnotify + go-github-com-dustin-go-humanize + go-github-com-djherbis-atime + go-github-com-cheekybits-is)) + (home-page "https://github.com/tdewolff/minify") + (synopsis "Go minifiers for web formats") + (description + "Package minify relates MIME type to minifiers. Several minifiers are provided +in the subpackages.") + (license license:expat))) + (define-public go-github-com-hashicorp-go-syslog (package (name "go-github-com-hashicorp-go-syslog") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 18:03:45 2023 Received: (at 61946) by debbugs.gnu.org; 3 Mar 2023 23:03:45 +0000 Received: from localhost ([127.0.0.1]:34179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYERF-00016j-BI for submit@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:45 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:39958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYERE-00016P-0G for 61946@debbugs.gnu.org; Fri, 03 Mar 2023 18:03:44 -0500 Received: from localhost.localdomain (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 87BB07802D7; Sat, 4 Mar 2023 00:03:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677884623; bh=2McALfSJwI3sRPB8oShkpZsYk+P2oq5GIxAPrz3OCWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xvd2Juczd0IsqPHVGFhLPx24Cxp7vFUky5jaQ4U7MQ+Yohh4g5vLGK5QQ4RHzutwq L6aVsO0xufY2VjlgBfYjNZawunmisDnrhs1wVjcu+MoQxca02UpdNOhcDUzdY+x1vS Nhk/YepUtjDUNqpPTi35MfAuFW7m2Tma9N787fI5ioytvC2AdqYxTxurj2Xc5eHUef IdlnrFOjf1lMtu9a+o5OHL4FtxacYhn7wjVPO57SpkqYCOBPjF/eyl+qe/aO623WEw Cl1kX8+IFih7Rf3Mi+/56qNdsUaN4RQtLr9BpVLttQzRWfF3PcbOk6HzD6EQ4gNwKv J6WOA1v+gP+pQ== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: [PATCH 6/6] gnu: Add minify. Date: Sat, 4 Mar 2023 00:01:59 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: Thomas Ieong 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 (-) * gnu/packages/golang.scm (minify): New variable. --- gnu/packages/golang.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index de5c0847f6..85c3d4e893 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9747,6 +9747,16 @@ (define-public go-github-com-tdewolff-minify-v2 in the subpackages.") (license license:expat))) +(define-public minify + (package + (inherit go-github-com-tdewolff-minify-v2) + (name "minify") + (arguments + `(#:import-path "github.com/tdewolff/minify/cmd/minify" + #:unpack-path "github.com/tdewolff/minify" + #:install-source? #f)))) + + (define-public go-github-com-hashicorp-go-syslog (package (name "go-github-com-hashicorp-go-syslog") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 04 16:31:45 2023 Received: (at 61946) by debbugs.gnu.org; 4 Mar 2023 21:31:46 +0000 Received: from localhost ([127.0.0.1]:37915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYZTl-0005XF-Mu for submit@debbugs.gnu.org; Sat, 04 Mar 2023 16:31:45 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:37028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYZTj-0005X5-E9 for 61946@debbugs.gnu.org; Sat, 04 Mar 2023 16:31:44 -0500 Received: from linux (unknown [91.169.131.141]) (Authenticated sender: th.ieong@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id E9B9D7802E5 for <61946@debbugs.gnu.org>; Sat, 4 Mar 2023 22:31:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677965502; bh=gd2Ler7xQwggBVkPusUU/9o9pAW1eOb+nv3bj6Q5oqQ=; h=From:To:Subject:Date:From; b=sUOwc1cHJAo0pnxFDd4p0SCPiipFP6dXlKFeW834jzQmUtFiAeCSg5RqjIABRUr3F zGECGIcU/ZjF7fKZTxZXDvz3IXgm37NOtJ+W9dIZcPM6HdL45lGpPOL8f+c+DVsj2k 4r6yX7VNR0xVtDsW4qJMYSucIaWetI0wU7sCtTrgrAawe0Eyhi2d036ZxwbQ/l5FmV WPr+mg9c+i06I2fu7YlHKu9n/amFkKorjPhl/BYff35DhZjcPunO0aZdoPMx6ombey bd2teJh6sEKDH/hVHt3Qd/d52rWfDT1TINcOIoY85fZQJI0XO+YQgYq9JwZnzcdIoy 3jl+/ARgsWpcQ== From: Thomas Ieong To: 61946@debbugs.gnu.org Subject: Go generated files Date: Sat, 04 Mar 2023 22:30:19 +0100 Message-ID: <87mt4sjjbo.fsf@free.fr> 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: 61946 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 (-) Hi, I forgot to check for generated files in the go packages. I did just that and there is indeed one file hash.go that is generated in the parse and minify package. Taking care of this and resending later. -- Thomas Ieong From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 10 08:12:37 2023 Received: (at 61946) by debbugs.gnu.org; 10 Aug 2023 12:12:37 +0000 Received: from localhost ([127.0.0.1]:41606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU4Wr-0007ui-EL for submit@debbugs.gnu.org; Thu, 10 Aug 2023 08:12:37 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:45052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU4Wo-0007uY-8T for 61946@debbugs.gnu.org; Thu, 10 Aug 2023 08:12:36 -0400 Date: Thu, 10 Aug 2023 20:12:17 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691669547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Hso1n7NRV3hwbpLRJFZuEL7XT5uqiAa8Os7tm5oKUSk=; b=kjc3ZUj9UQKDXG4dgjXalM+KeavU3UXCTVeR7u3+Koh1tdqxqS/Gnc/Yh5nJyOgDxC8uhZ GJvZGQGCkhsYD3YwTw4tG1Uy2gZc1RBEsNVCh/QzKfZ4ZP6O8+HkHCjE5QHcgLyD4tI/IQ WseeKrxURL/PIC2VFm+i6mrvgn5lVKQG9bdARvc45lsV5WTdjXJ2UkYqawKVpscoF//qj/ OY7tIVYKk0HOaCLRhjPXUuCnnicoHZEV/RWAKcR8rLGPI0wlKyvF3km21MXf+AtT1qzQ4g CsLdEzG6sapXpQecZYjhKLtYN86irr+CYIv4ddfscLTta+W5dTGGx4vDGfE49w== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Message-ID: <87r0objdum.wl-hako@ultrarare.space> From: Hilton Chain To: Thomas Ieong Subject: Re: [bug#61946] Go generated files In-Reply-To: <87mt4sjjbo.fsf@free.fr> References: <87mt4sjjbo.fsf@free.fr>, MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: 61946@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: -1.0 (-) Hi Thomas, > I forgot to check for generated files in the go packages. > I did just that and there is indeed one file hash.go that is generated > in the parse and minify package. > > Taking care of this and resending later. go-github-com-tdewolff-minify-v2 has been available in Guix for a while (but not the minify command and its dependency). I have sent a patchset [1] to generate hash.go at build time. Can you update the series to base on it and current Guix? And I think dependencies not added to go-github-com-tdewolff-minify-v2 are only required by minify command, so there's no need to touch definition of the former, inherit and modify is sufficient. What do you think? Thanks [1]: From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 30 18:17:51 2024 Received: (at 61946-done) by debbugs.gnu.org; 30 Jan 2024 23:17:51 +0000 Received: from localhost ([127.0.0.1]:37089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUxMU-0000Xz-O1 for submit@debbugs.gnu.org; Tue, 30 Jan 2024 18:17:51 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:61815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUxMT-0000Xl-3Y for 61946-done@debbugs.gnu.org; Tue, 30 Jan 2024 18:17:49 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-33ae74e5394so1717231f8f.3 for <61946-done@debbugs.gnu.org>; Tue, 30 Jan 2024 15:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706656653; x=1707261453; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=I+N/+9l24oD6h1PBgYfvLxBmLjPOWGvQ9Y9DqmAZNfs=; b=fMnu8NCz6RQyjF6J1kOsTvJ8aUA/yU1pm0bWqvVWxnBmTkgdqhcPQtz4LLhHhh88w0 SEjJB/3Ptf5QBpl0CnWk0iM76etXo/idcJRg1Sp0Ws9cWOQOhdLEz1dJ9aIbGRmdhKV4 3hiLn/dZeKZOZfh6lowyfHJ869caEbhTyKq2QLoZ8A0g3WwbEnE8UvEOSAd2YyogaR80 QM6ewe0Qr4zTnCjQBaxoZRNt4lNJTRvBtVbC6Xch+2NR2HqQ+E/IIIACsykyY9xyQC2a 6aZQynPQMDpTKUbpcubKQBqHjF9MCwk3COLcRqd+QhN1vkGpUjzb55dZA6qRNyUMCbjR YZ+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706656653; x=1707261453; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I+N/+9l24oD6h1PBgYfvLxBmLjPOWGvQ9Y9DqmAZNfs=; b=Prku3rBEbv/RLZLQ4ofFFkepA5/6uFUTcH24kGirzMPQ/qGlhoMLDAD+2unXfNp5QA d+H8tnfaMT2582srwR52Ec/iJGEzwvFOdY9EUln9k/bu2qlqV63Rn+5rtjWzpMMhG2ov alwTrZSrnWNLnEvo9JM/eqfOYicHtWhN3LbU/UG2AbGmmm3TtymuWRQpBgML61h6dfvN NfDFl+16Y1qg6FI5oYBA+O4jQax7SuCmQe27d9+OB32+fBmeZuRkBD87PgaZnwZhQGCX 84BbVzmFA897li8QrnDB51gmEv7EAZSTXZ5SBBekmyP3+jEiRgeUoQZW8xvpcifONDPw lHEw== X-Gm-Message-State: AOJu0YzqMe3sKNQCT+N3MJkNN86hN3e9M3NB5bDj1u4S5tMFM+A6g8XY xSUw5sDPpYFr6+NeN+74cvyjEKgYhHaiLHdiVnVWg8i21+mCsimc X-Google-Smtp-Source: AGHT+IEPgQSdXOFDea9O4yZXzNMpH4QE/6UVk+GStHJqi+hD7rPUF2NfaoQN7wZwl6/WEuCVxfWfGA== X-Received: by 2002:a5d:6646:0:b0:33a:d2d4:959 with SMTP id f6-20020a5d6646000000b0033ad2d40959mr7740508wrw.11.1706656653233; Tue, 30 Jan 2024 15:17:33 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX7Fo4Hm/gs7X/WufYWIsPrNdADqojeoJLnVaZrJ8YOTLtbz7bm8dAWumkjMEK6JOPUQWTJ9srPA3etk8GciWqgB+E= Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id m12-20020a056000008c00b0033af85fdf81sm3154171wrx.99.2024.01.30.15.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:17:32 -0800 (PST) From: Sharlatan Hellseher To: 61946-done@debbugs.gnu.org Subject: [PATCH 0/6] gnu: golang: Add minify Date: Tue, 30 Jan 2024 23:17:29 +0000 Message-ID: <87v87as96e.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61946-done Cc: Ricardo Wurmus , Maxim Cournoyer 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Thomas and Hilton, I've tried to resolved all highlights which Hilton pointed out and from some investigation I've left with 3 pushed patches. =2D present [3/3] - [X] go-github-com-tdewolff-parse-v2 - [X] go-github-com-tdewolff-test - [X] go-github-com-tdewolff-minify-v2 =2D added to golang-xyz.scm [2/2] - [X] go-github-com-djherbis-atime - [X] go-github-com-matryer-try And the minify looks like this with inherit and modification: =2D-8<---------------cut here---------------start------------->8--- (define-public minify (package (inherit go-github-com-tdewolff-minify-v2) (name "minify") (arguments (substitute-keyword-arguments (package-arguments go-github-com-tdewolff-minify-v2) ((#:install-source? _ #t) #f) ((#:import-path _ "github.com/tdewolff/minify/v2") "github.com/tdewolff/minify/cmd/minify"))) (inputs (list go-github-com-djherbis-atime go-github-com-dustin-go-humanize go-github-com-fsnotify-fsnotify go-github-com-matryer-try go-github-com-spf13-pflag)))) =2D-8<---------------cut here---------------end--------------->8--- Maxim or Ricardo,=20 Pinging you here as following, I've built it few times locally and everything passed just fine, for some reason CI feel bad. https://ci.guix.gnu.org/eval/1086875 Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmW5g4kACgkQdtcnv/Ys 0rXydg//WNpQNkb0dpzUN6mgcCY2YWYRaV2SPbWlKFkfZR3AnJPsfLYTZt25JUtd ewwe0xVF8FLNwZazcUONmvUWUlHzk6p+Uk3T/p0P2FXYRnkh57CkPuTX+QHXz+8G +StXuC1s5ZQJc9Oxov8PiYJG6920E9GyoDYQnBHtTRj2Ev4mZVw7hEZMQvb/czpY kzfaXROVwYvF46DDZ7d4JxU9eLtemHhb6wf7oHR6BrQ9vOeGoHThzNzMivqK7tU1 3+a614m5BHrbYI8Z2f8dy0vRm6lOWUUDMwK543j1uNKeJSl8Wbo7knA9mXxIXk5l WVjn6iVR8mUpB4mBW/cs5hnAw/AGsrirkaizFUiDkgFNJ/yTmZ+wXeGeUmnEy9Q6 Tf18P8AU4oj8pkzMVn9Pgiw77+M0L2KMTxwFIePpWTNFbYtqq+7+0DGdav9dVaMe GgDShNGhTs16Diw2NCd3EMcC48/DDwRmBrq2aKM/8ngZbAvkVVr426yw+NeTJjaZ 64ABn4TfwD7cAY0MiJ6Bdskq/FwbUeQqpQ4kWs2zxMhaZtvWxFIleOP1+cZnnm/b Q37wmLJ8AKYNpvwHgtQ890gqsF+SleBvTdzBFMDV/IPeCcosKqX/m2lGNZ8/w5Nm x3b0ZROuv3ol8gZ+ZrJdtMhit7pPgmp/7J5lnmV58GLqwV9eYCU= =zduw -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 22:11:07 2024 Received: (at 61946) by debbugs.gnu.org; 1 Feb 2024 03:11:07 +0000 Received: from localhost ([127.0.0.1]:39409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVNTn-00084L-Av for submit@debbugs.gnu.org; Wed, 31 Jan 2024 22:11:07 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:37966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVNTl-00084B-7z for 61946@debbugs.gnu.org; Wed, 31 Jan 2024 22:11:06 -0500 Date: Thu, 01 Feb 2024 11:10:39 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1706757004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=egFq0nGDgFntLbHqEZ4CvONkPjyuJIi1k926UHHMWIY=; b=diwbOONt37p0aGhDa7KwrYDT/8Z6weZ0SMqBJ+7OZIIM0ptiLXM05TUvaPeDAylstBcH4G qL9BhpK9yt0ZndHsL5cSCmh8CbEOE/wgs//oUdxOiRXuLnDTd87IhQD9YNQ7aK9xQMKOPt T2B58AmEMSt9aRWBFPuUqTTJgLfL1kgJgEvs8uuIg2gTXKSkAGANRHl4XwHnFWJFldyzyB McmEpdQylY+5NckYKcnuhy8neHwXwi7PHqah3XcNkpqYCQpy978ufuyKCdEndVTKW3yb4k iEfZM0atdgK7FUj8fzd742SXVAo2Z/zW6ddJRGsoZ4Uw+IkuFahXKps46VUAGQ== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Message-ID: <87plxg5174.wl-hako@ultrarare.space> From: Hilton Chain To: Sharlatan Hellseher Subject: Re: bug#61946: [PATCH 0/6] gnu: golang: Add minify In-Reply-To: <87v87as96e.fsf@gmail.com> References: <87v87as96e.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61946 Cc: 61946@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: -1.0 (-) Hi Sharlatan, On Wed, 31 Jan 2024 07:17:29 +0800, Sharlatan Hellseher wrote: > > [1 ] > > Hi Thomas and Hilton, > > I've tried to resolved all highlights which Hilton pointed out and from > some investigation I've left with 3 pushed patches. > > - present [3/3] > - [X] go-github-com-tdewolff-parse-v2 > - [X] go-github-com-tdewolff-test > - [X] go-github-com-tdewolff-minify-v2 > > - added to golang-xyz.scm [2/2] > - [X] go-github-com-djherbis-atime > - [X] go-github-com-matryer-try > > And the minify looks like this with inherit and modification: > > --8<---------------cut here---------------start------------->8--- > (define-public minify > (package > (inherit go-github-com-tdewolff-minify-v2) > (name "minify") > (arguments > (substitute-keyword-arguments > (package-arguments go-github-com-tdewolff-minify-v2) > ((#:install-source? _ #t) #f) > ((#:import-path _ "github.com/tdewolff/minify/v2") > "github.com/tdewolff/minify/cmd/minify"))) I think there's no need to supply a default value to #:import-path since all Go packages should have it in their arguments list. > (inputs > (list go-github-com-djherbis-atime > go-github-com-dustin-go-humanize > go-github-com-fsnotify-fsnotify > go-github-com-matryer-try > go-github-com-spf13-pflag)))) > --8<---------------cut here---------------end--------------->8--- And we can avoid the inherited propagated-inputs. I have adjusted the definition to the following, does this look good to you? --8<---------------cut here---------------start------------->8--- (define-public minify (let ((base go-github-com-tdewolff-minify-v2)) (package (inherit base) (name "minify") (arguments (substitute-keyword-arguments (package-arguments base) ((#:install-source? _ #t) #f) ((#:import-path _) "github.com/tdewolff/minify/cmd/minify"))) (inputs (modify-inputs (package-propagated-inputs base) (prepend go-github-com-djherbis-atime go-github-com-dustin-go-humanize go-github-com-fsnotify-fsnotify go-github-com-matryer-try go-github-com-spf13-pflag))) (propagated-inputs '())))) --8<---------------cut here---------------end--------------->8--- Thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 01 15:55:17 2024 Received: (at 61946-done) by debbugs.gnu.org; 1 Feb 2024 20:55:17 +0000 Received: from localhost ([127.0.0.1]:43218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVe5c-0002vV-Lj for submit@debbugs.gnu.org; Thu, 01 Feb 2024 15:55:17 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:45370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVe5W-0002v6-GL for 61946-done@debbugs.gnu.org; Thu, 01 Feb 2024 15:55:14 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-339289fead2so872469f8f.3 for <61946-done@debbugs.gnu.org>; Thu, 01 Feb 2024 12:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706820894; x=1707425694; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=GI6AKXJPYmjMufemrn0ceAI1WfY2LEp/qgU+YpfU1oQ=; b=jjMP1YNYWmu++QtQx6pXcW6skQu05IowYIEtSIweK+6ZQOWXZZzAvWD1fg7rxWHDBM gEGjZFauAj4WUqAOwKEAxJGAJC38FNMQ2dr4FwbKWjOSzRx1U0RQqm4G/y7i/luXMaMt r0SoQW7xpGshR+PyTC3Cl/09LFQz0AtwDUIqjIbHG+nrcbi5zawnsnZt4ZlXv13DKmXx SypHFy80ASA9Z2HqUTWG/FQRErpFeTPikFSdevt+E/zEjify04oahnjNXHX+VfFKFB02 P3UtNm6x8/jrG9MF9aPsJf7YSKvsH2+rLKMSe7gre1kysvfch4vgj2uwoIoj7YBgUAqx 5N5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706820894; x=1707425694; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GI6AKXJPYmjMufemrn0ceAI1WfY2LEp/qgU+YpfU1oQ=; b=hZs1C1V5vxEqIhPivF3tses/XEjCUS1bz5OarJ+gkrZIOQRxM2nqBZAuxGgZFlEGOa vr4h9V/oZQwYpNPgfSgHX9c1NENeICagW4uxOYZtZSW21lb2iibIMnT08GFH+PXMVuB6 i4v/kOck3MGokvfgcmU0+lnItUIFHqnP7BpV58jcHykbTcdZXCkGhjVoAdnabHIZLqpU wNO+aHgslOQRiQQGBdlK1b2N1VkITcz6vbh1TD49xB92L4w6muczYXOsZIkHo3WIoSV1 3wWfoz603AZbyoEC9CIq2XRFK2hXnI6Clux83WGEVO4Awr//MJwpPV8Do7dNUxkb4GmU OYqg== X-Gm-Message-State: AOJu0YxHJNSDFc/gwxdZOuPN3AZlW7SJsjDZrT00WoxfT1Dcbwq6FPyW 3uaPoyfV5Ye9nhqSgmLCITMrMJOjpTuQG4821n96J0W9uX864Tzz X-Google-Smtp-Source: AGHT+IGtrBTNSsxNtD+dS32RfyQnx7mjYW0SYGnJjCibNlvuDE/mjpf/ThigE7cPfBv7lzzyCLaV2w== X-Received: by 2002:a5d:55c4:0:b0:33b:1b4a:9971 with SMTP id i4-20020a5d55c4000000b0033b1b4a9971mr903436wrw.36.1706820894013; Thu, 01 Feb 2024 12:54:54 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id o6-20020a5d6486000000b0033b0992c364sm309985wri.14.2024.02.01.12.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 12:54:53 -0800 (PST) From: Sharlatan Hellseher To: 61946-done@debbugs.gnu.org Subject: [PATCH 0/6] gnu: golang: Add minify Date: Thu, 01 Feb 2024 20:54:52 +0000 Message-ID: <87h6irsy5f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61946-done Cc: hako@ultrarare.space 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 (-) --=-=-= Content-Type: text/plain Hi Hilton, Base on suggestions from I've moved minifry into golang-web and renamed the package with manner proposed in . I image there would be a large verity of packages with name 'minify' in the future :-). There is alsoy Python binding we may pack as well Pushed to go-minify as df65af45b5f2cc76ce813ca91fab9054fd807bba to master. Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmW8BRwACgkQdtcnv/Ys 0rVl0A//SMvkjGWP4VtxSfTqZ6tmAN7BvroEd4UYRLft9oSk9PgVgbZjSWjva4QO FmQga5zcqiYnfJlhv6+YdQeNeqDJh5IEtKPbTZhAWXS3zkVSpvhbm5jXwv5QCNDX ndDSECMotsLlavurPLMWivGf2EsipInClyLpoLWmL9ZnEmnACQoRe/zKTb9GpPIf 9pjc6c8XkZgP2BQacotFKvN8ik+IbVEFEh4rQWiu1n3aIBgB07n5e1x8Jd55H8cH ZfJXan5XE7t4XYkmkrxvVZ1R6V25b/DN+dy91lvE5E9+y621POkO9dS7xQQE3WE5 Q2O5HuN3AXK1F1XvPgxMU6WdVfpQ5hZXgSvooyq2upf07O7c49gbugRaEaPZApxt rViu5x/0kGZ778tbGUN6yFNDZu8MACUNdhBbUUuVacZBPskV/8JqaEx2CKOKHkGs qJrxhwkTajuAelVYTsGTPABlxwGyVaZXBE2UJXlIMOftqmXhirVGYyw9xrZlGwVg 8Qw7H1SxXYsmJQ8QpoKnvZMTtpujign6Zkk+Vai4B6hta+1Fm82VHon+BrP/Z/uI peqJzEg0DfJ5mdalf4ofHiG4rceEdgmTM02DayfhX2RPzD8usQQ84j5bPdCA9pw6 PM/9DVRcn4xB09c1FTPPibc6fib+UpMVD11/79BqPM7H8NbawBw= =vJIh -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 24 01:39:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 01 Mar 2024 12:24:07 +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