From patchwork Mon Mar 31 22:10:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomas Volf <~@wolfsden.cz> X-Patchwork-Id: 41098 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 BCA8D27BBEA; Mon, 31 Mar 2025 23:12:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_ALL,DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7BDDC27BBE2 for ; Mon, 31 Mar 2025 23:12:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzNMZ-0000DC-O0; Mon, 31 Mar 2025 18:12:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tzNMT-0000C6-8n for guix-patches@gnu.org; Mon, 31 Mar 2025 18:12:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzNMR-0006yC-HT for guix-patches@gnu.org; Mon, 31 Mar 2025 18:12:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=bXyGDdaU7HB+Q7ctyjzaxI8vbloI/RfA8p1WHDh1QY4=; b=LDMo5uVAae+2NbxIUXIX12uAqOXDLyLmoPe2ot4ITeSg6U4Sx+E6E/+pHe6qq+TgJUB0gwk8caLCZUYUJiDqe/eppPb13U5fXaMxguXRvAKaslh0bCC5FdLIg89FAdstFIbHeTk8TSuIDpG37WU5nMAsJ+GaFbam6VBV2U1N/AKaejqzzidMJVMgrAyg8c7tC82UukGpUyqFQjzVBHiEyas7Mj16CRffBThMFiB6524WDyFvJyrdbVWrgmJFHeDNWqiGuRXkYirh+FmPn1r9oAGyIyVMtrrPJUhydKemXILNt3R3FaLIW+c06GpJkl2ZPDAAKFDUlKBEIEQffIrNaw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzNMR-0000ak-CT for guix-patches@gnu.org; Mon, 31 Mar 2025 18:12:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77186] [PATCH v2 06/14] services: gitolite-rc-file: Export default value for enable. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 22:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77186@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> Received: via spool by 77186-submit@debbugs.gnu.org id=B77186.17434590681935 (code B ref 77186); Mon, 31 Mar 2025 22:12:03 +0000 Received: (at 77186) by debbugs.gnu.org; 31 Mar 2025 22:11:08 +0000 Received: from localhost ([127.0.0.1]:43350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzNLY-0000V4-8t for submit@debbugs.gnu.org; Mon, 31 Mar 2025 18:11:08 -0400 Received: from wolfsden.cz ([37.205.8.62]:40976) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tzNL2-0000Pj-Uc for 77186@debbugs.gnu.org; Mon, 31 Mar 2025 18:10:39 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id EBDB1378CE3; Mon, 31 Mar 2025 22:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1743459035; bh=Cal+nuQshd8REsd6ki2mc86Aw/Yl+BGNDRvB/mfBH30=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rqgSJ+PRswU1wUNEg7MH+VoKsZ3mTqeIbBWFs2gyLgUj0wE3dZ+BEEfi3LKzBoU/M SdDATCg7TI2Hw3jzvSuNPQrOzww9pZpy0yAapZjm7k5DX/Sp7WNPphKCbLbtt2J4mK x0Sgq7w54NX2lb4sRVUikuy6GLTcxkp9FDQsWV73/BPtGay/mXbeJWNmgyagQ1W3K5 7nvYvkzv2/zt78bURNcaIGwugeT+Yjl0JH3QMZMx3tqn5UK4BUFvaPVTVzoRpKsEad GYiJTD2VweJxvVVte0wItnHrlpfFnG+XYBVxlgcryJTwgDasddGKKAUJFaouHHPxSp 7RT233bpqv+SUUNHMbMe+7F9h3za0GbEsEVWpnm6jnmHsfpP6wSSUz6+pnZFiuucRV XHu+Ns75G3WTnTaKm4xom99y4hGqn9t4xDy7mVQ9v1/FM4yIS63pUVex/9CqYkVJQT kU/YK1seektZUZ/HWGz3HpoVIJBnw5JCZpICdeWDV35dPXc8FcXDDDyBSqghoCcUep BluKTBTO9Haz8Y6qYbNoKUB0pj21hB+XPtZ3blhmB9cvHXjCQ5U/MpGZc0lh38rPF6 aQno+b6O1pvIfQLg5z2XsLLjouwDMgSTs8LTS82iSvJ8Q7FtE9aMcbZkDvVAkMJPl4 4fsIYR7Ux2vSowRRFiiw68aQ= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 90E26378277; Mon, 31 Mar 2025 22:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1743459035; bh=Cal+nuQshd8REsd6ki2mc86Aw/Yl+BGNDRvB/mfBH30=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rqgSJ+PRswU1wUNEg7MH+VoKsZ3mTqeIbBWFs2gyLgUj0wE3dZ+BEEfi3LKzBoU/M SdDATCg7TI2Hw3jzvSuNPQrOzww9pZpy0yAapZjm7k5DX/Sp7WNPphKCbLbtt2J4mK x0Sgq7w54NX2lb4sRVUikuy6GLTcxkp9FDQsWV73/BPtGay/mXbeJWNmgyagQ1W3K5 7nvYvkzv2/zt78bURNcaIGwugeT+Yjl0JH3QMZMx3tqn5UK4BUFvaPVTVzoRpKsEad GYiJTD2VweJxvVVte0wItnHrlpfFnG+XYBVxlgcryJTwgDasddGKKAUJFaouHHPxSp 7RT233bpqv+SUUNHMbMe+7F9h3za0GbEsEVWpnm6jnmHsfpP6wSSUz6+pnZFiuucRV XHu+Ns75G3WTnTaKm4xom99y4hGqn9t4xDy7mVQ9v1/FM4yIS63pUVex/9CqYkVJQT kU/YK1seektZUZ/HWGz3HpoVIJBnw5JCZpICdeWDV35dPXc8FcXDDDyBSqghoCcUep BluKTBTO9Haz8Y6qYbNoKUB0pj21hB+XPtZ3blhmB9cvHXjCQ5U/MpGZc0lh38rPF6 aQno+b6O1pvIfQLg5z2XsLLjouwDMgSTs8LTS82iSvJ8Q7FtE9aMcbZkDvVAkMJPl4 4fsIYR7Ux2vSowRRFiiw68aQ= From: Tomas Volf <~@wolfsden.cz> Date: Tue, 1 Apr 2025 00:10:12 +0200 Message-ID: <03525ec2ac1e2602638091a0bf8cd26b283cffed.1743459020.git.~@wolfsden.cz> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/services/version-control.scm (gitolite-rc-file-default-enable): New exported variable. (gitolite-rc-file-compiler)[enable]: Use it. Change-Id: Ie6326ff69f3d454d96db6629dd5387757567d68f --- gnu/services/version-control.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/services/version-control.scm b/gnu/services/version-control.scm index b93cb9f590..87f134cb23 100644 --- a/gnu/services/version-control.scm +++ b/gnu/services/version-control.scm @@ -65,6 +65,7 @@ (define-module (gnu services version-control) gitolite-rc-file-roles gitolite-rc-file-enable gitolite-rc-file-extra-content + gitolite-rc-file-default-enable gitolite-service-type @@ -244,6 +245,17 @@ (define* (git-http-nginx-location-configuration #:optional ;;; Gitolite ;;; +(define gitolite-rc-file-default-enable + '("help" + "desc" + "info" + "perms" + "writable" + "ssh-authkeys" + "git-config" + "daemon" + "gitweb")) + (define-record-type* gitolite-rc-file make-gitolite-rc-file gitolite-rc-file? @@ -263,15 +275,7 @@ (define-record-type* (default '(("READERS" . 1) ("WRITERS" . 1)))) (enable gitolite-rc-file-enable - (default '("help" - "desc" - "info" - "perms" - "writable" - "ssh-authkeys" - "git-config" - "daemon" - "gitweb"))) + (default gitolite-rc-file-default-enable)) (extra-content gitolite-rc-extra-content (default "")))