Message ID | cover.1714508304.git.rodion.goritskov@gmail.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B77F327BBEA; Tue, 30 Apr 2024 21:22:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2763127BBE2 for <patchwork@mira.cbaines.net>; Tue, 30 Apr 2024 21:22:59 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1s1tzv-0007t8-JS; Tue, 30 Apr 2024 16:22:43 -0400 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 <Debian-debbugs@debbugs.gnu.org>) id 1s1tzt-0007sd-NO for guix-patches@gnu.org; Tue, 30 Apr 2024 16:22:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s1tzt-0005Ii-FG for guix-patches@gnu.org; Tue, 30 Apr 2024 16:22:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s1u0E-0008Si-2Z; Tue, 30 Apr 2024 16:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70684] [PATCH go-team 0/6] Update miniflux to 2.1.3 Resent-From: Rodion Goritskov <rodion.goritskov@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 30 Apr 2024 20:23:01 +0000 Resent-Message-ID: <handler.70684.B.171450852932505@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70684 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70684@debbugs.gnu.org Cc: Rodion Goritskov <rodion.goritskov@gmail.com>, cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.171450852932505 (code B ref -1); Tue, 30 Apr 2024 20:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2024 20:22:09 +0000 Received: from localhost ([127.0.0.1]:33083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1s1tzM-0008SD-Um for submit@debbugs.gnu.org; Tue, 30 Apr 2024 16:22:09 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rodion.goritskov@gmail.com>) id 1s1tzJ-0008Rq-7z for submit@debbugs.gnu.org; Tue, 30 Apr 2024 16:22:07 -0400 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 <rodion.goritskov@gmail.com>) id 1s1tys-0007iJ-Uj for guix-patches@gnu.org; Tue, 30 Apr 2024 16:21:38 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <rodion.goritskov@gmail.com>) id 1s1tyr-0005D5-3m for guix-patches@gnu.org; Tue, 30 Apr 2024 16:21:38 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-41c7ac73fddso20654225e9.3 for <guix-patches@gnu.org>; Tue, 30 Apr 2024 13:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714508495; x=1715113295; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lkdgXfLSqVphCTUxXqV68fe5lDAl7JonUWkspkAzl54=; b=fS1KjK/lpk3Uz88DhhwJGfqyHY5oD5RlrK/uaD8Mwyd+xiYv4ZzeXKjs5OmBxR+rHy Eg4uT0yJLgHLkufqAx+4t+iyLEAOBKWlw+89uE14uxHBnekzXmb9WFequKiTrwUY6+Qf l6bXSfCb/sJ1OEDtYVErQFmYQnZTUpDTGD+hFmNCndGY3Ja1e17mmVMNMXIEv94N/imu c/qq6S+30AqBwNdnK1BS6GBBzDXKma0VrKRmajliOKM4gx/MpZa0YIpEkMf/p9oIUCAw 6jT5oyefX5LSuajjbzeBt7IPbE79Ijr5nbB7sPbdPAsLneW3pNlUV6UKPulsNQdzEWH+ FCDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714508495; x=1715113295; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lkdgXfLSqVphCTUxXqV68fe5lDAl7JonUWkspkAzl54=; b=sIcEurw+wSr8b+sSWj4MvJdxg4DpFcGFG2MUsOhrZl8qwwziaI1zafTI28X2e0ynXC 1pQJMowgcEbIq1tMPLo1eo4eV9eTfzFrf7QvK5T+qte9ZYunr1d7Wk2Yc1JzHotMQFgS eqVq6F+k4SzdeHua+8TwmA8lGAT7Uywa0tTokqefX6gt1uD+g7Bf2v+6whscHYa6RDkv ftbXbMA3cBizJ/HRyVbD0HzkalhJ820oEfh5vV3t775cXsqmSSDndMQcNdAvY+mQGxyR nvSwW0ivfr3otLIkZ7URK3q88x/jsG1MuZQvLTdZxKRoARcjyXHUZIrbSXqaLAPsP9WI qP+A== X-Gm-Message-State: AOJu0Yw0DVGHC2uzZ84H1MhJ1spw3v17Fz2y1wJBPqqHyonJ0H0s/bNi aXnUKwyDS+KJiGkC47y1+EoTbeH9oAfMcLvE3kH786HnPwpGcJPXModlig== X-Google-Smtp-Source: AGHT+IFWG/vIaBo1h9aq8NUh7lSH/j9FBcfarRi2KxwgI3xkto/qQR0IWq1Tk8R6RZhyC06bFBnyIg== X-Received: by 2002:a05:600c:3d86:b0:41a:2c91:6352 with SMTP id bi6-20020a05600c3d8600b0041a2c916352mr414763wmb.36.1714508494660; Tue, 30 Apr 2024 13:21:34 -0700 (PDT) Received: from bumblebee-mighty.lan ([92.51.75.166]) by smtp.gmail.com with ESMTPSA id l2-20020a05600c4f0200b0041bf87e702asm171wmq.10.2024.04.30.13.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 13:21:34 -0700 (PDT) From: Rodion Goritskov <rodion.goritskov@gmail.com> Date: Wed, 1 May 2024 00:18:51 +0400 Message-ID: <cover.1714508304.git.rodion.goritskov@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=rodion.goritskov@gmail.com; helo=mail-wm1-x335.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Update miniflux to 2.1.3
|
|
Message
Rodion Goritskov
April 30, 2024, 8:18 p.m. UTC
This patch series updates Miniflux to version 2.1.3. It also makes necessary changes to dependencies: updates brotli library, as well as adds some new dependencies (hope I placed them in correct files) Rodion Goritskov (6): gnu: go-github-com-andybalholm-brotli: Update to 1.1.0. gnu: Add go-github-com-google-go-tpm. gnu: Add go-github-com-x448-float16. gnu: Add go-github-com-abadojack-whatlanggo and go-github-com-fxamacker-cbor-v2. gnu: Add go-github-com-go-webauthn. gnu: miniflux: Update to 2.1.3. gnu/packages/golang-compression.scm | 4 +- gnu/packages/golang-crypto.scm | 51 ++++++++++++ gnu/packages/golang-web.scm | 125 ++++++++++++++++++++++++++++ gnu/packages/golang-xyz.scm | 50 +++++++++++ gnu/packages/golang.scm | 25 ++++++ gnu/packages/web.scm | 97 ++++++++++----------- 6 files changed, 303 insertions(+), 49 deletions(-) base-commit: 8dab3df9529387ec1459d5483ac9664969c52e78
Comments
Hi! Thanks for the patches. After a quick review I've got some suggestions to process further in more details. In general the <#:import-path> is what we may see on go.mod after <module>. In general <#:unpack-path> is not required to build golang module. According to the <https://github.com/google/go-tpm/blob/v0.9.0/go.mod> these two packages may be packed as single one: <module github.com/google/go-tpm>. --8<---------------cut here---------------start------------->8--- +(define-public go-github-com-google-go-tpm-legacy-tpm2 +(define-public go-github-com-google-go-tpm-tpmutil --8<---------------cut here---------------end--------------->8--- These need to be presented as dedicated patches per each package. * [PATCH go-team 4/6] gnu: Add go-github-com-abadojack-whatlanggo and go-github-com-fxamacker-cbor-v2. * [PATCH go-team 5/6] gnu: Add go-github-com-go-webauthn. Fix import path according to go.mod <https://github.com/go-webauthn/x/blob/master/go.mod> <module github.com/go-webauthn/x> --8<---------------cut here---------------start------------->8--- +(define-public go-github-com-go-webauthn-x --8<---------------cut here---------------end--------------->8--- This is one go-module no need to split it into 3 packages, see go.mod <https://github.com/go-webauthn/webauthn/blob/v0.10.2/go.mod> <module github.com/go-webauthn/webauthn> --8<---------------cut here---------------start------------->8--- +(define-public go-github-com-go-webauthn-webauthn-protocol +(define-public go-github-com-go-webauthn-webauthn-metadata +(define-public go-github-com-go-webauthn-webauthn-webauthn --8<---------------cut here---------------end--------------->8--- * [PATCH go-team 6/6] gnu: miniflux: Update to 2.1.3. - fix indentation - try to build with go-1.21 (available in master) as go-team is not setup with CI yet and may block propagating to master - list all of modification in commit message or split each not related modification into patch Looking forward for the v2! -- Oleg
Hi, thank you for review! > In general the <#:import-path> is what we may see on go.mod after > <module>. In general <#:unpack-path> is not required to build golang > module. > > According to the <https://github.com/google/go-tpm/blob/v0.9.0/go.mod> > these two packages may be packed as single one: > <module github.com/google/go-tpm>. > > +(define-public go-github-com-google-go-tpm-legacy-tpm2 > +(define-public go-github-com-google-go-tpm-tpmutil I have a problem when trying to build these packages as one. When trying to build the single package (like this): (define go-github-com-google-go-tpm (package (name "go-github-com-google-go-tpm") (version "0.9.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/google/go-tpm") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1pv77fmlxrnxasj6fjvzrv9yaf2qb45x1zss3nbsdvzgpwviaiyi")))) (build-system go-build-system) (arguments (list #:go go-1.22 #:import-path "github.com/google/go-tpm")) (propagated-inputs (list go-golang-org-x-sys go-golang-org-x-crypto)) (home-page "https://github.com/google/go-tpm") (synopsis "Go-TPM library") (description "TPM 2.0 library for directly communicating with a TPM device.") (license license:asl2.0))) I get the following error on the "build" phase: command "go" "install" "-v" "-x" "-ldflags=-s -w" "-trimpath" "github.com/google/go-tpm" failed with status 1 Actually, it fails with the following go install error (found by running guix build with -K and running command manually in the build folder): package github.com/google/go-tpm: no Go files in /tmp/guix-build-go-github-com-google-go-tpm-0.9.0.drv-0/src/github.com/google/go-tpm This is true - there are no *.go files in the project's root. For this project to build succesfully, project directory for "go install" should end with /... (to build all subfolders recursively), like: "go" "install" "-v" "-x" "-ldflags=-s -w" "-trimpath" "github.com/google/go-tpm/..." So, for now I could remove the build (and check, because it has the same problem) phases from the build (easy, but, AFAIK, not the best fix). In this case we still have all the necessary sources, for dependent packages, but no checks. Or, maybe, we could add some kind of "recursive" flag to the go-build-system. In this case, as I see, it will lead to all go packages rebuild (even if it will not be enabled by default). What do you think? > This is one go-module no need to split it into 3 packages, see go.mod > <https://github.com/go-webauthn/webauthn/blob/v0.10.2/go.mod> > <module github.com/go-webauthn/webauthn> > > +(define-public go-github-com-go-webauthn-webauthn-protocol > +(define-public go-github-com-go-webauthn-webauthn-metadata > +(define-public go-github-com-go-webauthn-webauthn-webauthn For these package I have the same problem (no go files in the root folder).
Hi, Pushed as b913514169..819d33a18d to master with updating miniflux to the latest version and minor adjustment to new packages descriptions. -- Oleg