From patchwork Fri Jan 18 05:31:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 759 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D4F5816A74; Fri, 18 Jan 2019 05:48:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 75CC516A70 for ; Fri, 18 Jan 2019 05:48:51 +0000 (GMT) Received: from localhost ([127.0.0.1]:33021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkN1P-000605-1W for patchwork@mira.cbaines.net; Fri, 18 Jan 2019 00:48:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkN1I-0005wp-GO for guix-patches@gnu.org; Fri, 18 Jan 2019 00:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkMm7-0003AB-QD for guix-patches@gnu.org; Fri, 18 Jan 2019 00:33:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkMm6-00038o-9e for guix-patches@gnu.org; Fri, 18 Jan 2019 00:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gkMm5-0004Sl-V9 for guix-patches@gnu.org; Fri, 18 Jan 2019 00:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34120] [PATCH] gnu: Add cqfd. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jan 2019 05:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34120@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154778952417069 (code B ref -1); Fri, 18 Jan 2019 05:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2019 05:32:04 +0000 Received: from localhost ([127.0.0.1]:35493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkMl9-0004RE-Mp for submit@debbugs.gnu.org; Fri, 18 Jan 2019 00:32:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkMl7-0004Qk-OF for submit@debbugs.gnu.org; Fri, 18 Jan 2019 00:32:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:38922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gkMl2-0001xu-FB for submit@debbugs.gnu.org; Fri, 18 Jan 2019 00:31:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkMl1-0003EB-Eb for guix-patches@gnu.org; Fri, 18 Jan 2019 00:31:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkMl0-0001wP-Hf for guix-patches@gnu.org; Fri, 18 Jan 2019 00:31:55 -0500 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]:38389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkMl0-0001vw-7t for guix-patches@gnu.org; Fri, 18 Jan 2019 00:31:54 -0500 Received: by mail-io1-xd2d.google.com with SMTP id l14so9778860ioj.5 for ; Thu, 17 Jan 2019 21:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=IlvajaKUGBgdwl/EKcBXAqtwYn52rZIT4xkJEaRGets=; b=kThezwpSh52lNdbUXyIkc0ra4tyY0pjTY8/ao2hVlue5mdUgjUA9fymDlE+Bym+Avv E+Oo4hFkd9g0YilJPz4ESzKbPmjgl8LoSnjZl07H7SvwpgG6zEQLUywN7XJdrn65C4z+ OdBPx4Jh5ALf9pkohZF9QW0hZ/4soAHIXupagc7ozHEJXNnsmni8h1SwxP1apgnMyqsi i9eXEDusPnlJTh7bBGjPwdfNdaCj/UVwcibNU7KTToBlH+CMR0ekxH3dtATv4MC5pMFm wYxAlqjYQSzBvAjmCjEneYZSyh+PVAFzYjFlEZzcSIaLv0YDanqYPoorydM3JwFSphPH XSFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=IlvajaKUGBgdwl/EKcBXAqtwYn52rZIT4xkJEaRGets=; b=mGcYZ48t+pBe7Z6idnONRazBuvGAiLX6d4cEF6RGAAtqdAlBlvwZ5H1jfk2HxkLxk8 nHtAqR0TM0Zv9EBRgBZ9HPuw9yTDGNgtBQg2esWq2DThFzv4cbN84WdFw8+/QCAiD4L6 DCU9FVnPFAIWo+c4zSaQd3MC8fKYqEbEBhtNralx5SkmazU3zsweH5skBaAB787vaRA2 dt8/z1bfq+ZDPkMNhdyUhuU5BRfk23cnGOTCxFyGW9PKKq+0gFWpo+NwDQmWpEovvtj3 cOcNWxWj3BzkUsJSKEKx/Kpk5T3T3C/jQjk1wpCnpzoElf1/dnX9U3KYTHIY/OhoZmh/ LhSg== X-Gm-Message-State: AJcUukdBN+4LAKg/2pGA0+BzoOXksI3BddTBtdhu5eUgF6/9FyBTlYDp pH0zuukNvfFzo/1CtkilyK9H87/+ X-Google-Smtp-Source: ALg8bN6+yx8lAEpHQHpj6ywj+bqTLddNx3nOx5d/GlYXyEuEZyu+P+Ardt+d/mW1W8+ZyfkFaZjSPg== X-Received: by 2002:a6b:ee16:: with SMTP id i22mr9108273ioh.124.1547789513533; Thu, 17 Jan 2019 21:31:53 -0800 (PST) Received: from kwak ([157.52.5.144]) by smtp.gmail.com with ESMTPSA id e189sm1668130ite.17.2019.01.17.21.31.52 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 21:31:52 -0800 (PST) From: Maxim Cournoyer Date: Fri, 18 Jan 2019 00:31:51 -0500 Message-ID: <87fttq3514.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello! Now that we have a Docker package (thanks to Danny!), this adds cqfd, a small tool to keep track of a Docker base build environment configuration/build commands. Thanks :-) Maxim From c94101e5126f34c613b6a6a3daca1373a90b0882 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 17 Jan 2019 22:03:47 -0500 Subject: [PATCH] gnu: Add cqfd. * gnu/packages/docker.scm (cqfd): New variable. --- gnu/packages/docker.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 23695a0c0..425244a48 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -528,3 +528,41 @@ provisioning etc.") (description "This package provides a command line interface to Docker.") (home-page "http://www.docker.com/") (license license:asl2.0))) + +(define-public cqfd + (package + (name "cqfd") + (version "5.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/savoirfairelinux/cqfd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z4v16lbpbwd5ykawizdclpryp2k006lbk2mv427a4b3nvcd9wik")))) + (build-system gnu-build-system) + (arguments + ;; The test suite requires a docker daemon and connectivity. + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + ;; Fix the directory of the bash completion. + (substitute* "Makefile" + (("completionsdir=.*$") + (string-append "completionsdir=" out + "/etc/bash_completion.d; \\\n"))) + (invoke "make" "install" + (string-append "PREFIX=" out)))))))) + (home-page "https://github.com/savoirfairelinux/cqfd") + (synopsis "Convenience wrapper for Docker") + (description "cqfd is a Bash script that provides a quick and convenient +way to run commands in the ecurrent directory, but within a Docker container +defined in a per-project configuration file.") + (license license:gpl3+))) -- 2.20.1