From 09103d0c253e07a57b727e8095ad5ae532625e65 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 29 Jan 2024 13:03:24 -0800 Subject: [PATCH] actions: Drop legacy placeholders for unused actions Since we have done a stable release after changes to action scripts. All FreedomBox installations can be assumed to have moved to the new action scripts format. All old installations will continue to get a security updates only and this change will not reach them. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- actions/dynamicdns | 9 --------- actions/letsencrypt | 9 --------- actions/test_path | 10 ---------- 3 files changed, 28 deletions(-) delete mode 100755 actions/dynamicdns delete mode 100755 actions/letsencrypt delete mode 100755 actions/test_path diff --git a/actions/dynamicdns b/actions/dynamicdns deleted file mode 100755 index 9f035ea7c..000000000 --- a/actions/dynamicdns +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python3 -# SPDX-License-Identifier: AGPL-3.0-or-later -"""Legacy configuration helper for Dynamic DNS, kept for compatibility. - -Cron jobs in the earlier implementation used to call into this script with the -sub-commands 'update' and 'success'. This action script now allows for any -arbitrary sub-command to be called and does nothing. It can be removed after -the release of Debian 12 (bookworm). -""" diff --git a/actions/letsencrypt b/actions/letsencrypt deleted file mode 100755 index cf0190e04..000000000 --- a/actions/letsencrypt +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python3 -# SPDX-License-Identifier: AGPL-3.0-or-later -"""Legacy configuration helper for Let's Encrypt, kept for compatibility. - -LE configuration in the earlier implementation used to call into this script -with the sub-commands 'run-pre-hooks', 'run-renew-hooks' and 'run-post-hooks'. -This action script now allows for any arbitrary sub-command to be called and -does nothing. It can be removed after the release of Debian 12 (bookworm). -""" diff --git a/actions/test_path b/actions/test_path deleted file mode 100755 index 71b85ce88..000000000 --- a/actions/test_path +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/python3 -# -*- mode: python -*- -# SPDX-License-Identifier: AGPL-3.0-or-later -""" -Helper to test whether action scripts use the correct PYTHONPATH. -""" - -import plinth - -print(plinth.__file__)