From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8HJRChMod2G+FAEAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 23:56:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uLHqBRMod2ETFQAAbx9fmQ (envelope-from ) for ; Mon, 25 Oct 2021 21:56:35 +0000 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 A9FA32D2B6 for ; Mon, 25 Oct 2021 23:56:34 +0200 (CEST) Received: from localhost ([::1]:58798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf7xJ-0005vK-Qk for larch@yhetil.org; Mon, 25 Oct 2021 17:56:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf7wn-0005ux-0Q for guix-devel@gnu.org; Mon, 25 Oct 2021 17:56:06 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:38422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf7wY-0000v6-3P for guix-devel@gnu.org; Mon, 25 Oct 2021 17:55:58 -0400 Received: by mail-wr1-x42f.google.com with SMTP id u18so11971309wrg.5 for ; Mon, 25 Oct 2021 14:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=9Q/7AyrNxAturP/TlAwSTi2aMfpfsiNlmq3syXMjWLc=; b=Ctsg+KTYMSPvlVrc2WXkWIjQWan6oxINP+IxXrTYdsEn1nl4i1qiyf2jl2JysFYxwx w5eJjH+UdCGWgDncpYyCdIbktMpvrQbaoyKOFp8IGOqoNomE47i5QVTrASdMP6Yxzkwf Ip3NcT7odu1yEM+0keY6G2hwyOvwpFuiTvL8VZxxjqySHkRD7uQ1Abq6zXKGXBdxAylJ pMkCaiLG/Spu3DGC7K6K+cQye1ZtaC9G+YBLeWryTUAMcewIIjby5tohpvHFFWmJjBQg 41NS1agy/mwiaCTvoRLKV7WpjfOjMeiwKNAc0AtbA7DYkzpy35RzQXh0ufJK4/g47EyV YDgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=9Q/7AyrNxAturP/TlAwSTi2aMfpfsiNlmq3syXMjWLc=; b=c9ffJyDeEQ9QMoL2Lri+2Ias8DzYZFpaZxUyhSf9a/VdfWvJTZgcE+eXm6FiHsqQRP cjm73ltXbix3CfaOZ21mdMMBSaHZWG3+ufXqMW/3pHgOOLIbcQcp/33kFndvIbMI+maK 9WKW8cBfAP3/qgaBXGRX1neo3PgpLuVZY8dC2JvlkX9hYXAr17bBr5T4581ZwFl4qSUw s6nlkrFjwjmP3Uz6PzJk5VgDVtlbd7AzTBYoIB+/2ZeRUtUKamTnb0TX4fXEEWIEeDic G7pPs6/PJAKJ3lr5VuOKUp3zWfJDLyKSgTOrTXZ7gjH8bnr2qg3bkcz6ll1/wz7XYgD/ EeAA== X-Gm-Message-State: AOAM5314d52J2JtZDSBs6LsXW6D3TLcZyF8bhLG71r1LUTp5myWW4LLF YofNuTdZnuTlynOJyZn96oIAe14aIlU= X-Google-Smtp-Source: ABdhPJwc+nxeUyO34CM/A7CHihqRfnYaz0AFjSKgOsVfx0QXDic9dm/kvuMSg0+lV+X3Kig3ugLP9A== X-Received: by 2002:a5d:614d:: with SMTP id y13mr27432978wrt.199.1635198944063; Mon, 25 Oct 2021 14:55:44 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id v185sm20478114wme.35.2021.10.25.14.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 14:55:43 -0700 (PDT) From: zimoun To: Timothy Sample Subject: Re: Preservation of Guix 2021-10-22 In-Reply-To: <87r1cb3fch.fsf@ngyro.com> References: <87v91o35u2.fsf@ngyro.com> <86a6j0b2jo.fsf@gmail.com> <87r1cb3fch.fsf@ngyro.com> Date: Mon, 25 Oct 2021 23:51:57 +0200 Message-ID: <86pmrs93ia.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=1 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635198994; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9Q/7AyrNxAturP/TlAwSTi2aMfpfsiNlmq3syXMjWLc=; b=FIN8qm8X2uBh6soC1I0t9AxBWgjsEcEX1SVIS3RKJ5HavjjSzt7JilKcovCaSpAsLoufnQ rNo2HyUmcg4nQ61j0L78/tXEwGqK/077GBLdR995J6gQmb2W5o4H/wsk3YJZD1cAh9vdEQ MHrIjPX585tETS6GJNb6ws86DeIwMarQG1kE7xxvN1ebMWP7xogDfszxi/ySbXLAIrut8n fl1+f2aMDy3m+84a6LanVOP/pef/eX1Au00TL8cbM43YMlaP+269aHZaPVz4IjPHycV2PL rkaInJ9R999s7B2pvO6uOtZ4WzFwTKIWZCizD1PTFBYVmJm5xjjqaIvhi5MmkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635198994; a=rsa-sha256; cv=none; b=TLaChqod3JNN7F1gSh7bK/FocpuBZ5y0KiCsLJmBjtu8Y/iGGcPdV4sVukhc55x0ZgsOqk bilJMhFWX32HuuostvmMC9S1IsEJ73kxjfdO69ziMDLBhDOvJ46W+obtUjh1fNM09ADILr 5BZvNczExcOfHt8cRfv8uvcZjdR6K2iFfHIr67q631+ij8sUdIJOkBli+2AB1eifxhf5ZO CAobwxWaz9dWYNts6qhSasiechYLvxULKRdkxWuBCqJsGlBr7pMNRQGF7Qa0LIVNjPh9yD UPrqyA+jvrz7Df1f2HVpBFlBbIL3cC2q3Q+CAB8Z4TUa5XiMu7JJ1G44kEkJhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ctsg+KTY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ctsg+KTY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A9FA32D2B6 X-Spam-Score: -3.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: /vbhkMflhgj2 Hi Timothy, On Sat, 23 Oct 2021 at 11:55, Timothy Sample wrote: > zimoun writes: > >> How can I get the list of these 376+217 packages? Because it appears to >> me easy to send a save request for them. :-) Done. :-) > Download the database (there=E2=80=99s a button at the bottom of the repo= rt), > and use SQLite to run the following queries. > > For the 376: > > SELECT fod_id, > swhid, > reference > FROM fods > LEFT JOIN fod_references USING (fod_id) > WHERE NOT is_in_swh > AND reference LIKE '(git-reference%'; > > For the 217 (which is the best place to start): > > SELECT fod_id, > swhid, > reference > FROM fods > JOIN fod_commit_links USING (fod_id) > JOIN commits USING (commit_id) > LEFT JOIN fod_references USING (fod_id) > WHERE commits.hash =3D '258a27eea9aab4f8af995f95743ccd264b5efcb5' > AND NOT is_in_swh > AND reference LIKE '(git-reference%'; I have not checked one per one but I guess the 217 are included in the 376 ones. As I said earlier, many of them are duplicates. Stupid me about previous question using SWH token, I did not use the right environment variable. Arf! Using something like that, --8<---------------cut here---------------start------------->8--- (use-modules (guix swh) (srfi srfi-1)) (setenv "GUIX_SWH_TOKEN" "eyJhbG=E2=80=A6" ) (define missings (list ;;"git://pumpa.branchable.com/" "http://genome-source.cse.ucsc.edu/samtabix.git" [...] "https://salsa.debian.org/installer-team/debootstrap.git" )) (for-each (lambda (url) (unless (lookup-origin url) (pk url) (save-origin url))) missings) --8<---------------cut here---------------end--------------->8--- now, all the missing URLs should be ingested by SWH =E2=80=93 modulo a coup= le rejected or failed*. It is not bullet-proof for the future =E2=80=93 someh= ow it shows that submitters and reviewers do not systematically run =E2=80=9Cguix= lint =E2=80=9D =E2=80=93 but it should improve the POG report. :-) I expect to have 0 missing git-reference package for the recent revisions. If not, please raise! *reject or failed: I am going to ask SWH folks. >From my side, the next steps I envision is: 1. have sources.json produced by a derivation so it could be run by CI 2. support SVN I need help for #1 because I am not sure to understand how to do that. About #2, it is few packages but many packages depends on some TeX. Cheers, simon