From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CCIYJ/93EGM2wQAAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 11:14:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UGg6Jv93EGNJQAAAG6o9tA (envelope-from ) for ; Thu, 01 Sep 2022 11:14:39 +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 3FBBC22F30 for ; Thu, 1 Sep 2022 11:14:39 +0200 (CEST) Received: from localhost ([::1]:45168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTgHW-0005fG-0M for larch@yhetil.org; Thu, 01 Sep 2022 05:14:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTfxb-0004hf-0q for guix-patches@gnu.org; Thu, 01 Sep 2022 04:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTfxa-0004Hy-MK for guix-patches@gnu.org; Thu, 01 Sep 2022 04:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTfxa-000870-9E for guix-patches@gnu.org; Thu, 01 Sep 2022 04:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57118] [PATCH] gnu: Add linode-cli. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Sep 2022 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57118 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Csepp Cc: 57118@debbugs.gnu.org Received: via spool by 57118-submit@debbugs.gnu.org id=B57118.166202240131126 (code B ref 57118); Thu, 01 Sep 2022 08:54:02 +0000 Received: (at 57118) by debbugs.gnu.org; 1 Sep 2022 08:53:21 +0000 Received: from localhost ([127.0.0.1]:41144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTfwl-00085m-1E for submit@debbugs.gnu.org; Thu, 01 Sep 2022 04:53:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTfwi-00085X-T4 for 57118@debbugs.gnu.org; Thu, 01 Sep 2022 04:53:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTfwd-0004Ev-Dk; Thu, 01 Sep 2022 04:53:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=rhFn8asP1yVt1WQ0QGpyKaZey9HKeK0rjaRPqNJhOvk=; b=ZMUEfeZO59UqUez9DdXn 0+gckDBGlD+YQhNPhhtTZP0HbxHP12C0U6f4qq9ykO4XkMxPNKqYpAZe8V2DoASEi8BA1nf04WOPo cctjSTDGhaiZEaCVAhN3HJ8VhMGnBoZUecmWxc5IYNCUMm65KQopCpwKBtf8QOqDzMCuaCzGSn4Jb dFbyftKNWCt5UD3C3CDDwPhIUJ4xyL2EV2qb+BcXjhTZp7ZMCDeR4pitJ/aMxwNDbqJ6gLp09EvjL /2E1yBOKk6ChD+r0nGdHHMk1bVjVZ4Eo70/0+gadw64NnQfpBCQj8a4eJKtuzYy1fJumoUhqzNwFL o2mKqY61VJFp9A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65345 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTfwa-0003XA-Nj; Thu, 01 Sep 2022 04:53:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220810141843.21051-1-raingloom@riseup.net> <20220815114227.10424-1-raingloom@riseup.net> <87pmgg85ep.fsf_-_@gnu.org> <87v8q728un.fsf@riseup.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 Fructidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la Truite X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 01 Sep 2022 10:52:58 +0200 In-Reply-To: <87v8q728un.fsf@riseup.net> (Csepp's message of "Thu, 01 Sep 2022 03:10:32 +0200") Message-ID: <878rn35vdh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1662023679; 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=rhFn8asP1yVt1WQ0QGpyKaZey9HKeK0rjaRPqNJhOvk=; b=RRjNIhtnSFy1bWAR3Yim5036BsVtT1pIaaZsxPpLNMPI4oNjGU+MF+Z1EInWCY63ilTYg4 yAt2i4qNCylsM/lpmjCzN9K66p+ZN3ftqpNILAnHLjf3ztWajpZc5e48qMeFy6t6k187H1 PEANYY3rViOKl4UESWPTxtyBZlc9dT8ddjoF9d7KE0j0Bg1LXWdV+UMoFCgfn0d4Eu56Ad C0RwQgc4k11zGNXqHRwbuEbPppLUpvwhcJ2upxgxTq/S0/OzSVbCkmCe4b8dE39ulh7AeS 9B/3SCDCtdE0P2VELlNc/mAFlLmoT5ndmhBhFnqbzXzEEBsiN1I9+5OmQKVDpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662023679; a=rsa-sha256; cv=none; b=qi6AFjBKprfTU05UoUSAzWiEEOpvGe/prUrioME+Qv44kr/QMm74O6TYM7wGTLrJ/Yy4v+ i6EFbMlXHw7peiufRlsaMOS9cVqWVv6Pv7DrRFHOCCi+IKIdFe4JJ39mtHFRis7AH/UL3D 8FqfjDexivx5Ag5G1wlnzQ8WXVq0Wb1KPtQqPJnHAw4jMu4LglYY6ceZPUjO6VJZrtnnGG BuFv28ldomZBlHdSVz9l8sn/MppLYbg1GMJNL4765c9dJlwAVgcPUvi4os3iWZHQvU6Nwi q8SdhVt412GGhXSfg2+qW12wLpWUpE9qyvE5GgNKnhMi1E6r2IPcSmc1emwO+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZMUEfeZO; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZMUEfeZO; dmarc=pass (policy=none) header.from=gnu.org; 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: 3FBBC22F30 X-Spam-Score: -3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: YO02ETGWUBB7 Hi, Csepp skribis: > Ludovic Court=C3=A8s writes: [...] >>> +(define linode-openapi-spec >>> + (origin >>> + (method url-fetch) >>> + (uri "https://www.linode.com/docs/api/openapi.yaml") >>> + (sha256 >>> + (base32 >>> + "1jcjfnagjihcy03fcmn5sghdf7a80798xjgj1x7z3ncqwd5aggwg")))) [...] > I skimmed the OpenAPI spec and couldn't find any mention of how to > access previous versions. OK. > IMHO if there is a build failure, guix refresh -u should take care of > updating the hash. It's better than trying to use an outdated API > description without notifying the user. I should say I don=E2=80=99t know what this file is used for. :-) What I do know is that we should avoid having origins like that above that are bound to fail. Perhaps we can find another option? If the CLI tools really need the latest version of =E2=80=98openapi.yaml=E2=80=99, cou= ld they download it (and possibly cache it) at run time? Perhaps there are already provisions for that? If the tools don=E2=80=99t strictly need the latest version, then hopefully Linode keeps a copy of this file in a Git repo somewhere? TIA, Ludo=E2=80=99.