Message ID | cover.1742642743.git.ludo@gnu.org |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8C1C327BBE2; Sat, 22 Mar 2025 11:38:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5EFF127BBE9 for <patchwork@mira.cbaines.net>; Sat, 22 Mar 2025 11:38:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tvxAz-0001lD-Vf; Sat, 22 Mar 2025 07:38:06 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tvxAw-0001kh-9I for guix-patches@gnu.org; Sat, 22 Mar 2025 07:38:02 -0400 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 <Debian-debbugs@debbugs.gnu.org>) id 1tvxAv-00005s-Vf; Sat, 22 Mar 2025 07:38:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=GvFqGssZzp7JkI8ZZRs3Aa70mAxUy8Nyc/7MRKQrgqk=; b=jX/yOIDaIQpYySYdkUJGZSvvBER2LbbmC3yGMtijsjtZdsixMP4yIPIz9OI6g0QwG9GfNERoszLivQtkWiU77LxKBh1O+b0pE/2kYZuNPsF8x1CZNV//tbDUkVKfezaynZa6KMSm0vgN6skzMmMLumesKl0oEh5boPArwRQ8MP3CgOIL5D/6pkCXXMwdsnvF6tL13o/0toYZYCWIcNcAWHVCJ0OQz9aWS/jn8gituAwn04IFXjYpoYayQJD/PICQMiJfDW2Lwgl34D214vJKjsJDX/7e4SW/0djkVEyslx6kvh36sMB/2FXTRl1pjn7uvdOJtzvnX1hMTxvgioL9ew==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvxAv-0002Y3-Mp; Sat, 22 Mar 2025 07:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77041] [PATCH v2 00/16] Replacing mcron jobs by Shepherd timers References: <cover.1742073920.git.ludo@gnu.org> In-Reply-To: <cover.1742073920.git.ludo@gnu.org> Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 22 Mar 2025 11:38:01 +0000 Resent-Message-ID: <handler.77041.B77041.17426434409537@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77041 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77041@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Ludovic =?utf-8?q?Court?= =?utf-8?q?=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> Received: via spool by 77041-submit@debbugs.gnu.org id=B77041.17426434409537 (code B ref 77041); Sat, 22 Mar 2025 11:38:01 +0000 Received: (at 77041) by debbugs.gnu.org; 22 Mar 2025 11:37:20 +0000 Received: from localhost ([127.0.0.1]:41141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tvxAG-0002Tg-As for submit@debbugs.gnu.org; Sat, 22 Mar 2025 07:37:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33510) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@gnu.org>) id 1tvxAE-0002TQ-Gr for 77041@debbugs.gnu.org; Sat, 22 Mar 2025 07:37:19 -0400 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 <ludo@gnu.org>) id 1tvxA8-0008Sk-4c; Sat, 22 Mar 2025 07:37:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=GvFqGssZzp7JkI8ZZRs3Aa70mAxUy8Nyc/7MRKQrgqk=; b=JHcKWGprSL+fW0 fssKspUKufIOTjhv8I7uxnmDcMPA8DB0cnA0B/0W0WpKhsReta7Kb1m+KwgpuVznXcdgp+rz7Ywlx o2L4vV0tsPr4KDedG2D20DOYYYQWCzwmOcHcZ27jeGH7POcpTc+D4zrSivAzca2B4eM2YWKSWgcvO IXQTuIJgJzQLGCxBWFghD4/pzmq9gfqXqWnzssBeL4DjC5td4NUm9lRwuSSo7goR0HAFvAhXXuW1v mKcGBFx0m3rZLdR1hHx9ijbo0a3QgavWX/7+lvEbyJR+8L2qvi6vraaBGZhqKWYqyXRCXsgrD9oTG CZozA1D8EbXpL38Ll4UQ==; From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Date: Sat, 22 Mar 2025 12:36:37 +0100 Message-ID: <cover.1742642743.git.ludo@gnu.org> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Replacing mcron jobs by Shepherd timers
|
|
Message
Ludovic Courtès
March 22, 2025, 11:36 a.m. UTC
Hello Guix, Here are the changes since v1: • Remove mcron deprecation and associated news entry. • Document timers and give examples under “Scheduled Job Execution” and “Shepherd Home Service”. Recommend use of Shepherd timers rather than mcron. • Add ‘shepherd-timer’ procedure to reduce boilerplate, as suggested by Luis Guilherme Coelho. • Reintroduce missing quote in fstrim documentation. Thoughts? Ludo’. Ludovic Courtès (16): services: shepherd: Factorize ‘trigger’ action. services: file-database: Turn into a Shepherd timer. services: file-database: Exclude /dev by default. services: package-database: Turn into a Shepherd timer. services: fstrim: Turn into a Shepherd timer. services: certbot: Turn into a Shepherd timer. services: wireguard: Turn monitoring into a Shepherd timer. tests: Make ‘operating-system-with-console-syslog’ public. tests: ganeti: Remove unnecessary ‘begin’. tests: ganeti: Write system log to /dev/console. tests: ganeti: Increase VM memory size. services: ganeti: Update to Shepherd 1.0 interface. services: ganeti: Produce Shepherd timers instead of mcron jobs. services: virtual-build-machine: Turn GC job into a Shepherd timer. services: shepherd: Add ‘shepherd-timer’. doc: Document Shepherd timers and recommend against mcron. doc/guix.texi | 208 ++++++++++++++++++++++++++++---- gnu/home/services/shepherd.scm | 4 +- gnu/services/admin.scm | 68 +++++++---- gnu/services/backup.scm | 6 +- gnu/services/certbot.scm | 93 +++++++------- gnu/services/ganeti.scm | 135 ++++++++++----------- gnu/services/linux.scm | 50 ++++---- gnu/services/shepherd.scm | 34 ++++++ gnu/services/virtualization.scm | 22 +++- gnu/services/vpn.scm | 199 +++++++++++++++--------------- gnu/tests.scm | 21 ++++ gnu/tests/ganeti.scm | 120 +++++++++--------- gnu/tests/install.scm | 20 --- 13 files changed, 607 insertions(+), 373 deletions(-) base-commit: efac1498c15198afc4f9a2bc700408bde1b3b3ed
Comments
Hi,
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
If you apply this series to master with 'b4 shazam
cover.1742073920.git.ludo@gnu.org', it should automatically add the
'Reviewed-by:' git trailers to every of these 15 commits.
Note that I haven't locally tested it, just reviewed the diffs, but I
trust your self-test/QA hygiene.
Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > If you apply this series to master with 'b4 shazam > cover.1742073920.git.ludo@gnu.org', it should automatically add the > 'Reviewed-by:' git trailers to every of these 15 commits. Impressive, didn’t know about it. However it added a sign-off from me, but not a ‘Reviewed-by’ tag, so I ended up doing that manually. Pushed as 60e4012dfcbe0df5c7e60f097ae2b11d92f982ff. Thanks everyone! Ludo’.