From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KC1bNoHsPGKvOgAAgWs5BA (envelope-from ) for ; Thu, 24 Mar 2022 23:11:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uMslM4HsPGInAgAAauVa8A (envelope-from ) for ; Thu, 24 Mar 2022 23:11:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 69F1823C4F for ; Thu, 24 Mar 2022 23:11:13 +0100 (CET) Received: from localhost ([::1]:57478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXVfj-0001ZP-P8 for larch@yhetil.org; Thu, 24 Mar 2022 18:11:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXVfb-0001Yp-6d for guix-patches@gnu.org; Thu, 24 Mar 2022 18:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXVfa-0004jQ-SV for guix-patches@gnu.org; Thu, 24 Mar 2022 18:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXVfa-0000wp-M0 for guix-patches@gnu.org; Thu, 24 Mar 2022 18:11:02 -0400 Subject: bug#53781: [PATCH shepherd] support: Use XDG_STATE_HOME for log files. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 24 Mar 2022 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53781 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 53781-done@debbugs.gnu.org Mail-Followup-To: 53781@debbugs.gnu.org, ludo@gnu.org, liliana.prikler@gmail.com Received: via spool by 53781-done@debbugs.gnu.org id=D53781.16481598563626 (code D ref 53781); Thu, 24 Mar 2022 22:11:02 +0000 Received: (at 53781-done) by debbugs.gnu.org; 24 Mar 2022 22:10:56 +0000 Received: from localhost ([127.0.0.1]:49588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXVfU-0000wQ-ER for submit@debbugs.gnu.org; Thu, 24 Mar 2022 18:10:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXVfS-0000wC-8W for 53781-done@debbugs.gnu.org; Thu, 24 Mar 2022 18:10:54 -0400 Received: from [2001:470:142:3::e] (port=52630 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXVfF-0004gm-GD; Thu, 24 Mar 2022 18:10:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=9qDdOfw9B9yeoSExZZehBWFL8ZmPiAD1uT5Qq4l6A+8=; b=n59SY9iQcQImUly7YQCq N1XJdqo4NzqdFNHrZu+K43Z4nkM7MLlIJehpw3RfPOxUi6G1KYJEJHB8YOme1OYZMWWkHXf582Opc ETqXh+lZsCYxNacXDTBcEnJj/UzPM2JxOlR0MuRGm8XJoyuLNWXWCGPs+IypAkfUjcyHZS44C4qAa C2rTiErD4FoHUUQiaOV+xf14Rq1A5jTjSMuc+WRLQUyNGrSqnIBfWg52fQC+Dt0EO87k8d4vmMrDY Zc+y/VDZJejAuALPwYuuI3mQXKvnNGuSt2dMUu6GkkBFZN1IUOzl9TfiCoDJFz8loTbTr1BmogI+2 gCIBhrVQEJH+nw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:52129 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXVf6-0002Gc-Kj; Thu, 24 Mar 2022 18:10:40 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <062d00aaa485dd2c8524f6822a524cb3cb3bdc55.camel@gmail.com> Date: Thu, 24 Mar 2022 23:10:30 +0100 In-Reply-To: <062d00aaa485dd2c8524f6822a524cb3cb3bdc55.camel@gmail.com> (Liliana Marie Prikler's message of "Fri, 4 Feb 2022 09:07:09 +0100") Message-ID: <8735j79f3d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648159873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9qDdOfw9B9yeoSExZZehBWFL8ZmPiAD1uT5Qq4l6A+8=; b=NT5CjsNv4eSVg81CQ04c2MURs+ylODevEyrbPJS6WtoR+UUDZsbPCOR9rF+KTRubpRL21k dYkPL7tX6P+IPl2CHAMgNFVwetqbkKGV6nS8Yd8IUYmL5muNmjznM32N+S5JJeObMqo5xS 0XZCPKwC9jwuTOPfJV+u4xfGwf8W3vjTiBRpfRKJory+U+6iit6a8lZPoNYM4CKgtW1+4n 2ZWtEEwBl0N+NFC/LzzjGKB6o1YVOvtBeWQxnFaJyvi6NCV2e5zabWiPVIC+0IQsWTCwmi 6Va0OF+f3UrH2OGE8ommtXW8Dz7sEsuyf7/UbV4yZtpIgXJiG/6KxEWkUqrhDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648159873; a=rsa-sha256; cv=none; b=lG7FHj2rdtD3TQVYj7mIU8tFIPT3v2fL/rq2m8rTeMxSk0S6Z6vX9+DaHuFA9MdA0GEK7E 7Us2fqfDitoHymtS4IJ7ohYs1oEV6M6eQ19z65Ym1Gb6mVf2LtnwPRgdOr0O9P6uMEJjAD 656oBg5Hrm4edrgM7ZjTUXqygocEqb5z85nf+aZWm1U9+MdaZou63YplYwCJXKuFPWm+Fr sy5uhpDPxWxlxrodprZVCJPL0+OWWSI7d77UFAaHNrYM/TW8aA6+ZWfGvJ2lW8Mg4c0Ddy N005Vn21QuOTtqXTr7maC5lf8osG3cTYV/Am2kZmX5XD59h4A0mrTjHgOMzQDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=n59SY9iQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=n59SY9iQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 69F1823C4F X-Spam-Score: -4.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: JRDfsfz+syKr Hi, Liliana Marie Prikler skribis: > As per XDG Base Directory Specification 0.8, "action history" (such as lo= gs) > ought to be stored in $XDG_STATE_HOME, defaulting to $HOME/.local/state. > Respect this specification. > > * modules/shepherd/support.scm (%user-log-dir): Define in terms of > XDG_STATE_HOME. > * doc/shepherd.texi: Adjust accordingly. > * tests/basic.sh: Adjust accordingly. Pushed as ec2a0b07a6dedcbec3cf6bb7328b144a117873e8, thanks! Ludo=E2=80=99.