From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oCiTDSH95mVxTwEAqHPOHw:P1 (envelope-from ) for ; Tue, 05 Mar 2024 12:08:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oCiTDSH95mVxTwEAqHPOHw (envelope-from ) for ; Tue, 05 Mar 2024 12:08:17 +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=ioA0Jwbs; 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=1709636897; 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=fImsAskU5tdeQlOXRoqzls+xiH7MrPqkyaTpqjn+ybIHh55mSi3qX55gZ83DMOOchg8H+v YZhtGbHvNsWC5mjfBXroPagqmeNvxMtuD1j8elYvMJWxvWSR+9ehRDnmAvbs9GWLMvDphF WFPPw9tQQnU9wfxsODUU4xmgYTDrtRUpyPSQ7i8UgTSlRGLR9dmPcK6ircUd5h6FGbPqZX bIHcwN2gQH9rp5nszhxBL4qTAU67hP9il2c2NkTh5LaWtAaQ3iIa2KcrPol9vCKnEG9s5/ EeSdCjCmLJSgH1eh+fZz+n938wU9YlQ6TvNZHxigWHb4WQSqv6GqMHR8nfai6w== 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=ioA0Jwbs; 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=1709636897; a=rsa-sha256; cv=none; b=KcaOOnTfDwnRbC1C52YOHx3FTjDp6D43gKdVGTM9xeyXxZlKMOcWnlgJRBb2QhVLb7uYNY XSGkPHT5IOi/zmlFBQptd9LhJz4qeYUcNMfE1ioxwyNa5QzU0ZBcnh289LyfAtnrA4mBKn GgUZ+ickHYr8nheR0ZQZKlveDMeJipIld8wIaAs8tgB1u2apptuvoToicm7ZNkKFs2Bq52 3JdT3/w2gvxcJlkD7le7vr5a9VCAtnMpL2FveB1/K3JgmOfXxa9E1uM4TWub1hDIx6wUDr DgUdYBD5vOIUHise6GtkSPxlG9Z9WdUC+57ffGyWlIvyd+qevQJXGnWrrqZSRA== 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 18F74256EB for ; Tue, 5 Mar 2024 12:08:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhSe6-0002J2-Qr; Tue, 05 Mar 2024 06:07:43 -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 1rhSe2-000247-8W for guix-patches@gnu.org; Tue, 05 Mar 2024 06:07:38 -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 1rhSe1-00033l-T6; Tue, 05 Mar 2024 06:07:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhSeR-00007S-Qz; Tue, 05 Mar 2024 06:08:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69328] [PATCH v2 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: Tue, 05 Mar 2024 11:08: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: Timothy Sample , 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.1709636877359 (code B ref 69328); Tue, 05 Mar 2024 11:08:03 +0000 Received: (at 69328) by debbugs.gnu.org; 5 Mar 2024 11:07:57 +0000 Received: from localhost ([127.0.0.1]:46389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhSeK-00005f-R1 for submit@debbugs.gnu.org; Tue, 05 Mar 2024 06:07:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhSeF-0008Vu-JG for 69328@debbugs.gnu.org; Tue, 05 Mar 2024 06:07:51 -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 1rhSdg-0002vf-3Z; Tue, 05 Mar 2024 06:07:16 -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=ioA0JwbsChXsq+5rZV3z gzjpRrMbjBuGzsw7Ggc1+VegP/izZ2V4Gj34sHpxQ4S9kA8MoKJNx1oNtYwz505QI5I8HurxEk93C PxTZiKalXQIL635eVkK66AEbzKqxjKObbskzGDqSmfIqCZ3+vvyvpDUm95be/rGNW5JAla3aeUmG0 MZTl87Q5vgWlsnSG4YoVwKKFHTigrijuNp+paEteG/DWEoogFd78CnqtjzvGgSoK/vttScGPdsjCP hgE/i7a7Up2SW3j1+nLkjMBY97NlLVTRib1/Om6eP4Nq5q6Loc0XJi36sKuQL3RlDj6JqKWF/K+Mv A1SVRdkTe9f89w==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 5 Mar 2024 12:06:52 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87o7btc5du.fsf@gnu.org> References: <87o7btc5du.fsf@gnu.org> 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.68 X-Spam-Score: -4.68 X-Migadu-Queue-Id: 18F74256EB X-TUID: Qo63pBTR3Osa * 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