From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Katherine Cox-Buday <cox.katherine.e@gmail.com>
Cc: guix-science@gnu.org, guix-devel@gnu.org
Subject: Re: “What’s in a package”
Date: Fri, 24 Sep 2021 11:04:36 +0200 [thread overview]
Message-ID: <87czoypcnv.fsf@inria.fr> (raw)
In-Reply-To: <87h7ebxqjd.fsf@gmail.com> (Katherine Cox-Buday's message of "Thu, 23 Sep 2021 10:25:26 -0500")
Hello,
Katherine Cox-Buday <cox.katherine.e@gmail.com> skribis:
> That sounds like a great start. I tossed out some other ideas elsewhere in the thread. Most of them involve meta-inspection of the package, Guix ecosystem, runtime environment and logs. It would be nice in general to have a kind of "agent" that you could run repeatedly over the course of packaging that would suggest next steps on ~stderr~ and next logical packaging definition on ~stdout~. Kind of like pair-programming with Guix :)
>
> It would perform different operations dependent on what stage in the life-cycle the package is at, i.e. ~import~ when no package definition exists, build when one does, and possibly running the result in a container when the package build succeeds.
>
> E.g. your PyTorch example, starting from scratch (note: ~guix import~ may not always feel like the right command to invoke in this example. This may be some larger concept than import; also, the example always redirects to package.scm for brevity, but the user would probably want to look at it first):
>
> #+begin_example
> $ guix import upstream pytorch
>
> stderr: This looks like it might be python package (heuristics.scm:123 - package name starts with py), try this instead:
> stdout: guix import upstream pypi pytorch
[...]
I like these ideas!
> etc., etc. Typing that out, it feels dangerously close to Microsoft's Clippy, but hopefully more helpful :)
Heh, Clippy was cute. ;-)
> Heuristics, by definition, wouldn't be correct all the time, but this kind of thing could help new contributors (or experienced contributors with bad memories like me!), and in some cases actually do some of the programming.
>
> And every time someone comes to the mailing list or IRC with a question, we can ask ourselves if this is a common question, and maybe create a new heuristic.
Agreed.
Let’s see if we can get there…
Thanks,
Ludo’.
prev parent reply other threads:[~2021-09-24 9:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-20 12:36 “What’s in a package” Ludovic Courtès
2021-09-21 18:38 ` Arun Isaac
2021-09-22 18:53 ` Pjotr Prins
2021-09-21 20:20 ` Katherine Cox-Buday
2021-09-22 13:32 ` [Spam:]Re: " Konrad Hinsen
2021-09-22 15:02 ` Katherine Cox-Buday
2021-09-22 18:20 ` Konrad Hinsen
2021-09-22 15:44 ` Jonathan McHugh
2021-09-22 19:44 ` zimoun
2021-09-23 7:36 ` Ludovic Courtès
2021-09-23 15:25 ` Katherine Cox-Buday
2021-09-24 9:04 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czoypcnv.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=cox.katherine.e@gmail.com \
--cc=guix-devel@gnu.org \
--cc=guix-science@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.