From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qFA1CepBymUwlgAAe85BDQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 17:06:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qFA1CepBymUwlgAAe85BDQ (envelope-from ) for ; Mon, 12 Feb 2024 17:06:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Kn0Ranrj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707753962; a=rsa-sha256; cv=none; b=Xz4E300okFe9jUf9rp8CMClbPylqPQfDcZdV1P42bRhsCrmzKdKP9xy6rQkcOw3OMeLooM ZuA+FDJz9RdKd5qGJzXEbIwRuqWyhIo2aBOdfMwli8drFz/XmElOTbYEESmMgRwLxZTGKT 7PGvg9GEchnaMLXpZUbUybfDGr/JoQBHBTmr3Lq4AHuaxzu4hMxZzajg+5iAAokBWv2kyt THWBE2DY+gbnZEY1+KdEQBAcUo67i4kcdTZxFA5izyNZmnpunuHZEaoehoJAKA3+cLzzl8 sPxwVvwH0Ao++cFNmn6oYZzrSwA7Px+WXjm9HHl4Rtd42lo2hW9I8mNIkdGcBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Kn0Ranrj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707753962; 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=o7AONlwA56QLMF1hYt7QKfGIGLRrudpEbr5kdwpIrds=; b=l5ESjAQ5Mex4BLeqxP/5vCKovfGdTi+Sjj9LyFqWgbUnz7KDv3xKMBFMLUAGHQMpNHpb8i 8lhDpkKM0zZ1xYS5k2uN9WMi/rzYnKIgwMGk3naxlj+/inxzOw1UQotb6dXApN1e8/UxQG 6eYhtKpDnKpfp2qoIfRFc1pduIMzMVHc6yvLWbRIF7v5argbJjhmf98zOTZ8rGeqNcxxKM QnZZYvwvOfro73UmpK3UUGX/mcca1IV/v8GqZTQ/XW2zA5iwZP6rK03k/CAODuYKDDNOmn 5Mwr3eeqDiPlDQDTfnXmC00qGJ7v6pLpfPb1AzRIkBk2u8zFsKYAdd53/pp3Gg== 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 9A9F0743DB for ; Mon, 12 Feb 2024 17:06:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZYoU-0003cA-UR; Mon, 12 Feb 2024 11:05:46 -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 1rZYoT-0003bg-QV for bug-guix@gnu.org; Mon, 12 Feb 2024 11:05:45 -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 1rZYoT-00005v-Gw for bug-guix@gnu.org; Mon, 12 Feb 2024 11:05:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZYok-00061O-4P for bug-guix@gnu.org; Mon, 12 Feb 2024 11:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69070: No releases/revisions in /snapshot endpoints? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2024 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cc: 69070@debbugs.gnu.org Received: via spool by 69070-submit@debbugs.gnu.org id=B69070.170775392322935 (code B ref 69070); Mon, 12 Feb 2024 16:06:02 +0000 Received: (at 69070) by debbugs.gnu.org; 12 Feb 2024 16:05:23 +0000 Received: from localhost ([127.0.0.1]:38931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZYo6-0005xo-29 for submit@debbugs.gnu.org; Mon, 12 Feb 2024 11:05:22 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZYns-0005w5-6I for 69070@debbugs.gnu.org; Mon, 12 Feb 2024 11:05:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=o7AONlwA56QLMF1hYt7QKfGIGLRrudpEbr5kdwpIrds=; b=Kn0RanrjLQv89zqiFUZ22no/qbvnzPDal+Yf3D2t4hGG+lNAQZzNhDdW TG087aOFaf0Da7P2yhn0/OpoLtCuKLJQV2zqj4V39HwWJVQJHhy8Bks0T HNJJ/StGZqWlb1zy3aCSG17JD2NfabEMV7ZBQATMxpjoQCPH1BbLILVmM A=; X-IronPort-AV: E=Sophos;i="6.06,264,1705359600"; d="scan'208";a="79404547" Received: from unknown (HELO ribbon) ([193.50.110.205]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 17:04:44 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87v86uf0uw.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 12 Feb 2024 11:11:51 +0100") References: <87v86uf0uw.fsf@inria.fr> Date: Mon, 12 Feb 2024 17:04:43 +0100 Message-ID: <87il2td5yc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -3.96 X-Migadu-Queue-Id: 9A9F0743DB X-Migadu-Spam-Score: -3.96 X-TUID: k8IadhWh1REy Dear SWH, In I stumbled upon what might be new behavior from the /snapshot endpoint: > The crux of the problem is that =E2=80=98snapshot-branches=E2=80=99 used = to return > either a =E2=80=9Crevision=E2=80=9D or a =E2=80=9Crelease=E2=80=9D, but n= ow it can also return a > =E2=80=9Cdirectory=E2=80=9D: > > $ wget -qO- https://archive.softwareheritage.org/api/1/snapshot/c405490b8= 0fb35cc58b34260d9ec6add8248857f |jq > { > "id": "c405490b80fb35cc58b34260d9ec6add8248857f", > "branches": { > "1.3.2": { > "target": "e4a4be18fae8d9c6528abff3bc9088feb19a76c7", > "target_type": "directory", > "target_url": "https://archive.softwareheritage.org/api/1/directory= /e4a4be18fae8d9c6528abff3bc9088feb19a76c7/" > }, > "HEAD": { > "target": "1.3.2", > "target_type": "alias", > "target_url": "https://archive.softwareheritage.org/api/1/directory= /e4a4be18fae8d9c6528abff3bc9088feb19a76c7/" > } > }, > "next_branch": null > } Current documentation mentions the =E2=80=98target_types=E2=80=99 query par= ameter, which I could use to restrict results to =E2=80=9Crevision=E2=80=9D and =E2=80=9C= release=E2=80=9D: https://archive.softwareheritage.org/api/1/snapshot/doc/ However, that=E2=80=99d be the empty list of the case above. Other snapshots seem to be missing releases and revisions as well, such as this one: https://archive.softwareheritage.org/api/1/snapshot/55bda9214f962550baad2= 5026fb3ac3ad12e3eb9/ Did anything change here? Am I holding it wrong? :-) Thanks in advance, Ludo=E2=80=99.