From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cH3zKP+6OWGrPQEAgWs5BA (envelope-from ) for ; Thu, 09 Sep 2021 09:42:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2KJ+JP+6OWFcBAAAbx9fmQ (envelope-from ) for ; Thu, 09 Sep 2021 07:42:55 +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 2874281B6 for ; Thu, 9 Sep 2021 09:42:55 +0200 (CEST) Received: from localhost ([::1]:51950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOEhy-0001yL-5V for larch@yhetil.org; Thu, 09 Sep 2021 03:42:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOEhn-0001yD-7J for guix-devel@gnu.org; Thu, 09 Sep 2021 03:42:43 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:34446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOEhl-0007pO-F0; Thu, 09 Sep 2021 03:42:42 -0400 Received: by mail-wr1-x431.google.com with SMTP id m9so1145817wrb.1; Thu, 09 Sep 2021 00:42:40 -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=hKOjOCzVWJbshLcFRLZmA8WySRwyVa9WYh+Jr687KBY=; b=Fysv3C/0zHS2mHR1oNMs1kolCgPwLfdptIErXEGnJjM+V06yTCvjh0K6vqJumhd5t/ 4WvHNp2cEAjCVK3DExCtHo+eWJ7na6EuNoPgkHrhNZaLn5ppS2xa1Q6BGRpjxnaxhbeW sdwZlv8zYHSTV4o3pvxyQvqsfpvz5IBhQ+fmnE/4D+RKolAwNVqOVWBis0N6fReNeCUa Qx93pzv+8HZaFmDpClkoWP+Lgo+uJUh0U18Uw09TPywoUqjeMN06RRIIshg8O3ZwjHgr 1HbGt9Upm7StFBV1bElyty1b0c0Bi6vIdBLyNKuJxaJWb8CIkO6Nu0ndxCK92hupHKVW N+gg== 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=hKOjOCzVWJbshLcFRLZmA8WySRwyVa9WYh+Jr687KBY=; b=6quF917+3Ebhc8D9mu5VDiQmZIrzMDvaxp3pPtmu2fFyDWg+XxAf2FFHVC7b62QaL6 uzg+2c4dJyd2HZNuSLet4H2ETduHq/owR09g/pTkmlftXK2obbE1kfjRQlnTNF4Jc1C2 a5+1eITIqpzeQAh/0xG9cFbNxuu/GOpiY5iqPGra4CripB3gJen++lWV80bTxutI1SQG drMUNQzdGeVCUzMKeDH9eFiEfTZ3HnDTpuLWIiX/hhCaHjXgH2DgpRI0i/AVPDCK1p+4 59tJDQSoWabte6BnxIHdBrM7BuV3jud+H8eughda9hvYNHVM6RFJbQwaJguvZMRFA3Zh +98A== X-Gm-Message-State: AOAM533oi2trjWCLztaN0Xn/4hTckkbAZzoQD2zTtDiBTDgSlSQdO44Q IQgFbtMNgZiON+mo7S8KionV3tO2fqQ= X-Google-Smtp-Source: ABdhPJxInK+QDXvcy2GNrkLkclEeQht+uX1bPDwWgkPkJDoTK0JlxFH1azyTREw7npub7keLS72GDg== X-Received: by 2002:adf:9d4b:: with SMTP id o11mr1822597wre.29.1631173359312; Thu, 09 Sep 2021 00:42:39 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id u13sm925490wrg.68.2021.09.09.00.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 00:42:38 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Leo Famulari Subject: Re: Why linux-libre source code is not in sources.json In-Reply-To: <86tuiu8wc7.fsf@gmail.com> References: <877dfqhgny.fsf@gnu.org> <86tuiu8wc7.fsf@gmail.com> Date: Thu, 09 Sep 2021 09:37:54 +0200 Message-ID: <86lf468ai5.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::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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 autolearn=ham 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=1631173375; 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=hKOjOCzVWJbshLcFRLZmA8WySRwyVa9WYh+Jr687KBY=; b=GcK/AX9/d4Xshpr5jFV7p45Z+qKlvWo1S6iPUIr9lo6tlS5h5RIrpTItQFY27K4Zp2yxXZ /L7XR1HaZjEII+H7fpoGz3msWhovhRlsKUWRb+aw8Cs0FwHgbqEHTdPvVbNSXBGYj292Wp CfKL7lbmlMFjCblimAojFaunENnvpFLnPVfHPYou37io6lZuyxwn8yg8BmuhP2OA02EAjE jGWYnqLnkfblVRia7M6R8pWcDyofF9VguyCCBqZpkKCbOhTWCM+elB3OOlSMslsAg1cut1 2/xZ18aFurP5X5v6LXKup7rrgfc4QvAuih224Hw+Tz3VgBNsK7IihydUxb5v5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631173375; a=rsa-sha256; cv=none; b=eWX95ZfrSFLt3UpgnhN0hNnIJGCaHd8DY/iYy7tqZwtk//GQMi8Oi8iWcJZikgLiohE655 yDtIJRhzdv7fZweIrMq04/nDt4f8cHHMFl4cfz0tnDXlgXFL2XPNG0EYFoyq+wsGEv/xNp gR3hSLa+qMIqEPMu37a/wIgfsNlylw/2EpKow4+Aqvibxtyldl3Xrcx7V5561jSjxdpQd7 k/Ak5ZADWy27CEnl8JsULZHPc+hmWW3+qW66AT5qO/ua9kfS1Cc0LJ/Gz37AzCyy9FrDmj IrO6Z86PI/4iXCbmcx9/2dKY1lk4uZLmHufXRcEd5ZkRgfpZRbywLrjZz8YZbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Fysv3C/0"; 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.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Fysv3C/0"; 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: 2874281B6 X-Spam-Score: -3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: JRu42tDthAud Hi, On Thu, 09 Sep 2021 at 01:46, zimoun wrote: > --8<---------------cut here---------------start------------->8--- > scheme@(guix-user)> (package-source linux-libre-headers-5.13) > $2 =3D #> # (# () 7f881c1ec840> # () 7f881c1ec7e0> "= /gnu/store/yrqr7syxbm4pddzlgc4pwn9wixmpy9xh-guix-module-union/share/guile/s= ite/3.0/gnu/packages/patches/linux-libre-arm64-generic-pinebook-lcd.patch")= 7f881c1ec780> > --8<---------------cut here---------------end--------------->8--- > > Therefore, the builder of JSON (mainly =E2=80=99origin->json=E2=80=99) do= es not consider > such cases and assume that =E2=80=99origin-uri=E2=80=99 can be applied. = Well, I will > try to improve the situation if no one beats me. :-) Ouch, it appears to me complicated because: a) at the package level, what is the source of linux-libre? b) this source is the result of some computed-origin-method Somehow, SWH ingests URLs and no more. And the current implementation looks like: --8<---------------cut here---------------start------------->8--- (define-public linux-libre-5.14-pristine-source (let ((version linux-libre-5.14-version) (hash (base32 "1iq8s031fviccc4710biwl7gxqdimm3nhlvxd0m3fykvhhmcanq0= "))) (make-linux-libre-source version (%upstream-linux-source version hash) deblob-scripts-5.14))) --8<---------------cut here---------------end--------------->8--- where =E2=80=99make-linux-libre-source=E2=80=99 returns a =E2=80=99computed= -origin-method=E2=80=99. And the =E2=80=99origin-uri=E2=80=99 of =E2=80=99linux-libre-5.14-pristine-sour= ce=E2=80=99 is a =E2=80=99gexp=E2=80=99. Then inside this =E2=80=99gexp=E2=80=99, you can read the =E2=80=99%upstrea= m-linux-source=E2=80=99 URL: --8<---------------cut here---------------start------------->8--- # --8<---------------cut here---------------end--------------->8--- and I do not know if it is possible to extract such thing. Moreover, the =E2=80=99deblob-scripts-5.14=E2=80=99 is an origin from =E2=80=99linux-libre-deblob-scripts=E2=80=99 which returns a list of 2 orig= ins. These 2 URLs do not appear in =E2=80=99linux-libre-5.14-pristine-source=E2=80=99, f= or instance. Therefore, I do not know how to extract the source URLs for the package =E2=80=99linux-libre-5.14=E2=80=99. Ideas? Cheers, simon