From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wMt2DDO9XGfLcAEA62LTzQ:P1 (envelope-from ) for ; Fri, 13 Dec 2024 23:03:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wMt2DDO9XGfLcAEA62LTzQ (envelope-from ) for ; Sat, 14 Dec 2024 00:03:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JCFY0jcw; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qM5uzPaH; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734130995; a=rsa-sha256; cv=none; b=fgtWzHdaiAUpdCnqEDw/+8N+5q7oRx+eFipb2K7YZVFVqri/Rj8aIL/l+jCgoWRhipAyc+ FNHUAQ9XdmePaQEVruC9mqXZEZoqjxRk8f7Q4MMlbpm+abXTMqhoe4esgpTAJ9iRSl6WVL MVCzePUiZgonXJTLezzZD3RMobdcBYu8gwGu1UTAPo/p36TahYZVCjaNpV7cQKz6c419Oy jisnxzJ5Jx13d/7MwjPd3kCU3Uw1ja53DG7BELH1o6WqvQQLzq3ZN004QKV16c8mM0wxKt bJSTF99ynfi+y3YFJBUZScEo9eqvyIqLB3H7HZXb3XNLXbYAgenhRvZ6a+MKkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JCFY0jcw; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qM5uzPaH; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734130995; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=p8WLl6n0QXS5oQSdXyAVSmRjiDIqj84jtXMYd6CV1/k=; b=epVk33k46QvbMEwfZrRQ0VLiJSNa3zgZGifxEysqEp9BmoObBp6u/l/cWQ9wCz3XuiQDCO 6tNq4xXR8RgYyEoF6SLBOvPow/Qy3t3En1hQfyJTT18hZXbs1/70MLfWyqTKVB5VQc1Ebr UiYVGQjQ9uM7EOaBSlFrpSqeC4Eq8Gqb/MvR27SkOCSOUaWWvacHEMi4lrbPTQmydjhE0v ZrD9s6z7lfrO9JDjFLPvP9TEQt/0DSjA9MOAYPs8NN/a5q63OONce+DMMkbSWP/auywC+D /2bd4J+WtZQH59g/NQigcNXdFpAWdmt9tSF+PlDz9o/RzBFPcb8NLhrzAo9v/w== 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 1414E7E156 for ; Sat, 14 Dec 2024 00:03:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMEfr-00041c-GA; Fri, 13 Dec 2024 18:02:19 -0500 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 1tMEff-0003xk-5d for guix-patches@gnu.org; Fri, 13 Dec 2024 18:02:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMEfe-0002lU-MV; Fri, 13 Dec 2024 18:02:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=p8WLl6n0QXS5oQSdXyAVSmRjiDIqj84jtXMYd6CV1/k=; b=JCFY0jcwaDFvENgwnK1NsX3NovontOqZn+G0ECekmg9fdBdtBBkzC2+pkJil6Ok19T4a/Jvuva7IYPPHryTpJHGBs7HSwKEZ/5xQ/yGcFXUEnD2s4AqgDfh7BgWC51lfCuBVmR/IVVsC48e8AsLzL1PgZpHetLH3bBpCfcxgA+3pBU8TZcMHNadI04L0BF26lmhhSUp/4qMuv6G1eR4thOp/91Pwhdv8q/3BkQXqpwHAwG+YDqg3jk4WihtB+S3SsPRZhon3hRS4bXP5P/tV6v0yr4rhF8HIUuMY4ePx7zroSQ/xHCPtydf1B181Ns4E2/pvyS1vzw8p8W4q86ZAkg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMEfc-0001Yf-Ad; Fri, 13 Dec 2024 18:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74860] [PATCH 06/10] services: rottlog: Deprecate. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 13 Dec 2024 23:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74860 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74860@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer X-Debbugs-Original-Xcc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by 74860-submit@debbugs.gnu.org id=B74860.17341308955853 (code B ref 74860); Fri, 13 Dec 2024 23:02:04 +0000 Received: (at 74860) by debbugs.gnu.org; 13 Dec 2024 23:01:35 +0000 Received: from localhost ([127.0.0.1]:44571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMEf9-0001WL-8n for submit@debbugs.gnu.org; Fri, 13 Dec 2024 18:01:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMEf7-0001Vi-V6 for 74860@debbugs.gnu.org; Fri, 13 Dec 2024 18:01:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMEcv-0001oQ-IB; Fri, 13 Dec 2024 17:59:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=p8WLl6n0QXS5oQSdXyAVSmRjiDIqj84jtXMYd6CV1/k=; b=qM5uzPaHUmJVFujNXp7k cQn3hZ+K1xUZwQNbJYnwWkvRnzYpD0twb+gVgdc6r7fQf26dcIYOy39pIAAg0nNy5UhRX/y7yVJs5 JJ0aKvr4T1fVsEEDyieDJS+NGvQ3btrIwNZIDS45uPNyM/yRGstDr+2Hhk1zSb+nYTH+XgCujfG+P mT95dyfX1dgy9t2F5GQ5Bg9t3pE592XrDuP5H7NWMJQoLwbCk41VuL/e054MOrudqqyohl3JbFzwI gGGCPWk9w5nq1M6w3B/OGZIYSaFCfjBrMmHSX+oSnLTwmoiN3Fgf5HEoRGk7CuGqeQ06Nd9wI7Ara QDCdd7EjqvPmnQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 13 Dec 2024 23:58:26 +0100 Message-ID: <2b01f136b17b98ec6f9c4a5eb0f7c65ea50f9cea.1734129908.git.ludo@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 1414E7E156 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.77 X-Spam-Score: -5.77 X-TUID: zIjckm5BelMO * gnu/services/admin.scm (rottlog-service-type): Deprecate. * doc/guix.texi (Log Rotation): Add deprecation warning. Change-Id: I661666ff3de64a69ff4f4982d7f432fd575c36df --- doc/guix.texi | 7 +++++++ gnu/services/admin.scm | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 952248f2a0..1df1ccc649 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -20841,6 +20841,13 @@ Log Rotation rotation tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual}), is also provided. +@quotation Warning +The Rottlog service presented here is deprecated in favor of +@code{log-rotation-service-type} (see above). The +@code{rottlog-service-type} variable and related tools will be removed +after 2025-05-15. +@end quotation + The example below shows how to extend it with an additional @dfn{rotation}, should you need to do that (usually, services that produce log files already take care of that): diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm index 7f570f67e4..5d585959a0 100644 --- a/gnu/services/admin.scm +++ b/gnu/services/admin.scm @@ -32,6 +32,7 @@ (define-module (gnu services admin) #:use-module (gnu system accounts) #:use-module ((gnu system shadow) #:select (account-service-type)) #:use-module ((guix store) #:select (%store-prefix)) + #:use-module (guix deprecation) #:use-module (guix gexp) #:use-module (guix modules) #:use-module (guix packages) @@ -298,7 +299,9 @@ (define (rottlog-jobs-or-default config) (or (rottlog-configuration-jobs config) (default-jobs (rottlog-configuration-rottlog config)))) -(define rottlog-service-type +;; TODO: Deprecated; remove sometime after 2025-05-15. +(define-deprecated rottlog-service-type + log-rotation-service-type (service-type (name 'rottlog) (description -- 2.46.0