From patchwork Mon Nov 22 21:13:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 34761 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 21F4627BBE1; Mon, 22 Nov 2021 21:14:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7F54E27BBE3 for ; Mon, 22 Nov 2021 21:14:11 +0000 (GMT) Received: from localhost ([::1]:56052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpGde-0006vC-JU for patchwork@mira.cbaines.net; Mon, 22 Nov 2021 16:14:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGdX-0006uZ-BV for guix-patches@gnu.org; Mon, 22 Nov 2021 16:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpGdX-0003X9-32 for guix-patches@gnu.org; Mon, 22 Nov 2021 16:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpGdW-0002eO-VC for guix-patches@gnu.org; Mon, 22 Nov 2021 16:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51565] PATCH: Update Yggdrasil to new protocol (important breaking changes) Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Nov 2021 21:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: pukkamustard Cc: 51565@debbugs.gnu.org X-Debbugs-Original-Cc: 51565@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 51565-submit@debbugs.gnu.org id=B51565.163761562010139 (code B ref 51565); Mon, 22 Nov 2021 21:14:02 +0000 Received: (at 51565) by debbugs.gnu.org; 22 Nov 2021 21:13:40 +0000 Received: from localhost ([127.0.0.1]:49268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpGd6-0002dL-J3 for submit@debbugs.gnu.org; Mon, 22 Nov 2021 16:13:39 -0500 Received: from mx1.riseup.net ([198.252.153.129]:47524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpGcv-0002cl-Cp for 51565@debbugs.gnu.org; Mon, 22 Nov 2021 16:13:29 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Hyg3g3ZjgzDrkv; Mon, 22 Nov 2021 13:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1637615599; bh=/+1z+i7hOqouIHnCUyTYmWvwZy0qlayVRKPK3zofnVM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XbWT87AojnlY64wTa7UUimrUNV+ge7/7paDrV6GtcISYPlyTpKo+QWhqN6jLJpqXV x8t1SwCJ8d3Prgd5TrHzl0HwbtRUBaHlE2Ag87MjJrHjrw+Bf+aKW/XKKXy3bvAPT+ fWE7TheeTHHamDpXIgNkxrZ5pVYKF+m1inJH7P38= X-Riseup-User-ID: 24970C08E44C81826FBB300124FCD8AEB352670681D9CF6863447A1F5D0081B1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Hyg3f2S4Fz5vkM; Mon, 22 Nov 2021 13:13:18 -0800 (PST) Date: Mon, 22 Nov 2021 22:13:08 +0100 From: raingloom Message-ID: <20211122221308.685c9f11@riseup.net> In-Reply-To: <86wnl9lcj3.fsf@posteo.net> References: <20211102065917.082a2e55@riseup.net> <86wnl9lcj3.fsf@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches On Mon, 15 Nov 2021 14:10:46 +0000 pukkamustard wrote: > Thanks for this! > > Some minor changes may be needed to make the linter happy: > > raingloom writes: > > [..] > > > [3. text/x-patch; 0002-gnu-Add-go-github-com-rivo-uniseg.patch]... > > Linter complains that a line is too long: > > gnu/packages/golang.scm:8885:0: go-github-com-rivo-uniseg@0.2.0: line > 8885 is way too long (93 characters) > > > > > [4. text/x-patch; > > 0003-gnu-Add-go-github-com-mattn-go-runewidth.patch]... > > Linter complains about the synopsis. Maybe: "Go functions for getting > fixed width of characters or strings"? > > Does seem like a bit of a duplication of the description... > > > [5. text/x-patch; > > 0004-gnu-go-github-com-cheggaaa-pb-Update-to-3.0.8.patch]... > > > > [6. text/x-patch; > > 0005-gnu-Rename-go-github-com-cheggaaa-pb-to-go-github-co.patch]... > > > > [7. text/x-patch; > > 0006-gnu-Add-go-github-com-arceliar-ironwood.patch]... > > Lines in descriptions are too long and should be wrapped. > > A synopsis is required. Maybe: "Ironwood is a Go network routing > library using cryptographic keys as addresses"? Heck, I think I meant to run the linter but it was getting late and I just wanted to be done with the patch. Well, here is an updated patch list. From c11a2cf43ddd6108b57c24ef9669655b677ce276 Mon Sep 17 00:00:00 2001 From: raingloom Date: Tue, 2 Nov 2021 06:36:37 +0000 Subject: [PATCH 1/8] gnu: Add go-github-com-vividcortex-ewma. * gnu/packages/golang.scm (go-github-com-vividcortex-ewma): New variable. --- gnu/packages/golang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cc2a4ebc16..84e7387408 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8839,3 +8839,24 @@ (define-public go-gopkg-in-djherbis-times-v1 (description "Provides a platform-independent way to get atime, mtime, ctime and btime for files.") (license license:expat))) + +(define-public go-github-com-vividcortex-ewma + (package + (name "go-github-com-vividcortex-ewma") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/VividCortex/ewma") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0whx516l9nm4n41spagb605ry7kfnz1qha96mcshnfjlahhnnylq")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/VividCortex/ewma")) + (home-page "https://github.com/VividCortex/ewma") + (synopsis "EWMA") + (description + "Package ewma implements exponentially weighted moving averages.") + (license license:expat))) -- 2.33.1