From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: [PATCH 0/2] Cuirass package + service. Date: Wed, 26 Oct 2016 15:05:56 +0200 Message-ID: <20161026130558.31924-1-mthl@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.9.3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzNuA-0007mY-It for guix-devel@gnu.org; Wed, 26 Oct 2016 09:06:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzNu5-0005S2-LD for guix-devel@gnu.org; Wed, 26 Oct 2016 09:06:06 -0400 Received: from v-zimmta02.u-bordeaux.fr ([147.210.215.20]:40999) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzNu5-0005R5-EP for guix-devel@gnu.org; Wed, 26 Oct 2016 09:06:01 -0400 Received: from v-zimmta02.u-bordeaux.fr (localhost [127.0.0.1]) by v-zimmta02.u-bordeaux.fr (Postfix) with ESMTP id 34C89800B0F for ; Wed, 26 Oct 2016 15:05:59 +0200 (CEST) Received: from localhost.localdomain (mek33-4-82-236-46-88.fbx.proxad.net [82.236.46.88]) by v-zimmta02.u-bordeaux.fr (Postfix) with ESMTPSA id F3DE0800042 for ; Wed, 26 Oct 2016 15:05:58 +0200 (CEST) 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@gnu.org This is a multi-part message in MIME format. --------------2.9.3 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable Hello, Here is a package definition and service for Cuirass. As documented both in the second patch, the service is not really useful = as it is. TL;DR Cuirass needs to be launched the first time with the "--specifications" option and then without it, because it has a side effe= ct on the database. As a consequence the same specifications will be re-added = each time the service is restarted. I think we want to allow users to add additional specifications at runtim= e without having to reconfigure the system or even restart Cuirass, I think= it would make sense for cuirass to use a Client+Server architecture communic= ating over Socket. If nobody has a better idea, I will start working on that (taking inspiration from the Shepherd). Thanks, Mathieu Lirzin (2): gnu: Add Cuirass. services: Add 'cuirass-service'. doc/guix.texi | 86 +++++++++++++++++++++++++++++++ gnu/local.mk | 1 + gnu/packages/ci.scm | 51 +++++++++++++++++++ gnu/services/cuirass.scm | 128 +++++++++++++++++++++++++++++++++++++++++= ++++++ 4 files changed, 266 insertions(+) create mode 100644 gnu/services/cuirass.scm --=20 2.9.3 --------------2.9.3--