From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oBi/FMjO2GV4LAEA62LTzQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 17:58:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oBi/FMjO2GV4LAEA62LTzQ (envelope-from ) for ; Fri, 23 Feb 2024 17:58:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="E4Eqa/R1"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708707528; 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=DPOCVet0L6oI0b2IYdoDO4DlH2KPp7cO49mpfaGWTlA=; b=Sld5Whjar862XErOn+nhvIzvtbrcoVRSGqBhr6b08JCcMltIfcGSIZA+rsnmIy86MdNLOs eJipJQ47ink/FHPUVgqY70NzcnfdhQMykT40OCo3OXFnhDZHw4qNNF/S3x85WVdziuKqXA OvyREeB68L6axql99jVeEOebZOKmvtbnNPh8nN5mKnW3sOSeD4b6thfvzmS3XlrvFN5xwT Mz21I4xwsUNvxKZrAyu3b+tjktoP68DLorreQzSIW/ljZHFUaztga92fJ/Mkc3mDDQRufB lXY0dVfKOj1djDTzvgtTDvnUfgT1OI0XdU5H/9IC6lak1Znvzuz1xfIPALnxxg== 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="E4Eqa/R1"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708707528; a=rsa-sha256; cv=none; b=ELszjBw8IGRDhS3Dwqd7rdAdj6un6ebwPOctx+9PIFYWR8rCxtxGqOS5pt3jwLjyOXcTpX 9oIerf+qbe4iWHJtXRmjhTPksbWrd/kpKSpOke6+dWwNU9XiWiVmDRGJCOBWtGLOdGDWic XLUblfq2zLPxQW856OxjNKOP+KERo+jhKxDaAZcf/mnFhys4xfCRpcrD8Q2J10Cn56r6ha 156W1hWtT5CHbKtN3wKYqiUx0xb7EoipdxifI1z8OhjapSYZuZClEjVfRjsscDH10xaedb /IObCm8H8DUwGGV5p87l3g73FZW3OY0KQ0UDXRTpuXfZdtyM684tCskdmxpPhQ== 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 1BD5639DE0 for ; Fri, 23 Feb 2024 17:58:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdY2R-0001ew-E2; Fri, 23 Feb 2024 11:04:39 -0500 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 1rdXtn-0002sC-G6 for guix-patches@gnu.org; Fri, 23 Feb 2024 10:55:44 -0500 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 ) id 1rdXtm-0008Un-HQ; Fri, 23 Feb 2024 10:55:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdXu7-0002UZ-DZ; Fri, 23 Feb 2024 10:56:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69328] [PATCH 04/12] swh: Add =?UTF-8?Q?=E2=80=98type=E2=80=99?= field to . Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Fri, 23 Feb 2024 15:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69328@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 69328-submit@debbugs.gnu.org id=B69328.17087037349466 (code B ref 69328); Fri, 23 Feb 2024 15:56:03 +0000 Received: (at 69328) by debbugs.gnu.org; 23 Feb 2024 15:55:34 +0000 Received: from localhost ([127.0.0.1]:49680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdXtc-0002SS-JI for submit@debbugs.gnu.org; Fri, 23 Feb 2024 10:55:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdXnO-00021r-AE for 69328@debbugs.gnu.org; Fri, 23 Feb 2024 10:49:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdXmv-00077g-E3; Fri, 23 Feb 2024 10:48:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=DPOCVet0L6oI0b2IYdoDO4DlH2KPp7cO49mpfaGWTlA=; b=E4Eqa/R15MWruFRi8zAA afmWCOay+IWqUDvCPrtJXSBc5Ig4+qC+0qoma7m5FT6G5/2mnwzd6OEJCIO1TG4uqiV5hp9r0bCTA /W52cJML1r7gCu2Wf9bVj6J7ZUI6BaIsupjhFFNPEU8CZC56hLMJYbw89jURC/G6tUd/oXPZgbEYs u7nIThYnuOKv97MaFEW5eyoYCLOax+AG6rK1Js1XMVNxjPc5tf3h2w9cb7a7F9dNxA9TbhxAEgeFj JUnxj/+uQX/mDWG36oEx0TcM6jf17e+GlOl2JwWgC/GHczowW04XF09KvBThFkFwSuEnB4PQe6tLy MMUcpZhP1j7bCw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 23 Feb 2024 16:48:08 +0100 Message-ID: <7c992a535832f71d9624741cedd5095d2bd3b4ba.1708697539.git.ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 X-Migadu-Spam-Score: -3.17 X-Spam-Score: -3.17 X-Migadu-Queue-Id: 1BD5639DE0 X-Migadu-Scanner: mx11.migadu.com X-TUID: RpLtwyKccuva * guix/swh.scm ()[type]: New field. Change-Id: I7677984c7daef38d8f3c3bef19723fa0efb035ba --- guix/swh.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/swh.scm b/guix/swh.scm index 04cecd854c..83f67423c8 100644 --- a/guix/swh.scm +++ b/guix/swh.scm @@ -54,6 +54,7 @@ (define-module (guix swh) visit-snapshot-url visit-status visit-number + visit-type visit-snapshot snapshot? @@ -312,6 +313,7 @@ (define-json-mapping make-visit visit? (url visit-url "origin_visit_url") (snapshot-url visit-snapshot-url "snapshot_url" string*) ;string | #f (status visit-status "status" string->symbol) ;'full | 'partial | 'ongoing + (type visit-type "type" string->symbol) ;'git | 'git-checkout | ... (number visit-number "visit")) ;; -- 2.41.0