[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cuirass evaluate
From: |
Ludovic Courtès |
Subject: |
Re: cuirass evaluate |
Date: |
Mon, 10 Jul 2017 17:12:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi Mathieu,
Mathieu Othacehe <address@hidden> skribis:
> Now that Cuirass uses (guix git), I'm trying to robustify specification
> evaluation. Currently Cuirass calls a binary called "evaluate" to get a
> job list from a specification.
>
> I don't like the idea of this extra "evaluate" script because :
>
> * We have to give evaluate almost all arguments given to Cuirass
> (load-path, package-path, cachedir, spec, database).
> * The script is made available for the user but it's very unclear how to
> call it. The help says : "Usage evaluate FILE" which is wrong (5
> arguments are expected).
>
> So my question is, is this a strong requirement to have a separate
> script to parse specification, or can I put this stuff back in main
> Cuirass program ?
It’s a requirement because the evaluation process has side effects on
the Guile that runs it; for instance, it loads tons of modules in it.
Also, the evaluation process may need to load modules that have the same
name as currently-loaded modules, but different content—and Guile
supports only one module with a given name.
That said, this program should be moved to $libexecdir/cuirass/VERSION.
HTH,
Ludo’.
- cuirass evaluate, Mathieu Othacehe, 2017/07/08
- Re: cuirass evaluate,
Ludovic Courtès <=