From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yfRaJXRwWmChbQAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 22:49:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6ALMIHRwWmCGNwAAbx9fmQ (envelope-from ) for ; Tue, 23 Mar 2021 22:49:24 +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 EF9701D980 for ; Tue, 23 Mar 2021 23:49:23 +0100 (CET) Received: from localhost ([::1]:60634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOppy-0006oW-KR for larch@yhetil.org; Tue, 23 Mar 2021 18:49:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOppe-0006nF-0r for guix-patches@gnu.org; Tue, 23 Mar 2021 18:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOppd-0001cr-Pr for guix-patches@gnu.org; Tue, 23 Mar 2021 18:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOppd-0008SZ-Ou for guix-patches@gnu.org; Tue, 23 Mar 2021 18:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia) Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Mar 2021 22:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun , 47350@debbugs.gnu.org Cc: ludo@gnu.org, zimoun Received: via spool by 47350-submit@debbugs.gnu.org id=B47350.161653970432471 (code B ref 47350); Tue, 23 Mar 2021 22:49:01 +0000 Received: (at 47350) by debbugs.gnu.org; 23 Mar 2021 22:48:24 +0000 Received: from localhost ([127.0.0.1]:33346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOpp2-0008Rf-GF for submit@debbugs.gnu.org; Tue, 23 Mar 2021 18:48:24 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:39796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOpoy-0008RK-CI for 47350@debbugs.gnu.org; Tue, 23 Mar 2021 18:48:23 -0400 Received: by mail-wm1-f48.google.com with SMTP id d8-20020a1c1d080000b029010f15546281so151873wmd.4 for <47350@debbugs.gnu.org>; Tue, 23 Mar 2021 15:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=+0VADT21i2F9BmBanHnEa4TSO/WTxfesAvPup1jduFo=; b=HLFuJfxqDLi3yODc7JqNKeZanhhBMiLMB/XEEcYO2gaQExHOu0J2q98/hkKzk1B7YB sIOmnRbxYa8BsxYu9iob9mUuMBvoagyymYIdt2pXnOi8PvJASqJGF5KcIX3hJSMR2maM GnkoqVWNzcRffWGDcwyh7pjnjdPQturKn51mRsSwg46PWyViPjml4FEJp2iD8ZU7qAK2 /mJj8EI5GPNqOQv0C5AHHWnNAzBzURJaSg7j/qikbkIpR58MmJIVGvScGSlu7VELIoph l5OBBpURlG3e42CyaF8m0SORwVe7Bysfv60zJukXww0zfaaRWBTN6NnfG/RFG4BTcj43 9TXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=+0VADT21i2F9BmBanHnEa4TSO/WTxfesAvPup1jduFo=; b=C6iR+7KIFclJl//n80sSFDzPdQqCrED+UZRVCiifczZ1kJFpJLsDDEXy5Vz6t5Wf87 Jn25e9z4Kh1buvfGmDYMoVEYiWu4YmBX6SwinSGNn1t0H4uoMhioJge1IzhFkjQQoS2i AwAmL30FJNZ1JEItbOwcJojckH0sWp9oMGuTzPx3jcPZZdS8uj+h0A5BbiXL7jmXseCH Ei39PYrlwYGRhwkD/2wASCPgOEp1vziJn7aWXYYkrhVaxgqaTPTGsIbin/VFpgXSpKmQ /BvUdrMopnvn32N/tLTIBkpTcZAQU3Zlwid3RZ1IU55g0c54qMH9XeCO33gv9GjoUEu7 Aoag== X-Gm-Message-State: AOAM531dmmnyeHx3tMe+yS8JgI4rgsMtoURoLRHTDnsDhe/B9Z1M4jO4 Bbh2flfCqMDiEPlyBgusGE4= X-Google-Smtp-Source: ABdhPJzeKbfSajOWPMdnqoXs5J+B/ueK887HVSmYFWtsd7EgoB2fBCt3KxfLoja2y2KHbqVH+3BHDQ== X-Received: by 2002:a7b:c1c4:: with SMTP id a4mr209971wmj.122.1616539694416; Tue, 23 Mar 2021 15:48:14 -0700 (PDT) Received: from guixSD (host-79-17-142-89.retail.telecomitalia.it. [79.17.142.89]) by smtp.gmail.com with ESMTPSA id a17sm244711wmj.9.2021.03.23.15.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 15:48:13 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti In-Reply-To: <20210323194211.16398-1-zimon.toutoune@gmail.com> References: <20210323194211.16398-1-zimon.toutoune@gmail.com> Date: Tue, 23 Mar 2021 23:48:12 +0100 Message-ID: <87wntxmqqb.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616539764; 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=+0VADT21i2F9BmBanHnEa4TSO/WTxfesAvPup1jduFo=; b=KotRNv0JpnTlXDoYOSbZG4e2op2q++H/IrivA4Xzi0P50BFrV6kt8igu0y7+sk9tBj0m6C L0IqKwabfq28z+FMTt0SrpbWTpw4INg5of2KvrbXchbd8YXsacP5AYTaHovl4tSFJqLulM gxcRtDb3SO9c2vjAJBT7KYdHmL/c6BKRG9GZUyaNkbzS790stOr2X/GPJcsYqdKwc31JFK ekSzIIcsWr0goDv5pNl5KID/y+YPaQRz6Eaks6azmeDx+sKVboV1VUh0z/PzxGITOyem4F Fk5b1M1lVT1k1N4k0omYRwdSDq5o/4I8E8a3GU/FtyLoaPboUMMPgzFW2m0hHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616539764; a=rsa-sha256; cv=none; b=aY4Wgd5+ihOb8PkXv0OUCTQLwEy+/kPC78wABq4rnQcd5MwKH0/8xL5aphEGTiW0ZgnpCu q77BhS1gOC+es7hUt3tU66Vv+uNATQP2z0afREh/XU/4mMBCRQJwhTRczBa/6SKoph4+yy g65p6bZzcITWMJcj7VuWkvjjzSsvg3oxpgoQCxlq+gbFKJZ57WXkm9EkB66pziD/2qY6sy +cHDMXnpZwgeHD5mhEieop3MjXtZ4oBfiP76W2fVsU3vIkKjvDkn0tQWlL9TGbeGmojte4 8M84mw5pDZnBZBD/016Nn3cbaS27qRwVBDOaa6qAo47BoGLzMgFjF+KnwAuNSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=HLFuJfxq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=HLFuJfxq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EF9701D980 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: F8hsMHYkWe0e zimoun writes: > Hi, Hi! > > This adds all the packages required to build Zygote, the source-to-source > automatic differentiation in Julia. Wonderful, nice to see the first contribution to julia packages :) > > Last, well, I feel motivated to implement an (recursive) importer, even > inaccurate, it will greatly help. > I found yesterday julihub, which might help in that regard a lot. I'll share here my notes (still no implementation), if I'm not missing something obvious, this importer should be super easy. Let me know what you think about those: 1. refresh the package list (json) curl https://juliahub.com/app/packages/info 2. search the required package (.name field) 3. get info on the package (.metadata.docslink) / pkg.json eg. curl 'https://juliahub.com/docs/Convex/Sr0e5/0.14.5/pkg.json' 4. extract: - version - homepage - license - repository - description - direct dependencies (used in propagated-inputs field) store them into a list - indirect dependencies add them to the dependency list - binary (jll) dependencies tell the user those must be fixed - remove duplicates/packages already in guix - repeat 4 for each dependency Thanks, Nicol=C3=B2