Release: cut over Echoion 2.0 components
Modular container CI / release-build (push) Has been cancelled
Modular container CI / release-build (push) Has been cancelled
This commit is contained in:
169 files changed
+3069
-32261
No files matched your search
@@ -53,7 +53,7 @@ library closure into the bundle and assigns relocatable `$ORIGIN` RUNPATHs.
|
||||
Docker is the only host requirement for the default release command:
|
||||
|
||||
```bash
|
||||
scripts/release.sh --version 1.2.3
|
||||
scripts/release.sh --version 2.0.0
|
||||
```
|
||||
|
||||
When validating coordinated, not-yet-published dependency changes, pass
|
||||
@@ -105,20 +105,20 @@ supplied.
|
||||
|
||||
```bash
|
||||
# User install; registers a disabled/stopped user service.
|
||||
./echoion-1.2.3-linux-x86_64.run \
|
||||
./echoion-2.0.0-linux-x86_64.run \
|
||||
--mode user --non-interactive
|
||||
|
||||
# System install and explicit activation.
|
||||
sudo ./echoion-1.2.3-linux-x86_64.run \
|
||||
sudo ./echoion-2.0.0-linux-x86_64.run \
|
||||
--mode system --register-service system --start --non-interactive
|
||||
|
||||
# Fully self-contained portable install, without a service.
|
||||
./echoion-1.2.3-linux-x86_64.run \
|
||||
./echoion-2.0.0-linux-x86_64.run \
|
||||
--mode portable --prefix /srv/echoion-portable \
|
||||
--data-layout self-contained --register-service none --non-interactive
|
||||
|
||||
# A portable tree may also register a stable user service.
|
||||
./echoion-1.2.3-linux-x86_64.run \
|
||||
./echoion-2.0.0-linux-x86_64.run \
|
||||
--mode portable --prefix "$HOME/echoion-portable" \
|
||||
--data-layout self-contained --register-service user --non-interactive
|
||||
```
|
||||
@@ -152,6 +152,13 @@ Select `--data-layout standard` to use conventional external mutable paths:
|
||||
service. `--config-dir` and `--state-dir` remain available as explicit
|
||||
overrides.
|
||||
|
||||
Echoion 2.0 is a manual migration from v1. Stop the v1 service, download the
|
||||
signed v2 `.run` installer, and run it against the existing installation. The
|
||||
installer preserves configuration, identity, database, plugin data, updater
|
||||
journals, ownership, installation scope, and service mode. It also retains the
|
||||
complete v1 executable tree and service definition as the legacy rollback
|
||||
target. There is no v1 feed bridge and v1 cannot auto-update to v2.
|
||||
|
||||
A self-contained portable install also creates `<prefix>/echoion`; use that
|
||||
launcher instead of invoking `current/bin/echoiond` directly. It derives the
|
||||
config and state paths from its own location, so a stopped, service-free tree
|
||||
@@ -167,11 +174,13 @@ stopped unless `--start` is supplied.
|
||||
|
||||
### Updates
|
||||
|
||||
The daemon checks signed feeds and applies independent policies for the runtime
|
||||
bundle, Core, and managed plugins. Each component can select its own source URL
|
||||
and channel through the `updates` object in `config.json`; bearer tokens are
|
||||
read only from named environment variables. HTTPS is required for remote custom
|
||||
sources. A `file://` source is accepted only below the installation's managed
|
||||
The daemon resolves one signed, compatible transaction across every installed
|
||||
server component and managed plugin. A `component-layout` source points either
|
||||
to a feed base URL or an exact `feeds/<channel>/catalog.json`; a `direct`
|
||||
source is an explicit custom feed URL. Each policy selects its source and
|
||||
channel through the `updates` object in `config.json`. Bearer tokens are read
|
||||
only from named environment variables. Remote custom sources require HTTPS. A
|
||||
`file://` direct source is accepted only below the installation's managed
|
||||
`incoming` directory.
|
||||
|
||||
The privileged updater helper never downloads content and never launches the
|
||||
@@ -238,12 +247,34 @@ All commands use the configured prefix (default: `!`)
|
||||
|
||||
## Architecture
|
||||
|
||||
The supported runtime consists of four main components:
|
||||
This repository contains orchestration CMake, the component registry and lock,
|
||||
configuration examples, installer, release packaging, feed publication, and
|
||||
Gitea workflows. Executables, native modules, the Web module, and first-party
|
||||
plugins are maintained in independent sibling repositories:
|
||||
|
||||
1. **EchoionApi** - Shared interfaces and types
|
||||
2. **EchoionCore** - Core music playback logic (hot-reloadable)
|
||||
3. **VoidTeamspeak** - Reusable native TeamSpeak SDK-compatible client library
|
||||
4. **EchoionStandalone** - Daemon host and Core API adapter
|
||||
- **EchoionApi** — module contracts, SDK wrappers, and shared API types
|
||||
- **EchoionHost** — reusable module loading and lifecycle
|
||||
- **EchoionCore** — playback, commands, RPC, and state; reloadable
|
||||
- **EchoionWeb** — HTTP backend, dashboard, and frontend assets
|
||||
- **EchoionStandalone** — stable `echoiond` daemon and orchestration adapter
|
||||
- **EchoionUpdater** — root-owned generation activation helper
|
||||
- **EchoionDesktop** — Qt desktop client with its own local update feed
|
||||
- **EchoionPluginUrlShortenerInternal** and
|
||||
**EchoionPluginUrlShortenerExternal** — first-party reloadable plugins
|
||||
|
||||
`components.json` describes those repositories and
|
||||
`components.lock.json` records the exact release revisions and artifact
|
||||
identities. Ordinary development follows component `main`; release builds use
|
||||
the exact lock. `CPM_<Component>_SOURCE` remains available for a clean local
|
||||
override. The repositories are ordinary SSH checkouts, not submodules.
|
||||
|
||||
The native module ABI is descriptor-based and size-versioned. Implementations
|
||||
may use C++ standard-library, Qt, `Void::`, exceptions, or RTTI-owned objects
|
||||
when the producer and consumer contract declares them; the API SDK reuses
|
||||
VoidLibrary facilities instead of duplicating equivalent Echoion types.
|
||||
|
||||
**VoidTeamspeak** remains the independently consumable native TeamSpeak client
|
||||
library used by the Standalone adapter.
|
||||
|
||||
The legacy TeamSpeak client plugin was removed. TeamSpeak protocol behavior is
|
||||
implemented once in `VoidTeamspeak`; `EchoionStandalone` is Echoion's only host
|
||||
@@ -286,7 +317,7 @@ manifest path before a release is staged:
|
||||
```bash
|
||||
export ECHOION_RELEASE_MANIFEST="$HOME/echoion/releases/pending-release.json"
|
||||
# Start the development daemon with its normal --config/--state-dir arguments.
|
||||
scripts/stage-release.sh "$HOME/echoion/releases" 1.2.3 \
|
||||
scripts/stage-release.sh "$HOME/echoion/releases" 2.0.0 \
|
||||
build-release/runtime-stage
|
||||
```
|
||||
|
||||
@@ -333,31 +364,29 @@ contains:
|
||||
- the external v2 manifest and ELF dependency report;
|
||||
- `SHA256SUMS` for all published artifacts.
|
||||
|
||||
Pass `--update-url` to emit a matching unsigned runtime feed payload, with
|
||||
optional `--update-channel`, `--update-feed-id`, and `--update-sequence`
|
||||
overrides:
|
||||
Choose the package channel and replay sequence when producing the independent
|
||||
component artifacts:
|
||||
|
||||
```bash
|
||||
scripts/release.sh --version 1.2.3 \
|
||||
--update-url https://updates.example.org/echoion-1.2.3-linux-x86_64.tar.zst \
|
||||
scripts/release.sh --version 2.0.0 \
|
||||
--update-channel stable --update-sequence 123
|
||||
```
|
||||
|
||||
Production feeds should be wrapped in an Ed25519 envelope. The generator signs
|
||||
the exact payload bytes and never places the private key in the release. It
|
||||
generates runtime feeds by default; use `--component core` for a Core shared
|
||||
library or `--component plugin --artifact-id ID` for a managed plugin. Core and
|
||||
plugin feeds do not require a runtime release manifest:
|
||||
Official releases package every locked component independently and the root
|
||||
workflow publishes the signed channel catalog plus immutable component feeds in
|
||||
one protected `release-feed` commit. `scripts/generate-update-feed.py` is kept
|
||||
only for explicit custom `direct` sources. It signs exact payload bytes and
|
||||
never places the private key in the release:
|
||||
|
||||
```bash
|
||||
scripts/generate-update-feed.py \
|
||||
--artifact dist/echoion-1.2.3-linux-x86_64.tar.zst \
|
||||
--manifest dist/echoion-1.2.3-linux-x86_64.manifest.json \
|
||||
--version 1.2.3 \
|
||||
--url https://updates.example.org/echoion-1.2.3-linux-x86_64.tar.zst \
|
||||
--artifact dist/echoion-2.0.0-linux-x86_64.tar.zst \
|
||||
--manifest dist/echoion-2.0.0-linux-x86_64.manifest.json \
|
||||
--version 2.0.0 \
|
||||
--url https://updates.example.org/echoion-2.0.0-linux-x86_64.tar.zst \
|
||||
--sequence 123 \
|
||||
--output-payload dist/echoion-1.2.3.update-payload.json \
|
||||
--output-envelope dist/echoion-1.2.3.update.json \
|
||||
--output-payload dist/echoion-2.0.0.update-payload.json \
|
||||
--output-envelope dist/echoion-2.0.0.update.json \
|
||||
--key-id production-2026 --private-key /secure/echoion-update.pem
|
||||
```
|
||||
|
||||
@@ -380,7 +409,7 @@ under a restrictive shell umask:
|
||||
|
||||
```bash
|
||||
tar --same-permissions --no-same-owner --zstd \
|
||||
-xf echoion-1.2.3-linux-x86_64.tar.zst
|
||||
-xf echoion-2.0.0-linux-x86_64.tar.zst
|
||||
```
|
||||
|
||||
### CMake Package Support
|
||||
|
||||
Reference in new issue
Block a user