From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6De/OWEurmIirwAAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 21:58:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aJaQOWEurmIclAAAauVa8A (envelope-from ) for ; Sat, 18 Jun 2022 21:58:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 925E1109EC for ; Sat, 18 Jun 2022 21:58:25 +0200 (CEST) Received: from localhost ([::1]:34796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2eaO-0001MC-Pg for larch@yhetil.org; Sat, 18 Jun 2022 15:58:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2ea3-0001KX-Ds for guix-patches@gnu.org; Sat, 18 Jun 2022 15:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2ea3-0007g9-5l for guix-patches@gnu.org; Sat, 18 Jun 2022 15:58:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2ea3-0001zU-51 for guix-patches@gnu.org; Sat, 18 Jun 2022 15:58:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [PATCH 00/27] gnu: Add dua-cli. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org, antlers@luris.net X-Debbugs-Original-To: guix-patches@gnu.org, antlers@luris.net Received: via spool by submit@debbugs.gnu.org id=B.16555822597382 (code B ref -1); Sat, 18 Jun 2022 19:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2022 19:57:39 +0000 Received: from localhost ([127.0.0.1]:50076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eZe-0001up-JB for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:57:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:42208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eZY-0001te-VY for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:57:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2eZY-0001Fz-NZ for guix-patches@gnu.org; Sat, 18 Jun 2022 15:57:32 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:46618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2eZW-0007Yf-Jl for guix-patches@gnu.org; Sat, 18 Jun 2022 15:57:32 -0400 Received: by mail-pl1-x630.google.com with SMTP id d13so6499452plh.13 for ; Sat, 18 Jun 2022 12:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=kTUOU+m/Nx/DtZAZLYi5Eatuul0HOOkCapjrFtkBClQ=; b=I5aPaYCoGKVbh/CJnztUPwvj7v5+rN9msxQk9WHKJG1usc5LAlCB9rdiXrSOyhoCWw MlKRM+IKGjq/HCxWqe8WzCekQxk2OCxe0+3h9hP0LlgyQYkOIX9UKSaI/Owv7Ci0Rzlh XP1OOfPuapljr/uAdGQFTQhxoOptHNs90swGA10FUE0P+WTh3P5EhlsUBiaWdTzVn5uQ FjuaOyF/5tR1zpjNoXfsmzi+hPQqwZfuYVWaVGu9D1nuQVD0ml2z02b091pn14jXE2r6 SAHP7X3QBYUNJneMIdqmYBKJ+qKR7SPwHKhYhnwnYFwBXdhzkhyCJmhQ65n0x1yoP6Pt RW4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=kTUOU+m/Nx/DtZAZLYi5Eatuul0HOOkCapjrFtkBClQ=; b=SjZ3WFRC0OpsFf8BV6y42tqy7qxTyuhmePxjOLrLBtHEDEW5al1c7w+1avhPTzSLlI T+CgTdKjtkqGiq51ffkUut+c4Qv7s3d8ZTS8BFskvsEmRQi3TaGhUHNlfBTlSJ4vsM+s G2NfgXSLrFdwJyBo4cK16tZK+22g1aS19o1MdBWJfJgQZNf74xDZ8Wwx/GYSteCCIzXq vHW0YlclrYC8SQ8bm5W9j5L6fIlYk4eEjbCIntQfdQv73vBJ6oiMoFqMAd+NAZRBZag5 aY0h30Nh7XD1Q4SurQpPrSHtYnCuHa2MwaTk3Y/YggkLs1V6X8MQfkbpcKIctw1g1jVk cyqg== X-Gm-Message-State: AJIora8cX7FcA24NfJI4juQRTgf9z/RRUNSVCUigalg8DXmxniDYnvzD 0I+o8UP/i3QNrdLR1ZnLIKAZd59LlTs= X-Google-Smtp-Source: AGRyM1t9OcaAEht+Wenm8TeUdPbj0Eiq3KFupftIvVHejZ5WEPal5W0w/LPMTXNSgtQOgSpUJIg26g== X-Received: by 2002:a17:902:ccd0:b0:168:db72:15e with SMTP id z16-20020a170902ccd000b00168db72015emr16312474ple.63.1655582248307; Sat, 18 Jun 2022 12:57:28 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id y2-20020a17090a104200b001ea629a431bsm5352528pjd.8.2022.06.18.12.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 12:57:27 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sat, 18 Jun 2022 12:56:29 -0700 Message-Id: <20220618195656.10108-1-antlers@luris.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=autumnalantlers@gmail.com; helo=mail-pl1-x630.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, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655582305; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kTUOU+m/Nx/DtZAZLYi5Eatuul0HOOkCapjrFtkBClQ=; b=pgDzEV0ZHbRJIxDHclWqXZoxlR6PvKw1F7MqezLLV/Kl5UW5BL22dqDVS/LTLQehiJnjBo bB3iNGnoGguzDE+XDvbrC3y1q/6UYuzP30ioQZpdq/vZVaF3lqtJwdE+0vFYqzROJNUzoQ DP1wVEBEbADW0yEP/1lDtCNFUqjnfgxXwmmAPMNetd8gIAwthcflitrQKTCGXukkaNaWzM 04PS2R/1phZ0Dd0N5iCCMo/nSzU8wFTUI/XWs3wdPAAslxDQMazdpB1kuo8Cy5FUUWQTa5 c59934PlR5P0olPpax9Dp8m+W/UVn0NsAizS4eBXPECUpz2NgzbOEySVw+PzQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655582305; a=rsa-sha256; cv=none; b=aP22njauY86zGWFdahInn/Ruf41KOQpWUCdYqcYk0inOObt1LaMpUbyDuGxFiR33hSwau+ wuUUszVU8/uOInjTE/O7HBtXY8uJNYCgrLQyGCSo1Jd96UW5bWpYzJJ2UGMjWwrKYVxGL+ gC1olxtNuF+D/UyxsFNZir+1aOMGxjFGbmldkEsXMhKngl6MUVIyGYIY3AHJFO+AI0o8xq zswuEJS6R/a/EBTs2JAV0cFf3eGVmjuSx2oJ74UAu58mB7sS7VRZUOFXJE7zX4OVtt48qg zdjyY6YwaZp+lC5C0Dw5ctPxNcqJFHcWmHO+IykAwD5kqyUP+VuroKvRvJx6Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=I5aPaYCo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=I5aPaYCo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 925E1109EC X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: yHqWfDScF9bT Hi! I imported dua-cli via `guix import` for personal use, and thought I'd try to upstream the involved packages. I'm awfully new to Guix, so just let me know if I'm, uh, doing this right! I also (practically) haven't used Rust, so, I might not be the best person to be doing this, and have some light notes. - Is a lot of small commits the way to go? - Didn't update rust-tui or rust-crossterm to their latest versions, think I've got enough here as it is. - rust-clap fails a lint because of a TLS error / re-direct that I'm not sure I can do anything about. - Wasn't sure when it was approriate to preserve the #:skip-build flag inserted by `guix import`, so I'll likely need to tweak those. - Some packages (namely rust-clap-3, which came out of Beta) have pretty sweeping dependency changes, including losing their #:cargo-development-inputs; I went with what `guix import` gave me, figuring that the packages build and dua-cli works just fine that way, but might be missing a broader context. - Chose to make a new package vs. updating in-place based on existing precedent for each package, which usually meant a new package for every minor release (with patch point releases updated in-place), but some packages seem to accept minor point releases in-place, while still others have a seperate package for every patch. Just hoping I made sensible choices. - As an aside, I did update each superseded package to inherit from it's successor, but didn't DRY the arguments and inputs in all applicable cases. `rust-windows-*` in particular could probably be cut down to a list of version numbers and a constructor, a la make-linux-libre? But ah well, it works as-is.