From patchwork Sat Mar 22 17:09:07 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: 40636 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 23BA227BBE2; Sat, 22 Mar 2025 17:11:21 +0000 (GMT) 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=unavailable 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 1F9FC27BBE9 for ; Sat, 22 Mar 2025 17:11:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tw2NO-0000bF-Hr; Sat, 22 Mar 2025 13:11:14 -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 1tw2NE-0000WW-Lc for guix-patches@gnu.org; Sat, 22 Mar 2025 13:11:06 -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 1tw2NE-0007kI-BD for guix-patches@gnu.org; Sat, 22 Mar 2025 13:11: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=VX9zwRG9AbWSFigf+2nDAKhrzYQHLUjoxxAw1SmgTE0=; b=oPJ9BOmW8yo5YO2iu5UFP3pxEdeY7ExTrnMY1Y7bnWp4u/RiamlH/844IbXt474a216ILqyM1UtN3wF07Fx8yhdR5JQz0Kwph/l5MDgZ0idfCGxJSPnbVSQwBxqrXCtP0cteT914sbC0ugcgduRUzwdz5pThjSXlnRd5WS0eVgbmAPnjPjd4nIkrJ1mb6Z/jo0Wq+nv9Y+dRd5l6GM7BP3J3M2dMA75KYs53UlZmBtN4alxFRdZmdnp8KtkBxpsJdn4gKaiKttjhSf8FD2rv5CcwKzskFnXHZFC+jGPEtA90lYySoIokm5A1GFw4/L4knNfyKboUTCoqtCvfaJ0alA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tw2NE-0007IM-5V for guix-patches@gnu.org; Sat, 22 Mar 2025 13:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77186] [PATCH v2 06/13] 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: Sat, 22 Mar 2025 17:11:04 +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.174266342927754 (code B ref 77186); Sat, 22 Mar 2025 17:11:04 +0000 Received: (at 77186) by debbugs.gnu.org; 22 Mar 2025 17:10:29 +0000 Received: from localhost ([127.0.0.1]:45245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tw2Me-0007DT-RI for submit@debbugs.gnu.org; Sat, 22 Mar 2025 13:10:29 -0400 Received: from wolfsden.cz ([37.205.8.62]:57566) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tw2ME-000751-Eo for 77186@debbugs.gnu.org; Sat, 22 Mar 2025 13:10:04 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id A67E5380A27; Sat, 22 Mar 2025 17:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1742663400; bh=jVldggccuakR+igEz1cVhftiIPlxjkfGybvZybbnbC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qHUOPyIFtOqR+WGmpoC73PUklJCflbS3UqVo47rqDIaK5ZJoZUL9y+Zbfcehw6nmd NP49uxb0cOy5CwRpshAFp+eQUlab5HnxTA96h1LZ2wos+YoYevu+dbj+Mhc4N5ij91 j9IYS7NZQy2zv4h0z1aO6WgGXlY2/LaGwS9dY+cuGZQ+5xuuNfrZpFgHHtgbX23tgq x6FaTRVadGWFr56T4thU4fgH83JztsPkJ2KjqUhrFp8fi5/mh2cX7THv5JqiIeWwzC 1hiUFUnYvbGPWBgQxMHI2ycuZV3YxzzD8JHSVWbZZsSYGSL61l/pWPuXVz6HwOiXPA ZSfF8cnWfRE/Tbl95T18M4UQ/rCfBAEgoem+bkw9Mh3C6sy4Bt9Wz/1X/SIyM5YRlW ADaioagNeHhl02yX8IqswCubDqxiKXHEzUGd+eu4OBodxho0zOvKxc8ZPWriWPR6Yz u742WWByZJSmJSMS+Jwo/ZQPtg6WuLrT7xc+UXrTTd/ksgf2MlmOetJhnqkyRfHvVP OQdu1oMzyvhPgdMx7dARUo+99JxslP3uQddi0sRWW3MEd2gV+3DHMG0nQbnF1uxRg6 E3davMX8kT3erfrtiQiXdlzktAZSDkf4nve3PJitQ9SyIHlDR2ttRE/2aT2Yq2RCfe dZ2+g4s//2Pfzq31edvaoChA= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 1C31B37EA6C; Sat, 22 Mar 2025 17:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1742663400; bh=jVldggccuakR+igEz1cVhftiIPlxjkfGybvZybbnbC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qHUOPyIFtOqR+WGmpoC73PUklJCflbS3UqVo47rqDIaK5ZJoZUL9y+Zbfcehw6nmd NP49uxb0cOy5CwRpshAFp+eQUlab5HnxTA96h1LZ2wos+YoYevu+dbj+Mhc4N5ij91 j9IYS7NZQy2zv4h0z1aO6WgGXlY2/LaGwS9dY+cuGZQ+5xuuNfrZpFgHHtgbX23tgq x6FaTRVadGWFr56T4thU4fgH83JztsPkJ2KjqUhrFp8fi5/mh2cX7THv5JqiIeWwzC 1hiUFUnYvbGPWBgQxMHI2ycuZV3YxzzD8JHSVWbZZsSYGSL61l/pWPuXVz6HwOiXPA ZSfF8cnWfRE/Tbl95T18M4UQ/rCfBAEgoem+bkw9Mh3C6sy4Bt9Wz/1X/SIyM5YRlW ADaioagNeHhl02yX8IqswCubDqxiKXHEzUGd+eu4OBodxho0zOvKxc8ZPWriWPR6Yz u742WWByZJSmJSMS+Jwo/ZQPtg6WuLrT7xc+UXrTTd/ksgf2MlmOetJhnqkyRfHvVP OQdu1oMzyvhPgdMx7dARUo+99JxslP3uQddi0sRWW3MEd2gV+3DHMG0nQbnF1uxRg6 E3davMX8kT3erfrtiQiXdlzktAZSDkf4nve3PJitQ9SyIHlDR2ttRE/2aT2Yq2RCfe dZ2+g4s//2Pfzq31edvaoChA= From: Tomas Volf <~@wolfsden.cz> Date: Sat, 22 Mar 2025 18:09:07 +0100 Message-ID: <07f9cc3ac1ea9ea1eefea82da3c107d9f0792a8e.1742663354.git.~@wolfsden.cz> X-Mailer: git-send-email 2.48.1 In-Reply-To: <39fb02cc97f30aa37523d9f5f9390264d53fcf8b.1742663354.git.~@wolfsden.cz> References: <39fb02cc97f30aa37523d9f5f9390264d53fcf8b.1742663354.git.~@wolfsden.cz> 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 "")))