Migrate Aphanite to New Era #1
Loading…
Reference in a new issue
No description provided.
Delete branch "enita/migrate-aphanite-to-new-era"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Migrate the source code to git.feniota.org and docs site to mc.feniota.org, marking a new era in Aphanite development.
Changes
Docker & deployment
scratchbuild: Replaced the multi-stage (node → rust-slim → fedora-minimal) Dockerfile with a singlequay.io/lingrottin/runners:rust-muslbuild stage producing a static musl binary, copied into a minimalscratchimage running as UID1000.bundle-certsCargo feature (webpki-root-certs) so the binary embeds Mozilla root certs and doesn't depend on a system CA store. The Docker build enables it.APHANITE_IS_CONTAINER→APHANITE_AUTO_INIT. When set,AppConfig::readinitializes the config file automatically, removing the need for thedocker-entrypoint.shwrapper (now deleted).Backend (
src/lib.rs)shutdown_signal()handler (Ctrl+C + SIGTERM) wired intoaxum::serve, and the cron scheduler is now shut down cleanly on exit.Frontend
i18n_key+ optionali18n_argsinstead of a plainmessagestring, rendered through theTranscomponent. Updated all toast call sites acrossManagement,PlayerProfileDetails,PlayerProfiles,User,Home, andLoginpages. (This solves GH-20)Site migration & config
phenocryst.feniota.org/assets.ferris.love/ GitHub to the newmc.feniota.org,assets.feniota.org, andgit.feniota.orglocations (README,capes.json,capes.README.md, copilot-instructions)..zed/settings.jsonlanguage-server config (addedtypescript-language-server, disabledvstls).Continous Integration
pnpm/action-setupandactions/setup-nodeare dropped in favor of the bundled Node.js v24 and pnpm v12 in the CI image. (Details)Refactor Docker image to single-stage build and add graceful shutdownto Migrate Aphanite to New EraMigrate Aphanite to New Erato WIP: Migrate Aphanite to New EraWIP: Migrate Aphanite to New Erato Migrate Aphanite to New Eralgtm