GNU bug report logs -
#28487
[PATCH] cuirass: Add gnu-system build spec.
Previous Next
Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>
Date: Sun, 17 Sep 2017 20:14:04 UTC
Severity: normal
Tags: patch
Done: Jan Nieuwenhuizen <janneke <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 28487 <at> debbugs.gnu.org (full text, mbox):
Hello!
Jan Nieuwenhuizen <janneke <at> gnu.org> skribis:
> * build-aux/cuirass/gnu-system.scm: New file. Combines
> build-aux/hydra/gnu-system.scm, guix-cuirass/examples/gnu-system.scm and supports
> building a named subset.
>
> (let ((spec #~((#:name . "guix")
> (#:url . "git://git.savannah.gnu.org/guix.git")
> (#:load-path . ".")
> (#:file . "build-aux/cuirass/gnu-system.scm")
> (#:proc . hydra-jobs)
> (#:arguments (subset . ("hello" "grep")))
> (#:branch . "master"))))
> (service cuirass-service-type
> (cuirass-configuration
> (specifications #~(list '#$spec)))))
I like this but… while we’re at it, could we arrange to have a single
file that works for both Hydra and Cuirass?
Concretely, we currently have these two files:
https://git.savannah.gnu.org/cgit/guix.git/tree/build-aux/hydra/gnu-system.scm
https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/cuirass-jobs.scm
There are very close to one another. The main difference is that one
returns an alist with symbols, whereas the other returns an alist with
keywords.
If we could instead add, say, build-aux/hydra/gnu-system-cuirass.scm,
which simply loads gnu-system.scm and “converts” the resulting alist
appropriately, that would be awesome.
I understand this is not quite what you were asking for ;-), but it
would achieve the same result.
How does that sound?
Thanks,
Ludo’.
This bug report was last modified 7 years and 316 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.