From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 23 18:48:24 2021 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 To: zimoun , 47350@debbugs.gnu.org Subject: Re: [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia) 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47350 Cc: ludo@gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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