guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72590] [PATCH] gnu: gitile: Disable owner validation to allow group


From: Evgeny Pisemsky
Subject: [bug#72590] [PATCH] gnu: gitile: Disable owner validation to allow group access.
Date: Mon, 12 Aug 2024 12:55:55 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

>From 8c11f4702afbc73dca0836618cb49316730f5ff1 Mon Sep 17 00:00:00 2001
Message-ID: 
<8c11f4702afbc73dca0836618cb49316730f5ff1.1723456443.git.mail@pisemsky.site>
From: Evgeny Pisemsky <mail@pisemsky.site>
Date: Mon, 12 Aug 2024 12:00:25 +0300
Subject: [PATCH] gnu: gitile: Disable owner validation to allow group access.

* gnu/packages/version-control.scm (gitile): Disable owner validation to allow
group access.

Change-Id: Ifbc02811dd70b39809c8ab72caa12904fe61f476
---
 gnu/packages/version-control.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9f67237d5d..8744e145b9 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
 ;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 Evgeny Pisemsky <mail@pisemsky.site>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2018,7 +2019,14 @@ (define-public gitile
               (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1wb1rajcrzdqjncv40s7hjsnvlh1gq4z9pn9gf210g1iy35vimmz"))))
+        (base32 "1wb1rajcrzdqjncv40s7hjsnvlh1gq4z9pn9gf210g1iy35vimmz"))
+       (modules '((guix build utils)))
+       (snippet '(substitute* "scripts/gitile.in"
+                   (("^.*run-server.*" line)
+                    (string-append
+                     "    (use-modules (git settings))\n"
+                     "    (set-owner-validation! #f)\n"
+                     line))))))
     (build-system gnu-build-system)
     (arguments
      `(#:imported-modules ((guix build guile-build-system)

base-commit: 174ecf5b1077d29498d9de22e27b13047f314feb
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]