unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Guix-Help <help-guix@gnu.org>
Subject: Understanding Cuirass
Date: Fri, 9 Nov 2018 01:00:29 +0100	[thread overview]
Message-ID: <20181109010029.7f3c68d6@alma-ubu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

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örn

[0] https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00222.html


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2018-11-09  0:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09  0:00 Björn Höfling [this message]
2018-11-09  6:46 ` Understanding Cuirass Mathieu Othacehe
2018-11-09 20:56   ` Björn Höfling

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181109010029.7f3c68d6@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=help-guix@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).