From patchwork Sat Mar 22 17:00:26 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: 40626 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 CCCEE27BBEA; Sat, 22 Mar 2025 17:02:29 +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=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 8C5E127BBE2 for ; Sat, 22 Mar 2025 17:02:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tw2Ee-0006NM-8A; Sat, 22 Mar 2025 13:02: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 1tw2EX-0006Im-3c for guix-patches@gnu.org; Sat, 22 Mar 2025 13:02: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 1tw2EW-0005DM-Q7 for guix-patches@gnu.org; Sat, 22 Mar 2025 13:02: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=dcSTh81GJGRNkBQs7l17HN3VOGxoTM4E3EXaUWwGPCo=; b=GLDzqqtZntIn4v9g7gGYrERKz8uKxmS0AdtwMr9qcVXSLW+uRZfmHczorZwguMB/B1BXXsu/+tvbyJ/bxH8YTuKDc4ZAs1+xXnZmI8ZX+6KOvmKTQqBFJPCiYht//6fJZZgnEA+zSsLHY7cM6AzIokBs9IouHpVUrV7Uhmccuu88JCI+ueFYhbMe54g/mfOEmnw4ToSEOv+oixi7Tmjq+oFssT9KoN1ifKTleyAUXBcaj4kgE2fa7ZF8NkBXBsulmAx5rm+YMrP6AwnKj/qFo7MguhVAhqzLsBaDVQDWu9nPsz7xamJ2Jg4/G/5Au4Ih7f3vrc5Un7UZyZUeirge5g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tw2EW-0006hO-Le for guix-patches@gnu.org; Sat, 22 Mar 2025 13:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77186] [PATCH 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:02: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.174266288325603 (code B ref 77186); Sat, 22 Mar 2025 17:02:04 +0000 Received: (at 77186) by debbugs.gnu.org; 22 Mar 2025 17:01:23 +0000 Received: from localhost ([127.0.0.1]:45104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tw2Dr-0006es-C5 for submit@debbugs.gnu.org; Sat, 22 Mar 2025 13:01:23 -0400 Received: from wolfsden.cz ([37.205.8.62]:44926) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tw2DE-0006b8-8E for 77186@debbugs.gnu.org; Sat, 22 Mar 2025 13:00:45 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 068CA37F768; Sat, 22 Mar 2025 17:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1742662843; bh=R/4F/wHtxfPkv6MWhaljJS3RA5NEW/fbEX4QiDc4jLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Fs8jQ96FOBqxQ84SnQD10yc+qJAOPY3TfQartiDBUjjfJHTEqmUIRoOqRcU5xuvzn FQmx7AGk9nEXPalUi09RVkZX52bnPPdhpKNKHM/WI+e2NW6LqWphKoGfVBzxJCDAwy UYVpeV5iZM0sYM/uprJuvtZEZlgj912N2IVXUAc2wDNSlsLMAhMY56U1kVj/qAJhwm v/rpnJbZgilJCh34Efe+yGsiYQc/87f0SzyukpEd1HSCyYqrt2d2w7keMbUoKO6OyU rquGDdi2aHdUeIVpJJ2lRr54kgOJTGrvhE82EgbTHOupdlGOshRRX7GhuadA7A6bQx 8FnxYT4Hu3ogKnO10Zk2SxKBe9IMKEHgAJc4SVZm+7aEEf3gW5voWnEtxE26BepFjq Z9li2324qRaDpeL3Q6g2b7smt6ckABwPX5tCtrzD7cuGFpnomU6oFCqqaG8gzZoSHj DzbLEzPEZNiMgASt1C+6mfCEv/uU5vMAvQ4MEukvnqEfAt4d/u6n9g/pYhC5anCVe5 nvVbnj5/QZaApE2TBJ87k63nlgTy/t0FM0cA7GFemtOl4kpPPvSw421GT6ZbIrJ+XA kYZzXhzzVTnB8TBmZxeuMv3eUf6ZYgUQGRU8RAGCRonuYij7LtsvF6qcvZWQlMHsew wK2lDb8CJ0v94kzAbGCktZhs= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 85E5E380460; Sat, 22 Mar 2025 17:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1742662841; bh=R/4F/wHtxfPkv6MWhaljJS3RA5NEW/fbEX4QiDc4jLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=C3IFumRwLgYSDbD5Zu6qIBKXp8Hg77d6OR4UOnpDUtzbtotJhTYihS/ErfZwr39GC gAu5hNa/eAujf1RrqrNISGlTW0bRbpuep7zynQgUKVhNBy9uhtMA63vH+aujh4f7fR J9pKUZApfsNjBP/Hf/5vxZBK1IUsHSD8RM3h1MKows+F7GpO1+sE3Sw3cNVcCf8Z8h V2DCtWBg/NLaY6zFzKhFdU7xwOmrBAyqJ5Sv561RCjxNx5eR0fZx3M31uUQ1PJebWg otitIrZFcRU0xAIuR1QPjMgvMgbsgvLN95n79CkIZd6bi0Zwl2s1V5oKZft0pMBx7C 4FAUnr6V3D6YhwA+7D/Ej6BCQO3XiOoTTolTXAmmq6TfyyOuagAHM/bzREml1EuRBy zqR3F3IAIDluO+k8R8QwBPUea7NLF6YoI059KN32IzZ7ilnjWP3uJUz98g2W2SrR4L 2EBwFmX+yr4SRwMIf9u8Wg5dvS8NN7L34TspNuUiV4v0zLRvxYr1ip6xdfkXGYWalh 5r8CUAnzTTatIiuQtJCF5qSKWBxemmmh05M2RZfT2OMqCNVhmgo7ytWT/l86evaa8A aOV0mhYh757XyQvJHsvjGVsepz1B0o//UStJ3/7uBtnT3GrpZzbOJyfl20iiOskMBv h/JeDLCu7lQJ9DXVk87D9Q7M= From: Tomas Volf <~@wolfsden.cz> Date: Sat, 22 Mar 2025 18:00:26 +0100 Message-ID: X-Mailer: git-send-email 2.48.1 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 6ee81eefe4..b3196199e3 100644 --- a/gnu/services/version-control.scm +++ b/gnu/services/version-control.scm @@ -64,6 +64,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 @@ -243,6 +244,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? @@ -262,15 +274,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 "")))