From debbugs-submit-bounces@debbugs.gnu.org Mon May 13 15:55:22 2024 Received: (at submit) by debbugs.gnu.org; 13 May 2024 19:55:22 +0000 Received: from localhost ([127.0.0.1]:34514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6blW-00006F-8U for submit@debbugs.gnu.org; Mon, 13 May 2024 15:55:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:59934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6blR-000069-2w for submit@debbugs.gnu.org; Mon, 13 May 2024 15:55:17 -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 1s6blO-0002DT-Li for bug-mumi@gnu.org; Mon, 13 May 2024 15:55:12 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1s6bl6-0004jG-GO for bug-mumi@gnu.org; Mon, 13 May 2024 15:55:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=Bd5aLAMnHO9alta cmK5QcIihj3EaanZU2Pepp/+f5fQ=; h=date:subject:cc:to:from; d=lease-up.com; b=NH+CK9rWzbWdeDLRHs2lZsuQAzm1x2iuT4BbDW99gVWLDryltGDd Q6bq/4MC9MmSlCJ3Aeof7OGzwjH4w5r/rCiqHQNgeDvqMKTAx6w3xihIc3zNr/VtOKljSW fY430p01yFcPiwHeTau6b4eFRbJTU5q4w7aPQLF+0+/x5YTXc= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 80e167d6 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 13 May 2024 19:54:50 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5a82ffc1; Mon, 13 May 2024 19:54:49 +0000 (UTC) From: Felix Lechner To: bug-mumi@gnu.org Subject: [PATCH] Look at DEBBUGS_DATA for Debbugs data. Date: Mon, 13 May 2024 12:54:44 -0700 Message-ID: <20240513195444.29074-1-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@us-core.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Felix Lechner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 09 01:10:25 2025 Received: (at 70922-done) by debbugs.gnu.org; 9 Mar 2025 06:10:25 +0000 Received: from localhost ([127.0.0.1]:57762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tr9rh-0005hk-65 for submit@debbugs.gnu.org; Sun, 09 Mar 2025 01:10:25 -0500 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:54293) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tr9rb-0005h1-32 for 70922-done@debbugs.gnu.org; Sun, 09 Mar 2025 01:10:19 -0500 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-223a7065ff8so40228385ad.0 for <70922-done@debbugs.gnu.org>; Sat, 08 Mar 2025 22:10:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741500608; x=1742105408; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QN46UexDZlRx+K0uDGRfkNntXEkbbhqkGjBMl8ELmZ8=; b=Zr1fxKWjiujj/MFrYLSYaDhrjzjV3IEAC51QurwOdL2Wb+/8CsG9A06AcoomqNSY2k cOBArNRdN05u4Fwd2gm0n6oQGaYYJI4LEcK328OB/TctvRY4njI09LfAiOly0GPjjSPA qbllx/IY4tS7YJHZutMf87tprOBm/vhVa3UVxgw/90i5oFG47zw+VVligedY2JKAYeBj P2BeNYDaZ89Ej6Jpc9I8N34iXqAjyVGMcPse3RQf2OLXTZMmOzS88tAnPAY1lzegBDZH EqpsdsH9omL8wvtUZnKL61RaaKbQJtna+0VQ+kGfPfmnz2uEHjx4ui23EqM8pD41L4q1 VkxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741500608; x=1742105408; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QN46UexDZlRx+K0uDGRfkNntXEkbbhqkGjBMl8ELmZ8=; b=wKELlfyrTJ5ftLRuaMGS/vgVgRqw+Tn1BNrP/rrYv8vVAqfdnEOP/yDcNawCrcZLrM zUgJqpK3Jw8h3Dlhx/2b3/zdx6BGfOmI/FUiBHYlh2EG5R8+IT0lMRF0ycqqVB6MRQHq O859yROUWdKW6wSgSKNzX+6nD2JaUfinmf7usQiJhUCNp9XxXtArltSRasT1dUMD/LMN 5TYfS0aIUFPdapenJr3bM4ujWUQlZc/CjUAMo/g+WJgrCNTKm70AqFzH5ln/msnwep79 HlR/Y9xappddDSj+wsBCUXIfwMFBahSqBJZuP/+Suf1FGVYp6s+E9guroqTSXjW9t8FZ mJ7A== X-Gm-Message-State: AOJu0YyiusxR1FNGy38h9cCb8KxLDTpLtMAPtG+NCJms1pTYMw36H+Em PpDW4fIIP+wR3VnLDlz/dQvDJV4RUP6NXl6CcNuwZ5/rq2dwUj+TPeO2xkaFRz3i6A== X-Gm-Gg: ASbGncu8aVGslnznPWYKHjcokSlfeXP7HcGm3SXK8ETkM6Fr5XskLkYMSHK7TpCcyBu d/yxht75s09Cqd5Tr4jZxAkiXEwtTTKO4Qi/vx6iWIai5cyFlLxL+EGzywPH4WYU7kVduwUa7TE f9q3qg42lxYlpeF9zqgmTp+St9O4BPkTFPqpsbx0ekyVXcOSVIjYnzpT/Nv1KfUzFU/cEmgdunR LbqQVu5NjucvLg5s7L/gm4dvKaC8qO+7GKhOGeP78uSTs6FuoEw5MK+EfgeOTB31+XRw7RTd76q ZW+Ihf8/YR53hP9f9mE6wGAyJoHCaulxAM16y1vXpUQ= X-Google-Smtp-Source: AGHT+IFXMcfXArnUz6fZINzq/mUL1/2rf8ZtgIm6mVfb5P3zcoqbp0iIuJPy5VXATg0y5uO1Y8simA== X-Received: by 2002:a05:6a00:1817:b0:736:a77d:5412 with SMTP id d2e1a72fcca58-736aa9f523fmr14016748b3a.12.1741500608367; Sat, 08 Mar 2025 22:10:08 -0800 (PST) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-736982065dfsm5944554b3a.30.2025.03.08.22.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Mar 2025 22:10:07 -0800 (PST) From: Maxim Cournoyer To: Felix Lechner Subject: Re: bug#70922: [PATCH] Look at DEBBUGS_DATA for Debbugs data. In-Reply-To: <20240513195444.29074-1-felix.lechner@lease-up.com> (Felix Lechner's message of "Mon, 13 May 2024 12:54:44 -0700") References: <20240513195444.29074-1-felix.lechner@lease-up.com> Date: Sun, 09 Mar 2025 15:09:53 +0900 Message-ID: <87zfhuu43y.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70922-done Cc: 70922-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Felix, Felix Lechner 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) : Honor DEBBUGS_DATA environment variable. --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim From unknown Tue Jun 17 22:11:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Apr 2025 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator