ソースを参照

marking existing backup and update as deprecated

Medowar 1 ヶ月 前
親
コミット
f84596d926

+ 5 - 0
backup-server/README.md

@@ -1,5 +1,10 @@
 # PSA Orderform Backup Server
 
+> **DEPRECATED** — This component is deprecated and no longer maintained. It is
+> kept in the repository for reference only and will be removed in a future
+> release. Do not deploy it for new installations. Existing deployments keep
+> working, but no fixes or features are planned.
+
 This folder can be deployed as a central backup server for distributed PSA orderform instances.
 
 ## Setup

+ 4 - 0
backup-server/config.sample.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled managed backup server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 // Copy this file to config.php and change the password before deploying.
 define("BACKUP_SERVER_PASSWORD", "change-me");
 

+ 4 - 0
backup-server/index.php

@@ -1,4 +1,8 @@
 <?php
 
+// DEPRECATED: The bundled managed backup server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 header("Location: manage.php");
 exit;

+ 4 - 0
backup-server/lib.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled managed backup server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 // Shared helpers for the backup server. Included by upload.php and manage.php.

+ 5 - 0
backup-server/manage.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled managed backup server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 require_once __DIR__ . "/lib.php";
@@ -382,6 +386,7 @@ $s3LogTail = backupManageLogTail(20);
 </head>
 <body>
     <h1>Backup Management</h1>
+    <p><strong>Deprecated:</strong> This backup server is no longer maintained and will be removed in a future release.</p>
 
     <?php foreach ($messages as $message): ?>
         <p><strong><?php echo backupManageEscape($message); ?></strong></p>

+ 4 - 0
backup-server/s3.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled managed backup server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 // Dependency-free client for S3-compatible object storage (AWS Signature V4,

+ 4 - 0
backup-server/upload.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled managed backup server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 require_once __DIR__ . "/lib.php";

+ 1 - 0
config.sample.php

@@ -57,6 +57,7 @@ define('UPLOADS_URL', SITE_URL . '/data/uploads');
 
 // Manual update settings
 // Point this to the central update server's manifest.php endpoint.
+// Note: the bundled `update-server/` component is deprecated and unmaintained.
 define('UPDATE_MANIFEST_URL', 'https://dev.med0.de/psa/updater/manifest.php');
 define('UPDATE_WORK_DIR', DATA_DIR . 'updates/work/');
 define('UPDATE_BACKUP_DIR', DATA_DIR . 'updates/backups/');

+ 6 - 1
docs/BACKUP_CONFIGURATION.md

@@ -185,7 +185,12 @@ define('BACKUP_REMOTE_TARGETS', [
 
 Jedes Ziel wird unabhängig versucht.
 
-## Managed Backup Server
+## Managed Backup Server (veraltet)
+
+> **Veraltet** — Der mitgelieferte Managed Backup Server (`backup-server/`) wird nicht mehr
+> gepflegt und in einer künftigen Version entfernt. Für neue Installationen sollte er nicht
+> mehr eingerichtet werden; bestehende Deployments funktionieren weiter, erhalten aber keine
+> Korrekturen oder Erweiterungen mehr.
 
 Der Managed Backup Server ist ein separates Verzeichnis `backup-server/`, das auf einem zentralen Webspace bereitgestellt werden kann.
 

+ 5 - 0
update-server/README.md

@@ -1,5 +1,10 @@
 # PSA Orderform Update Server
 
+> **DEPRECATED** — This component is deprecated and no longer maintained. It is
+> kept in the repository for reference only and will be removed in a future
+> release. Do not deploy it for new installations. Existing deployments keep
+> working, but no fixes or features are planned.
+
 This folder can be deployed as the central update server.
 
 Release ZIPs can be managed through `manage.php`:

+ 4 - 0
update-server/config.sample.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled update server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 // Copy this file to config.php and change the password before deploying.
 define("UPDATE_SERVER_PASSWORD", "change-me");
 

+ 4 - 0
update-server/index.php

@@ -1,4 +1,8 @@
 <?php
 
+// DEPRECATED: The bundled update server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 header("Location: manage.php");
 exit;

+ 5 - 0
update-server/manage.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled update server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 $baseDir = __DIR__;
@@ -309,6 +313,7 @@ krsort($releases);
 </head>
 <body>
     <h1>Update Management</h1>
+    <p><strong>Deprecated:</strong> This update server is no longer maintained and will be removed in a future release.</p>
 
     <?php foreach ($messages as $message): ?>
         <p><strong><?php echo updateManageEscape($message); ?></strong></p>

+ 4 - 0
update-server/manifest.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled update server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 header("Content-Type: application/json; charset=utf-8");

+ 4 - 0
update-server/package.php

@@ -1,5 +1,9 @@
 <?php
 
+// DEPRECATED: The bundled update server is deprecated and unmaintained.
+// It is kept for reference only and will be removed in a future release.
+// Do not deploy it for new installations.
+
 declare(strict_types=1);
 
 $baseDir = __DIR__;