GNU bug report logs -
#70922
[PATCH] Look at DEBBUGS_DATA for Debbugs data.
Previous Next
To reply to this bug, email your comments to 70922 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-mumi <at> gnu.org
:
bug#70922
; Package
mumi
.
(Mon, 13 May 2024 19:56:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Lechner <felix.lechner <at> lease-up.com>
:
New bug report received and forwarded. Copy sent to
bug-mumi <at> gnu.org
.
(Mon, 13 May 2024 19:56:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Maintaining symbolic links to Debbugs data is not reasonable burden
for co-existing installations of various versions of Debbugs and Mumi.
This change further allows the location to be configured in an
operating-system declaration that syncronizes the data from
debbugs.gnu.org via a Shepherd timer. A patch with a 'configuration'
record is available but has not been submitted.
---
mumi/config.scm.in | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/mumi/config.scm.in b/mumi/config.scm.in
index eda815b..cf916fb 100644
--- a/mumi/config.scm.in
+++ b/mumi/config.scm.in
@@ -62,16 +62,17 @@
(string-replace dir "@prefix@"
0 (string-length "${prefix}"))
dir)))))
- (data-dir . ,(let ((maybe-dir
- (string-append (getcwd) "/data")))
- (if (and (getenv "MUMI_UNINSTALLED")
- (file-exists? maybe-dir))
- maybe-dir
- (let ((dir "@localstatedir@/mumi/data"))
- (if (string-prefix? "${prefix}" dir)
- (string-replace dir "@prefix@"
- 0 (string-length "${prefix}"))
- dir)))))
+ (data-dir . ,(or (getenv "DEBBUGS_DATA")
+ (let ((maybe-dir
+ (string-append (getcwd) "/data")))
+ (if (and (getenv "MUMI_UNINSTALLED")
+ (file-exists? maybe-dir))
+ maybe-dir
+ (let ((dir "@localstatedir@/mumi/data"))
+ (if (string-prefix? "${prefix}" dir)
+ (string-replace dir "@prefix@"
+ 0 (string-length "${prefix}"))
+ dir))))))
(host . "localhost")
(port . 1234)
(cache-ttl . 120)
base-commit: 99416ed5c7d950eaf54d52023a2efd975bccac92
--
2.41.0
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Sun, 09 Mar 2025 06:11:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Felix Lechner <felix.lechner <at> lease-up.com>
:
bug acknowledged by developer.
(Sun, 09 Mar 2025 06:11:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 70922-done <at> debbugs.gnu.org (full text, mbox):
Hi Felix,
Felix Lechner <felix.lechner <at> lease-up.com> writes:
> Maintaining symbolic links to Debbugs data is not reasonable burden
> for co-existing installations of various versions of Debbugs and Mumi.
>
> This change further allows the location to be configured in an
> operating-system declaration that syncronizes the data from
> debbugs.gnu.org via a Shepherd timer. A patch with a 'configuration'
> record is available but has not been submitted.
That's reasonable to me, but it should be documented somewhere. Oh
wait, we do not have documentation yet. Hm.
I've streamlined the commet missage and pushed:
--8<---------------cut here---------------start------------->8---
Honor DEBBUGS_DATA environment variable for Debbugs data.
This makes it easier to experiment with various sets of data.
* mumi/config.scm.in (%config) <data-dir>: Honor DEBBUGS_DATA
environment variable.
--8<---------------cut here---------------end--------------->8---
--
Thanks,
Maxim
This bug report was last modified 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.