all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72590] [PATCH] gnu: gitile: Disable owner validation to allow group access.
@ 2024-08-12  9:55 Evgeny Pisemsky
  0 siblings, 0 replies; only message in thread
From: Evgeny Pisemsky @ 2024-08-12  9:55 UTC (permalink / raw)
  To: 72590

[-- Attachment #1: 0001-gnu-gitile-Disable-owner-validation-to-allow-group-a.patch --]
[-- Type: text/x-patch, Size: 1912 bytes --]

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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-12  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12  9:55 [bug#72590] [PATCH] gnu: gitile: Disable owner validation to allow group access Evgeny Pisemsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.