From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wCikNuw/MmRJIwEASxT56A (envelope-from ) for ; Sun, 09 Apr 2023 06:32:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qP6BNuw/MmTOKgEAauVa8A (envelope-from ) for ; Sun, 09 Apr 2023 06:32:44 +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 8DC321A74B for ; Sun, 9 Apr 2023 06:32:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plMiw-0006l7-Rz; Sun, 09 Apr 2023 00:32:18 -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 ) id 1plMih-0006jQ-0B for guix-patches@gnu.org; Sun, 09 Apr 2023 00:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plMig-0008Mt-9b for guix-patches@gnu.org; Sun, 09 Apr 2023 00:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plMif-0004hY-OG for guix-patches@gnu.org; Sun, 09 Apr 2023 00:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42682] [PATCH v2 0/9] Add qmk-cli References: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> In-Reply-To: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Apr 2023 04:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42682@debbugs.gnu.org Cc: Fredrik Salomonsson Received: via spool by 42682-submit@debbugs.gnu.org id=B42682.168101469317938 (code B ref 42682); Sun, 09 Apr 2023 04:32:01 +0000 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:33 +0000 Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiD-0004fG-FO for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiA-0004ey-TG for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4493B240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014684; bh=+aOzYBhCJ3QOE4djQEPEXhA39BvEcq0f//x/5XmhR9Y=; h=From:To:Cc:Subject:Date:From; b=hUQTir+DcVZUxnE8TZ0XYObMunp5Sgyvz9f0GNGMV8EOZ/7Kvz4hvZNZDxzjEEfxv W3hfC3ZiAYxfG/3it6Yt4EEIw868i0E9+WT4pSbnka7hgK0iewnee6q6h61BdUt9R/ fNCQiZin3aYwU520PUiUd4LbEb8tw1TgwBz68hTWGCGf7ueBSuQujx5GrW9l5pBg0h V7o6c1CD+DuJoXuq9YH4bfHvSvaE/ixYD9hWSt3i+qynuKElp245ht4MxkYzVR6tCt mz5YRMYfKJ6JUi42b3gM2Cq5/K+cJ8RnOL1AaaNvrtX/IU88GBK9q0RNn+Yly9qN0F atg40LpBO5d/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1R1MNzz6tsg; Sun, 9 Apr 2023 06:31:22 +0200 (CEST) From: Fredrik Salomonsson Date: Sun, 9 Apr 2023 04:31:07 +0000 Message-Id: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681014764; a=rsa-sha256; cv=none; b=rLFHVJVwtIGCHhRccVjaJOYrd/6P8mX7oMtjfrYRBN39el3fetfiSaV9MgAtz+clkTJQsl TMHWO/wUcTdXeK4NRlohqP3LJt8k6EEF+Iw/jjDDZ3qh0oYpZnDX4gztQhPD5Tnb5yGYIG DArjj9UW3lcx+xbiEsX4i19yK1HoWb4VYZfzxXPZ9qBAtglbL7Y+JEmeUkoSstRZ92wl1Q l70gXxGZa9dykffvykOmNtvz6htByc4lK3cbk2qd1/TDzMY7zsMtGNvg7cW3Q9UQ5VX2HG cHSVLVez24m5UON8rFNpChKAVXxN7LF/E0b5NPj8Lux5JWZ+IJKUKqlITnVq9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hUQTir+D; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681014764; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KDuf0Is89xJI2PoFbXBV3De12j8W2rgku9ByXW99LQs=; b=SRaFGaYJEaXdWmHUd848s5OFmjHBOlRRSmljxTAPIIa2LUW2kl8k+l5/bExU2BYSCokrXi mM1tKtJEyMr/MKNsETBdzfCmVmCTNFmDZ7n5YETIRTPy4IwmrOqWTXirxAk1ikgVSHgwT/ A3MeOiP881kWRwBC6wH6DKWZNRFU06AVK1ldgPycjrBPF55mkiZAsbPRr9KP5136y6iekZ ESD2yZ11zd7F5pvHx2dSPKs2/HeyBEZomyIpFCYPZgm9L9xrBqG9VZqChjjCHSBYw4gWuM K8ALxxLKRsJFd5xFfsj3HdbAqr0lFzXCvERd/XNvmo/N8mWzXn30SMfzchoXDA== X-Migadu-Spam-Score: 8.08 X-Spam-Score: 8.08 X-Migadu-Queue-Id: 8DC321A74B X-Migadu-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hUQTir+D; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Scanner: scn1.migadu.com X-Spam: Yes X-TUID: t+oY5FKjAiG8 Hi, Since it doesn't seem to be any activity on this issue I thought I'll pick up where Jan left off. The cli program has grown quite a bit since the last patch in term of dependencies and is now required for you to be able to build QMK Firmware. I've only tested this with building my firmware for my keyboard: guix shell avr-toolchain dfu-programmer qmk-cli -- qmk flash -kb kyria -km plattfot -bl dfu-split-left It seems to be working fine though as I'm still able to type after that. 🙂 I opted to not propagate any packages (e.g. avr-toolchain, git, dfu-programmer etc) given that it depends on what you are going to use the qmk cli for. And seems better to specify what you need as I've shown above when flashing my keyboard. I also added qmk-udev-rules to be able to use qmk cli without requiring root when flashing. I do get some warnings when running guix lint. Which I haven't figured out how to resolve. > gnu/packages/python-xyz.scm:27517:17: python-dotty-dict@1.3.1: use @code or > similar ornament instead of quotes Not sure what quotes it complains about as the quotes in the description are wrapped in @code and is part of the code snippet. > gnu/packages/python-xyz.scm:17147:15: python-milc@1.6.6: URI > https://milc.clueboard.co/ returned suspiciously small file (337 bytes) The url redirects to https://milc.clueboard.co/1.6, if I switch to that it seems it still redirects. > gnu/packages/hardware.scm:1416:12: qmk-udev-rules@0.20.5: the source file > name should contain the package name Not entirely sure what this mean, as the udev file is in the qmk_firmware repo. Should I just redefine it using file-name in the origin declaration? > gnu/packages/hardware.scm:1415:13: qmk-udev-rules@0.20.5: can be upgraded to 6.1 The latest release for qmk_firmware is 0.20.5, I'm suspecting it is grabbing 6.1 from the planck-6.1 tag. Can I just ignore this one? Fredrik Salomonsson (9): gnu: Add python-hjson. gnu: Add python-log-symbols. gnu: Add python-spinners. gnu: Add python-halo. gnu: Add python-milc. gnu: Add python-dotty-dict. gnu: Add python-hid. gnu: Add qmk-cli. gnu: Add qmk-udev-rules. gnu/packages/hardware.scm | 73 ++++++++++++++ gnu/packages/libusb.scm | 56 +++++++++++ gnu/packages/python-xyz.scm | 193 ++++++++++++++++++++++++++++++++++++ 3 files changed, 322 insertions(+) base-commit: 5481aaacb5f60ba43d8db7e51cb7cc967d5eb55e -- 2.39.2