From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Understanding Cuirass Date: Fri, 9 Nov 2018 01:00:29 +0100 Message-ID: <20181109010029.7f3c68d6@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/wXoEDOrb_lfRvBms9YJ9gVZ"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKuEN-0003yu-Al for help-guix@gnu.org; Thu, 08 Nov 2018 19:01:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKuEF-00072S-Ri for help-guix@gnu.org; Thu, 08 Nov 2018 19:00:58 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:49394 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKuEF-0006E2-DK for help-guix@gnu.org; Thu, 08 Nov 2018 19:00:51 -0500 Received: from alma-ubu (pD951FD06.dip0.t-ipconnect.de [217.81.253.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 9F80A400FB for ; Fri, 9 Nov 2018 01:00:31 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Guix-Help --Sig_/wXoEDOrb_lfRvBms9YJ9gVZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I want to give Cuirass a try but I don't understand it (For the reference: talking about version 0.0.1-21.0b40dca). From the doc/curiass.texi I copy this snipped of a specification: '((#:name . "foo-master") (#:load-path-inputs . ("guix")) (#:package-path-inputs . ("packages")) (#:proc-input . "conf") (#:proc-file . "drv-list.scm") (#:proc . cuirass-jobs) (#:proc-args (subset . "foo")) (#:inputs . (((#:name . "guix") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "conf") (#:url . "git://my-personal-conf.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) * What should the procedure #:proc return? * What is the format of #:proc-args? Must this be an assoc-list or can it be just anything? * How is that used? Is it always the second parameter to the proc? * And is the first one always a reference to the store? In earlier examples like [0], the #:proc-file (then called #:file) could be a plain file lying around. Now it looks like it must be relative to one of its inputs, which is referenced by #:proc-input. Is this right? Is the old variant still possible? What forms can the inputs have? The documentation says it must always be git (either git:// or smart HTTPS). In examples/random.scm I saw also the form "file://", but when I tried it I got some error message (can't remember which one exactly). Is this allowed? Am I right that besides from an example this is underdocumented, or did I miss something? Bj=C3=B6rn [0] https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00222.html --Sig_/wXoEDOrb_lfRvBms9YJ9gVZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvkzh4ACgkQvyhstlk+X/3VUACgn7hz/GXf/i89G8Myqt1cwASr MmsAmQEj8j/GuFyJU7mNb2HBIbb4gZax =C9hD -----END PGP SIGNATURE----- --Sig_/wXoEDOrb_lfRvBms9YJ9gVZ--