X-Loop: help-debbugs@HIDDEN Subject: bug#69070: =?UTF-8?Q?=E2=80=98guix?= lint -c archival =?UTF-8?Q?python-scikit-learn=E2=80=99?= crashes Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 12 Feb 2024 10:13:02 +0000 Resent-Message-ID: <handler.69070.B.17077327456148 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69070 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17077327456148 (code B ref -1); Mon, 12 Feb 2024 10:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2024 10:12:25 +0000 Received: from localhost ([127.0.0.1]:45250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rZTIW-0001b4-N4 for submit <at> debbugs.gnu.org; Mon, 12 Feb 2024 05:12:25 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>) id 1rZTIT-0001aM-3b for submit <at> debbugs.gnu.org; Mon, 12 Feb 2024 05:12:22 -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 <ludovic.courtes@HIDDEN>) id 1rZTI6-0006SO-IC for bug-guix@HIDDEN; Mon, 12 Feb 2024 05:11:58 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>) id 1rZTI3-0005te-W7 for bug-guix@HIDDEN; Mon, 12 Feb 2024 05:11:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=spaFA1wOTXdKBFyw4heHne6z9hKBlQ/b8D10xO4GIFc=; b=tGNE6+EvHfXyflYmP0ouCC4bsmw3FXlVQsU/EWv7B8qgM+hQ/BKIU8Xb 8onBnCFEZNO/M3OKgIelCJS0bJE3Hvx8drtlodv9+ds02bYxPcWbtZeAm 760gGd2Zi8fCeWm1FobsWr3qqBeigywfCkLZugDR72E19HNWI34ReZCIb U=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.05,262,1701126000"; d="scan'208";a="151455897" Received: from unknown (HELO ribbon) ([193.50.110.205]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 11:11:52 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 24 =?UTF-8?Q?Pluvi=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la =?UTF-8?Q?Tra=C3=AEnasse?= 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: Mon, 12 Feb 2024 11:11:51 +0100 Message-ID: <87v86uf0uw.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@HIDDEN; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi! Starting from a couple of weeks ago, probably around the time SWH deployed an updated version of their infrastructure, we get crashes like this: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 290 Feb 11 2024 23:01:35 (current) guix c4372f7 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: c4372f7ebfac17236299346fe60c6ca125336b1f $ guix lint -c archival python-scikit-learn Backtrace:ython-scikit-learn@HIDDEN [archival]... 12 (primitive-load "/home/ludo/.config/guix/current/bin/gu=E2=80= =A6") In guix/ui.scm: 2324:7 11 (run-guix . _) 2287:10 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 634:9 8 (for-each #<procedure 7f45354e9400 at guix/scripts/lin=E2=80= =A6> =E2=80=A6) In guix/scripts/lint.scm: 65:4 7 (run-checkers _ _ #:store _) In srfi/srfi-1.scm: 634:9 6 (for-each #<procedure 7f4535405d50 at guix/scripts/lin=E2=80= =A6> =E2=80=A6) In guix/scripts/lint.scm: 74:21 5 (_ _) In guix/lint.scm: 1662:4 4 (check-archival _) 877:2 3 (call-with-networking-fail-safe _ _ _) In ice-9/boot-9.scm: 1752:10 2 (with-exception-handler _ _ #:unwind? _ # _) 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" direct= ory)'. --8<---------------cut here---------------end--------------->8--- This can be reproduced by merely evaluating: (lookup-origin-revision "https://github.com/scikit-learn/scikit-learn" "1= .3.2") 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 now= it can also return a =E2=80=9Cdirectory=E2=80=9D: --8<---------------cut here---------------start------------->8--- $ wget -qO- https://archive.softwareheritage.org/api/1/snapshot/c405490b80f= b35cc58b34260d9ec6add8248857f |jq { "id": "c405490b80fb35cc58b34260d9ec6add8248857f", "branches": { "1.3.2": { "target": "e4a4be18fae8d9c6528abff3bc9088feb19a76c7", "target_type": "directory", "target_url": "https://archive.softwareheritage.org/api/1/directory/e= 4a4be18fae8d9c6528abff3bc9088feb19a76c7/" }, "HEAD": { "target": "1.3.2", "target_type": "alias", "target_url": "https://archive.softwareheritage.org/api/1/directory/e= 4a4be18fae8d9c6528abff3bc9088feb19a76c7/" } }, "next_branch": null } --8<---------------cut here---------------end--------------->8--- I=E2=80=99ll check with comrades at SWH whether this is intended. (Note that this problem may vanish once <https://issues.guix.gnu.org/68741> has been merged.) Ludo=E2=80=99.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Subject: bug#69070: Acknowledgement (=?UTF-8?Q?=E2=80=98guix?= lint -c archival =?UTF-8?Q?python-scikit-learn=E2=80=99?= crashes) Message-ID: <handler.69070.B.17077327456148.ack <at> debbugs.gnu.org> References: <87v86uf0uw.fsf@HIDDEN> X-Gnu-PR-Message: ack 69070 X-Gnu-PR-Package: guix Reply-To: 69070 <at> debbugs.gnu.org Date: Mon, 12 Feb 2024 10:13:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 69070 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 69070: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69070 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#69070: No releases/revisions in /snapshot endpoints? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 12 Feb 2024 16:06:02 +0000 Resent-Message-ID: <handler.69070.B69070.170775392322935 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: <swh-devel@HIDDEN> Cc: 69070 <at> debbugs.gnu.org Received: via spool by 69070-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rZYo6-0005xo-29 for submit <at> 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 <ludovic.courtes@HIDDEN>) id 1rZYns-0005w5-6I for 69070 <at> 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=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr 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?= <ludovic.courtes@HIDDEN> In-Reply-To: <87v86uf0uw.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 12 Feb 2024 11:11:51 +0100") References: <87v86uf0uw.fsf@HIDDEN> Date: Mon, 12 Feb 2024 17:04:43 +0100 Message-ID: <87il2td5yc.fsf@HIDDEN> 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Dear SWH, In <https://issues.guix.gnu.org/69070> 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#69070: [swh-devel] No releases/revisions in /snapshot endpoints? Resent-From: Antoine Lambert <antoine.lambert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 20 Feb 2024 10:48:02 +0000 Resent-Message-ID: <handler.69070.B69070.17084260568086 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: swh-devel@HIDDEN, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Received: via spool by 69070-submit <at> debbugs.gnu.org id=B69070.17084260568086 (code B ref 69070); Tue, 20 Feb 2024 10:48:02 +0000 Received: (at 69070) by debbugs.gnu.org; 20 Feb 2024 10:47:36 +0000 Received: from localhost ([127.0.0.1]:44400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rcNev-00026J-JF for submit <at> debbugs.gnu.org; Tue, 20 Feb 2024 05:47:36 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:50352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <antoine.lambert@HIDDEN>) id 1rcNTD-0001oK-P6 for 69070 <at> debbugs.gnu.org; Tue, 20 Feb 2024 05:35:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=resent-to:resent-from:resent-date:resent-message-id: message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=SoOX8E33uUGUCCQsYkwKkGsY/81SCVs0Meox2GtQhPk=; b=nRLcuoh8hnnDdl74HFBOB9kBtJReCGyRLCqMtUNBlz0vawaK+iIteMe+ tiMAPkc7QFiQnp2omdASZECXnclIv0YDWa/Rna0bZCVmege5rhcR/St0Y 8lQWzuhKvGeivd7qCeU+ENwLS+mrWcYa2s43luDPpXeER6Y0uLvwizxyv M=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=pass (signature verified) header.i=@inria.fr; spf=SoftFail smtp.mailfrom=antoine.lambert@HIDDEN; dmarc=pass (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.06,172,1705359600"; d="scan'208";a="80118865" Received: from unknown (HELO ribbon) ([193.50.110.205]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 11:34:59 +0100 Resent-To: 69070 <at> debbugs.gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Resent-Date: Tue, 20 Feb 2024 11:34:59 +0100 Resent-Message-ID: <87zfvvl8z0.fsf@HIDDEN> Received: from zcs2-proxy2.inria.fr (LHLO zcs2-proxy2.inria.fr) (128.93.162.88) by zcs-store7.inria.fr with LMTP; Mon, 12 Feb 2024 17:37:23 +0100 (CET) Received: from zcs2-proxy2.inria.fr (localhost [127.0.0.1]) by zcs2-proxy2.inria.fr (Postfix) with ESMTPS id 2D4A42018C1C for <ludovic.courtes@HIDDEN>; Mon, 12 Feb 2024 17:37:23 +0100 (CET) Received: from zcs2-proxy2.inria.fr (localhost [127.0.0.1]) by zcs2-proxy2.inria.fr (Postfix) with ESMTPS id 210542018C22 for <ludovic.courtes@HIDDEN>; Mon, 12 Feb 2024 17:37:23 +0100 (CET) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by zcs2-proxy2.inria.fr (Postfix) with ESMTPS id 1E65C2018C1C for <lcourtes@HIDDEN>; Mon, 12 Feb 2024 17:37:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=SoOX8E33uUGUCCQsYkwKkGsY/81SCVs0Meox2GtQhPk=; b=qDp38nQUJY6V6Yb9geNX8bbzJr4fJ2PC9sttlYLUL6fl3K6M2geI30di qhBVEZDqhvjMQ73jGoTQoNBatHFdXmBYBzjpVOZc+lLfT+zqDAwNTvLwd gu1pOt8nAmPX9v1tO4SUuCb897zwmejzF8rqIRk2MSC2S69n2/VcJB3nF k=; X-IronPort-AV: E=Sophos;i="6.06,264,1705359600"; d="scan'208";a="151544792" Received: from carnavalet.paris.inria.fr (HELO [128.93.73.169]) ([128.93.73.169]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 17:37:23 +0100 Message-ID: <f11611f7-9f37-42b1-8e58-726d8223ffb0@HIDDEN> Date: Mon, 12 Feb 2024 17:37:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <87v86uf0uw.fsf@HIDDEN> <87il2td5yc.fsf@HIDDEN> Content-Language: en-US From: Antoine Lambert <antoine.lambert@HIDDEN> In-Reply-To: <87il2td5yc.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.9 (-) X-Mailman-Approved-At: Tue, 20 Feb 2024 05:47:32 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.9 (--) Hello Ludovic, The SWH data model also allows for snapshot branches to target simple directories. The new loaders we implemented to ingest a tarball content (visit type: tarball-directory) or a directory targeted by a CVS tag or commit (visit types: git-checkout, hg-checkout) produce such snapshot with a single non alias branch targeting a directory. We do not produce revisions or releases with these loaders as their purpose is to archive a single directory (with extid mapping) without any development history. Antoine Lambert On 12/02/2024 17:04, Ludovic Courtès wrote: > Dear SWH, > > In <https://issues.guix.gnu.org/69070> I stumbled upon what might be new > behavior from the /snapshot endpoint: > >> The crux of the problem is that ‘snapshot-branches’ used to return >> either a “revision” or a “release”, but now it can also return a >> “directory”: >> >> $ wget -qO- https://archive.softwareheritage.org/api/1/snapshot/c405490b80fb35cc58b34260d9ec6add8248857f |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 ‘target_types’ query parameter, which > I could use to restrict results to “revision” and “release”: > > https://archive.softwareheritage.org/api/1/snapshot/doc/ > > However, that’d 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/55bda9214f962550baad25026fb3ac3ad12e3eb9/ > > Did anything change here? Am I holding it wrong? :-) > > Thanks in advance, > Ludo’. -- Antoine Lambert Software engineer for Software Heritage https://www.softwareheritage.org Inria, Paris
X-Loop: help-debbugs@HIDDEN Subject: bug#69070: =?UTF-8?Q?=E2=80=98guix?= lint -c archival =?UTF-8?Q?python-scikit-learn=E2=80=99?= crashes Resent-From: Simon Tournier <zimon.toutoune@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 10 Sep 2024 16:20:02 +0000 Resent-Message-ID: <handler.69070.B69070.172598515917406 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Cc: 69070 <at> debbugs.gnu.org Received: via spool by 69070-submit <at> debbugs.gnu.org id=B69070.172598515917406 (code B ref 69070); Tue, 10 Sep 2024 16:20:02 +0000 Received: (at 69070) by debbugs.gnu.org; 10 Sep 2024 16:19:19 +0000 Received: from localhost ([127.0.0.1]:36678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1so3aI-0004WT-DS for submit <at> debbugs.gnu.org; Tue, 10 Sep 2024 12:19:18 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:59574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1so3aE-0004Vb-Pe for 69070 <at> debbugs.gnu.org; Tue, 10 Sep 2024 12:19:15 -0400 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-374cacf18b1so3326349f8f.2 for <69070 <at> debbugs.gnu.org>; Tue, 10 Sep 2024 09:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725985084; x=1726589884; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SWyGRtJ64WSTbLb3IU8lrL7TsRZBIuzvIBOJvrjUpiI=; b=eKFH8yGssN4huiyVUkYxHaFN0mw8Reu76kputbod1OYHuLgy9kEMdG+gBw5Eb7mHXR YhYcW3BBGpCi3sn4Gc9Aq19lIfCchv1wrngjhiTMjfJeZBV1p8YL4MtHSep1dC8xTMf2 CxuOnqCkUbDioztd6WOBuCXAdqFgf8bSFEnri76vT3rLBWgXhG7Hb558JahyoP1S0XtY yXyD+cB3cZX+0RCHO7aeFWZIW1rpKcWTC9Xf8FHpJhLmVIg+gjmVWIUjE+slHR/Pav+J KP6Jj641GibwvCdJF2aT/TI38YJx9DHiGKxGa5a6Yhzja8cHOo1aJTJYl79SS0zviBzS 4pjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725985084; x=1726589884; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=SWyGRtJ64WSTbLb3IU8lrL7TsRZBIuzvIBOJvrjUpiI=; b=lhh5htI+addk2SHQXMnRHDKTlq7QB9bctCvTPXt2KogxSXF1Aj2myBcV1ndNBpQBjm ZWIiEGlUh4WvPlgahptxsYtCFzLDCiouDjUUWi6gyQ859+JLzLZB7C+SrQCslSMvXK5l woQ4wUY+C4uMC5R3OL2eQ64B5rzhP5AM9N/KPXFS1zMgsDSHvPU2OPIoJws2+LU9NRil LicMUIeUjQx5faK1Grtp8WnHEHYEbcdUB/IGtzGd+15gep6jjXFSkyPQVGDhnl1vJL+0 8EqnJGtL10/vQRpjj4bE2blH2ZYk31RcWzew+oyxF7MYuWbcu7bu9BzfOTiPuLf4aAjE ajaA== X-Gm-Message-State: AOJu0YyrwleYrnQ22CyDkP7SnDgY86tcLtWu4gDo8J+rpQUQkdlsmdc2 6QB0Mc+M6V9Vg5dsGrDqfDuBNsOm7MmW87jn8R75OFo53E4hhJif/4iMxw== X-Google-Smtp-Source: AGHT+IGDQG5MtrZDWAcfiRFJ1FnYrt236NJw/Sx+jU4XYU7zZH3DnCq+WSm+3eJ2AwRyxx+zMBHTVA== X-Received: by 2002:a5d:6150:0:b0:374:bfb2:39d with SMTP id ffacd0b85a97d-37892703e07mr6362802f8f.38.1725985083869; Tue, 10 Sep 2024 09:18:03 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-42.net.univ-paris-diderot.fr. [194.254.61.42]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895649b88sm9370034f8f.6.2024.09.10.09.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 09:18:03 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> In-Reply-To: <87v86uf0uw.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 12 Feb 2024 11:11:51 +0100") References: <87v86uf0uw.fsf@HIDDEN> Date: Tue, 10 Sep 2024 15:58:19 +0200 Message-ID: <87h6anehl0.fsf@HIDDEN> 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Ludo, On Mon, 12 Feb 2024 at 11:11, Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN= r> wrote: > (Note that this problem may vanish once > <https://issues.guix.gnu.org/68741> has been merged.) This had been merged. Now, it does not crash. Is the problem hidden or vanished? Cheers, simon
X-Loop: help-debbugs@HIDDEN Subject: bug#69070: =?UTF-8?Q?=E2=80=98guix?= lint -c archival =?UTF-8?Q?python-scikit-learn=E2=80=99?= crashes Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 12 Sep 2024 08:33:02 +0000 Resent-Message-ID: <handler.69070.B69070.172612992711017 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier <zimon.toutoune@HIDDEN> Cc: 69070 <at> debbugs.gnu.org Received: via spool by 69070-submit <at> debbugs.gnu.org id=B69070.172612992711017 (code B ref 69070); Thu, 12 Sep 2024 08:33:02 +0000 Received: (at 69070) by debbugs.gnu.org; 12 Sep 2024 08:32:07 +0000 Received: from localhost ([127.0.0.1]:40105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sofFH-0002rc-5e for submit <at> debbugs.gnu.org; Thu, 12 Sep 2024 04:32:07 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:57128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>) id 1sofFE-0002r8-Mb for 69070 <at> debbugs.gnu.org; Thu, 12 Sep 2024 04:32:05 -0400 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=dlQY1AQbrzuXZ762TtNv+YKYk+ymDZNitvej1Ba3HVI=; b=eV6cNwnTNdPchpZ/DIDzjqAB6s+4ltYdivW0VXVRwSfryS5Br7dEm+Cv Z/Taxe8FMsM+UYFDfJ1O2UFZsQTTVf+7fhlPrRxlJyvJNTmf6Q23VBM5u WMHVgf7/EtwD3+JGU73ly5gj9VRCYBLBsIINpQyoNsPCIJZ7Vc82Hxqa0 w=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.10,222,1719871200"; d="scan'208";a="182754614" Received: from unknown (HELO ribbon) ([193.50.110.120]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2024 10:31:50 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> In-Reply-To: <87h6anehl0.fsf@HIDDEN> (Simon Tournier's message of "Tue, 10 Sep 2024 15:58:19 +0200") References: <87v86uf0uw.fsf@HIDDEN> <87h6anehl0.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 27 Fructidor an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Verge-d'or 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, 12 Sep 2024 10:31:49 +0200 Message-ID: <87wmjhjmru.fsf@HIDDEN> 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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Simon, Simon Tournier <zimon.toutoune@HIDDEN> skribis: > On Mon, 12 Feb 2024 at 11:11, Ludovic Court=C3=A8s <ludovic.courtes@inria= .fr> wrote: > >> (Note that this problem may vanish once >> <https://issues.guix.gnu.org/68741> has been merged.) > > This had been merged. Now, it does not crash. Is the problem hidden or > vanished? I think the initial problem (that =E2=80=98snapshot-branches=E2=80=99 retur= ns a directory) is still there, although I cannot reproduce it right now because SWH returns 500 currently: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(guix swh) scheme@(guile-user)> (lookup-origin-revision "https://github.com/scikit-lea= rn/scikit-learn" "1.3.2") ice-9/boot-9.scm:1676:22: In procedure raise-exception: Throw to key `swh-error' with args `("https://archive.softwareheritage.org/= api/1/origin/https://github.com/scikit-learn/scikit-learn/visits/?per_page= =3D30" #<procedure http-get* (uri . rest)> #<<response> version: (1 . 1) co= de: 500 reason-phrase: "Internal Server Error" headers: ((date . #<date nan= osecond: 0 second: 48 minute: 28 hour: 8 day: 12 month: 9 year: 2024 zone-o= ffset: 0>) (content-type application/json) (content-length . 130) (vary acc= ept origin cookie) (allow HEAD OPTIONS GET OPTIONS) (x-ratelimit-limit . "1= 20") (x-ratelimit-remaining . "118") (x-ratelimit-reset . "1726133328") (x-= frame-options . "DENY") (x-content-type-options . "nosniff") (referrer-poli= cy . "same-origin") (cross-origin-opener-policy . "same-origin") (x-varnish= . "665128879") (age . 0) (via "1.1 varnish (Varnish/6.5)") (strict-transpo= rt-security . "max-age=3D15768000;") (connection close)) port: #<closed: st= ring 7f0c8c5aea10>>)'. Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,bt In guix/swh.scm: 579:11 2 (lookup-origin-revision _ _) 296:16 1 (call "https://archive.softwareheritage.org/api/1/origin/https= ://github.com/scikit-learn/scikit-learn/visits/?per_page=3D30" _ _ #:false-= if-404? _) In ice-9/boot-9.scm: 1676:22 0 (raise-exception _ #:continuable? _) --8<---------------cut here---------------end--------------->8--- That said, that code is much less useful now that <https://issues.guix.gnu.org/68741> has been merged, so perhaps we could close the issue? Thanks, Ludo=E2=80=99.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.