mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-21 19:25:56 +00:00
Rebuild installed modules for the new core during an update
The core changes almost daily and a plugin loads only into the core it was built for. update::apply now brings every enabled plugin to the new core before the trial start: a build already in the store is reused, otherwise it is rebuilt from the sources recorded at its last build (build recipe). A plugin that cannot be rebuilt is switched off with the reason (and plugins that depend on it); the core update always goes ahead. A rollback puts the builds for the restored core back. The update result lists rebuilt and switched-off modules. Also: plugin.json records the real compiler instead of a fixed string. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
76be1d3238
commit
da94fb49a4
16 files changed
+424
-33
No files matched your search
@@ -551,6 +551,8 @@ export function Overview({ server, companions = true, onForget, onOpenUpdates, o
|
||||
</p>
|
||||
)}
|
||||
{upd.result && "committed" in upd.result && !!upd.result.preexistingCharacters && <p className="mt-3 text-sm text-warn" role="status">{t("upd.preexistingCharacters", { n: upd.result.preexistingCharacters })}</p>}
|
||||
{upd.result && "committed" in upd.result && !!upd.result.modulesRebuilt?.length && <p className="mt-3 text-sm" role="status">{t("upd.modulesRebuilt", { list: upd.result.modulesRebuilt.join(", ") })}</p>}
|
||||
{upd.result && "committed" in upd.result && upd.result.modulesOff?.map((m) => <p key={m.id} className="mt-3 text-sm text-warn" role="status">{t("upd.moduleOff", { id: m.id, reason: m.reason })}</p>)}
|
||||
{upd.available && upd.preview && (
|
||||
<div className="mt-4 rounded-md border border-gold/40 bg-gold/5 p-3 text-sm">
|
||||
<p>{t("overview.updateAvail", { to: upd.preview.to_version, from: upd.preview.from_version ?? "?" })}</p>
|
||||
|
||||
Reference in new issue
Block a user