From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 11/11] gnu: Add pagure. Date: Sun, 11 Dec 2016 17:54:42 -0500 Message-ID: <20161211225442.GF9474@jasmine> References: <20161211181237.24485-1-ng0@libertad.pw> <20161211181237.24485-12-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGD15-0005oL-VL for guix-devel@gnu.org; Sun, 11 Dec 2016 17:54:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGD11-0004W3-Vv for guix-devel@gnu.org; Sun, 11 Dec 2016 17:54:48 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:38353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGD11-0004Vf-SB for guix-devel@gnu.org; Sun, 11 Dec 2016 17:54:43 -0500 Content-Disposition: inline In-Reply-To: <20161211181237.24485-12-ng0@libertad.pw> 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: ng0 Cc: guix-devel@gnu.org On Sun, Dec 11, 2016 at 06:12:37PM +0000, ng0 wrote: > * gnu/packages/version-control.scm (pagure): New variable. > + (add-after 'install 'install-additional-files > + ;; We need to copy files. Can you give a little more detail about what these files are, why we need them, etc? > + (lambda* (#:key outputs #:allow-other-keys) > + (install-file "files/pagure.cfg.sample" > + (string-append (assoc-ref outputs "out") "/etc/pagure/")) > + (install-file "files/alembic.ini" > + (string-append (assoc-ref outputs "out") "/etc/pagure/")) > + (install-file "files/pagure.conf" > + (string-append (assoc-ref outputs "out") "/etc/httpd/conf.d/")) > + (install-file "files/pagure.wsgi" > + (string-append (assoc-ref outputs "out") "/share/pagure/")) > + (install-file "createdb.py" > + (string-append (assoc-ref outputs "out") "/share/pagure/")) > + #t))))) > + ;; pyclamd ; only for VIRUS_SCAN_ATTACHMENTS Is this a TODO package?