From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UKcVINTe+WPGXQEAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 11:11:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8CAuINTe+WNaeQAA9RJhRA (envelope-from ) for ; Sat, 25 Feb 2023 11:11:32 +0100 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 4650D3F0FC for ; Sat, 25 Feb 2023 11:11:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVrWJ-0000OQ-Si; Sat, 25 Feb 2023 05:11:12 -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 1pVrWI-0000LC-Jj for guix-devel@gnu.org; Sat, 25 Feb 2023 05:11:10 -0500 Received: from 7.mo575.mail-out.ovh.net ([46.105.63.230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVrWG-00019e-QI for guix-devel@gnu.org; Sat, 25 Feb 2023 05:11:10 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.1.170]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id F14B822B66 for ; Sat, 25 Feb 2023 10:11:04 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-dghqm (unknown [10.109.146.141]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 6B1A51FD68; Sat, 25 Feb 2023 10:11:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-dghqm with ESMTPSA id v6L1F7fe+WNP7gMAAYn2+w (envelope-from ); Sat, 25 Feb 2023 10:11:03 +0000 X-OVh-ClientIp: 81.67.140.142 To: Simon Tournier , guix-devel@gnu.org Cc: Jean-Baptiste Volatier , =?utf-8?Q?Nicol=C3=B2?= Balzarotti , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Follow-up on julia import script In-Reply-To: <87o7pilyb4.fsf@gmail.com> References: <87a61358ej.fsf@ngraves.fr> <87o7pilyb4.fsf@gmail.com> Date: Sat, 25 Feb 2023 11:11:02 +0100 Message-ID: <874jra5a2x.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 16048577273628451549 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrudekgedgudefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteegffdvffelueegfefhteegtedvleehueehvefggeeftdejuefhtdehiefguedvnecuffhomhgrihhnpeihhhgvthhilhdrohhrghdpghhithhhuhgsrdgtohhmpdhjuhhlihgrhhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpfeejrdehledrudegvddrleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidquggvvhgvlhesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.63.230; envelope-from=ngraves@ngraves.fr; helo=7.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677319892; a=rsa-sha256; cv=none; b=VoDiUgEjSyt6xuAN72GPI9K4ZlJ3zc72mrH8KR/dHCiTNSpEUGi5zNzI2NpYuJv8R+IuxY wlMVnaDyv205Qsqumkz3sEX3cq/9wfCAGuCuB0UwIBjiKQNWqP9ug+hCXam4ALIffv9AXw NG4h+9ZMvluAnrvhTa799H5Cf+hxYlXTBjW1UiRBujpQuhUefgdwN11MNpoA67EUpROeeO 36JbUrs4PoFXKG/FG+KIE0ZDnced4vxoILiAktDdYI0wuqVLwQ3WjqZaU7EegHN+N73YXI 7KBhDGrLOMKHb5ROTGX1XYOdOaA/Lvrqb4lDQ6mmCHBGbPvgiGKmY/KYHUdFqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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=1677319892; h=from:from:sender:sender:reply-to: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; bh=yhrbyxUlcRMkRQvKKPUZkE52H82hT53gJdJrj64ObQU=; b=PjgdG1Nn/N9vrVt2cmIgzwflt6/CanXOLGB24LLl4QjkpRB9AEmpm7m/6jvKdViVp+flFc n4eDQQeqB2merDf2ummfjAELVQrmhqb06jQxkqyGuUS5jtiAFVH/xsDlsYPHFLGifbO0H7 ifdgGNI4EzhBwjMC41vmyKIHliRxMWlIK4LjpqqfQ+qqwzjqB5xE6R6jDdU/SJrVVY0oZk n1yHWtdAsn+yflDz0O3dk9W1DIJ0vZnfjwbUE40A2KdP9/LbR90Nnpbq4zE2YbsV7WH7/m txr0h4ZBoyBSgMprIRwVQBh4Nf6hL8rcIsK4+vHTQXu0Dso8cTmzS0VuU1tekg== X-Migadu-Spam-Score: -1.22 X-Spam-Score: -1.22 X-Migadu-Queue-Id: 4650D3F0FC X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: N6PV3aSLgnQp One more question ;) On 2023-02-24 19:21, Simon Tournier wrote: >> - Apparently Nicolo also has a similer code. > > I guess, it is that: > > https://yhetil.org/guix/8735yi9o9x.fsf@guixSD.i-did-not-set--mail-host-ad= dress--so-tickle-me Thanks! > Assuming some toml parser available in Guile (it is not too hard using > PEG or a very naive approach, but still :-)), from the file > Package.toml, you get the repository address, > > https://github.com/FluxML/Zygote.jl > > that you clone. Then from this, you use the file Project.toml to > consider what is inputs and what is propagated-inputs. How would you separate inputs from propagated-inputs in this case (and in Julia in general)? > That=E2=80=99s said, another approach is to parse the JSON: > > https://docs.juliahub.com/Zygote/4kbLI/0.6.55/pkg.json > > and rely on the service JuliaHub. This could provide some meta data > such as synopsis, description (based on README) and license. Oh, I didn't know about that, it might indeed be easier, since we already have the parser, and all information at the same place. > Cheers, > simon -- Best regards, Nicolas Graves