From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: cuirass evaluate Date: Sat, 08 Jul 2017 11:15:55 +0200 Message-ID: <87podbthkk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTlrf-0007GZ-TX for guix-devel@gnu.org; Sat, 08 Jul 2017 05:17:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTlrc-0002PF-PO for guix-devel@gnu.org; Sat, 08 Jul 2017 05:17:23 -0400 Received: from mail-wr0-f182.google.com ([209.85.128.182]:35183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTlrc-0002Fb-Ht for guix-devel@gnu.org; Sat, 08 Jul 2017 05:17:20 -0400 Received: by mail-wr0-f182.google.com with SMTP id k67so75623085wrc.2 for ; Sat, 08 Jul 2017 02:16:57 -0700 (PDT) Received: from cervin ([78.192.96.126]) by smtp.gmail.com with ESMTPSA id u80sm6273227wrb.1.2017.07.08.02.15.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 08 Jul 2017 02:15:55 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Hi, 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 ? Thanks, Mathieu