GNU bug report logs -
#47350
[PATCH 00/29] Add Zygote (piece for Machine Learning with Julia)
Previous Next
Reported by: zimoun <zimon.toutoune <at> gmail.com>
Date: Tue, 23 Mar 2021 19:43:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
zimoun <zimon.toutoune <at> gmail.com> 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ò
This bug report was last modified 4 years and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.