Noch schneller (0.46.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m38s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 8m0s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 11m51s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 12m15s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m27s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m42s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 16m0s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 15m20s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 56s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m14s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m38s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 8m0s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 11m51s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 12m15s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m27s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m42s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 16m0s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 15m20s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 56s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m14s
- Erscheinungsbild: große Fotos (Anmeldung, Titelbild) beim Speichern als WebP ≤ 2400 px; Migration verkleinert vorhandene einmal - Vite: Grundgerüst und UI-Bausteine als gemeinsame Dateien (Startseite 34 statt 58 Skripte) - Plugin-Oberflächen: Kopie nach public/ erneuert sich bei neuem Build (Fingerabdruck von dist/inhaus.json), auch ohne neue Version Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2b8769aa23
commit
03e31f42b5
422 changed files with 1429 additions and 1712 deletions
|
|
@ -98,8 +98,11 @@ class PluginAssets
|
|||
public function publish(string $slug, PluginManifest $manifest): bool
|
||||
{
|
||||
$target = self::publicPath($slug).'/'.$manifest->version;
|
||||
// Fingerabdruck des Builds: dist/inhaus.json nennt die Dateien mit Hash – ein neuer Build
|
||||
// (auch bei gleicher Versionsnummer, z. B. während der Entwicklung) wird neu kopiert
|
||||
$build = md5((string) @file_get_contents($manifest->path.'/'.self::MANIFEST));
|
||||
|
||||
if (is_file($target.'/.complete')) {
|
||||
if (@file_get_contents($target.'/.complete') === $build) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -131,7 +134,7 @@ class PluginAssets
|
|||
}
|
||||
}
|
||||
|
||||
@file_put_contents($staging.'/.complete', (string) time());
|
||||
@file_put_contents($staging.'/.complete', $build);
|
||||
Filesystem::deleteDirectory($target);
|
||||
|
||||
if (! @rename($staging, $target)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue