diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d4c616..58ea32a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -260,7 +260,7 @@ jobs: if token: headers["Authorization"] = f"Bearer {token}" req = urllib.request.Request( - "https://api.github.com/repos/viktor-ferenczi/Magnetar/releases/latest", + "https://api.github.com/repos/CometWorks/magnetar/releases/latest", headers=headers, ) with urllib.request.urlopen(req) as response: @@ -404,7 +404,7 @@ jobs: run: | $ErrorActionPreference = 'Stop' - $release = gh api repos/viktor-ferenczi/Magnetar/releases/latest | ConvertFrom-Json + $release = gh api repos/CometWorks/magnetar/releases/latest | ConvertFrom-Json if ($release.draft -or $release.prerelease) { throw "latest Magnetar release is not a full release" } @@ -494,7 +494,7 @@ jobs: | **Linux** (x64) | **`quasar-installer-linux.tar.gz`** | | **Windows** (x64) | **`quasar-installer-windows.zip`** | - Download the archive with **installer** in its name. It contains one top-level folder with the Quasar **Bootstrap launcher**, the install/uninstall scripts, and a default `appsettings.json`. Follow the [Linux](https://github.com/viktor-ferenczi/Quasar/blob/main/Docs/LinuxDeploymentAndUpdates.md) or [Windows](https://github.com/viktor-ferenczi/Quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md) deployment guide to install it. The web UI is available on http://127.0.0.1:8080 by default (the web server listens on all interfaces at 0.0.0.0:8080). + Download the archive with **installer** in its name. It contains one top-level folder with the Quasar **Bootstrap launcher**, the install/uninstall scripts, and a default `appsettings.json`. Follow the [Linux](https://github.com/CometWorks/quasar/blob/main/Docs/LinuxDeploymentAndUpdates.md) or [Windows](https://github.com/CometWorks/quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md) deployment guide to install it. The web UI is available on http://127.0.0.1:8080 by default (the web server listens on all interfaces at 0.0.0.0:8080). The other two archives (`quasar-web-linux-x64.tar.gz` and `quasar-web-win-x64.zip`) are updates that Quasar downloads and applies automatically — you never download them by hand. diff --git a/Docs/LinuxDeploymentAndUpdates.md b/Docs/LinuxDeploymentAndUpdates.md index aa0c06f..c706e80 100644 --- a/Docs/LinuxDeploymentAndUpdates.md +++ b/Docs/LinuxDeploymentAndUpdates.md @@ -224,8 +224,8 @@ both read that data-directory file on startup. ```json { "Enabled": true, - "Owner": "viktor-ferenczi", - "Repository": "Quasar", + "Owner": "CometWorks", + "Repository": "quasar", "IncludePrerelease": false, "AutoStageWebUpdates": true, "CheckIntervalSeconds": 900, diff --git a/Docs/Reference/files/Quasar/Services/ManagedRuntimeOptions.cs.md b/Docs/Reference/files/Quasar/Services/ManagedRuntimeOptions.cs.md index 5bd1759..3aa7c5b 100644 --- a/Docs/Reference/files/Quasar/Services/ManagedRuntimeOptions.cs.md +++ b/Docs/Reference/files/Quasar/Services/ManagedRuntimeOptions.cs.md @@ -13,7 +13,7 @@ Namespace: `Quasar.Services` | Property | Default / env var override | |----------|---------------------------| | `MagnetarArchiveUrl` | Empty by default; direct URL override via `QUASAR_MAGNETAR_ARCHIVE_URL` | -| `MagnetarReleaseApiUrl` | `https://api.github.com/repos/viktor-ferenczi/Magnetar/releases/latest`; `QUASAR_MAGNETAR_RELEASE_API_URL` | +| `MagnetarReleaseApiUrl` | `https://api.github.com/repos/CometWorks/magnetar/releases/latest`; `QUASAR_MAGNETAR_RELEASE_API_URL` | | `MagnetarArchiveAssetPattern` | Windows: `MagnetarForWindows-*.7z`; Linux/other: `MagnetarForLinux-*.7z`; `QUASAR_MAGNETAR_ARCHIVE_ASSET_PATTERN` | | `MagnetarInstallDirectory` | `MagnetarPaths.GetQuasarManagedMagnetarInstallDirectory()`; `QUASAR_MAGNETAR_INSTALL_DIR` | | `SteamCmdArchiveUrl` | Windows: ZIP from Valve; Linux: `.tar.gz` from Valve; `QUASAR_STEAMCMD_ARCHIVE_URL` | diff --git a/Docs/Reference/files/Quasar/Services/Updates/QuasarUpdateOptions.cs.md b/Docs/Reference/files/Quasar/Services/Updates/QuasarUpdateOptions.cs.md index db8ac03..8150efa 100644 --- a/Docs/Reference/files/Quasar/Services/Updates/QuasarUpdateOptions.cs.md +++ b/Docs/Reference/files/Quasar/Services/Updates/QuasarUpdateOptions.cs.md @@ -15,8 +15,8 @@ Namespace: `Quasar.Services.Updates` | Property | Default / env var override | |---|---| | `Enabled` | `true`; `QUASAR_UPDATES_ENABLED` | -| `Owner` | `viktor-ferenczi`; `QUASAR_UPDATES_OWNER` | -| `Repository` | `Quasar`; `QUASAR_UPDATES_REPOSITORY` | +| `Owner` | `CometWorks`; `QUASAR_UPDATES_OWNER` | +| `Repository` | `quasar`; `QUASAR_UPDATES_REPOSITORY` | | `IncludePrerelease` | `false`; `QUASAR_UPDATES_INCLUDE_PRERELEASE` | | `AutoStageWebUpdates` | `true`; `QUASAR_UPDATES_AUTO_STAGE_WEB` | | `CheckInterval` | 900 seconds minimum 60; `QUASAR_UPDATES_CHECK_INTERVAL_SECONDS` | diff --git a/Docs/Reference/files/Quasar/appsettings.json.md b/Docs/Reference/files/Quasar/appsettings.json.md index 723dc8a..fb2b4cf 100644 --- a/Docs/Reference/files/Quasar/appsettings.json.md +++ b/Docs/Reference/files/Quasar/appsettings.json.md @@ -19,7 +19,7 @@ Default application configuration for the Quasar host. Provides baseline values - `AgentOfflineShutdownSeconds`: `3600` - `AgentReconnectIntervalSeconds`: `10`, `AgentReconnectJitterSeconds`: `3` - `AgentProfilerMode`: `"SafeContinuous"` — fallback profiler mode forwarded to managed agents as `QUASAR_AGENT_PROFILER_MODE` when a server has no per-server profiler mode -- `Updates`: enabled GitHub update checks against `viktor-ferenczi/Quasar`, 900 s interval; Linux assets `quasar-web-linux-x64.tar.gz` / `quasar-installer-linux.tar.gz`, Windows assets `quasar-web-win-x64.zip` / `quasar-installer-windows.zip`; prereleases disabled by default +- `Updates`: enabled GitHub update checks against `CometWorks/quasar`, 900 s interval; Linux assets `quasar-web-linux-x64.tar.gz` / `quasar-installer-linux.tar.gz`, Windows assets `quasar-web-win-x64.zip` / `quasar-installer-windows.zip`; prereleases disabled by default **`Quasar.ManagedRuntime`** (maps to `ManagedRuntimeOptions`): - `MagnetarArchiveUrl`, `MagnetarInstallDirectory` diff --git a/Docs/WindowsDeploymentAndUpdates.md b/Docs/WindowsDeploymentAndUpdates.md index fad64de..4a4c83f 100644 --- a/Docs/WindowsDeploymentAndUpdates.md +++ b/Docs/WindowsDeploymentAndUpdates.md @@ -163,8 +163,8 @@ Update defaults live in `Quasar:Updates`: ```json { "Enabled": true, - "Owner": "viktor-ferenczi", - "Repository": "Quasar", + "Owner": "CometWorks", + "Repository": "quasar", "IncludePrerelease": false, "AutoStageWebUpdates": true, "CheckIntervalSeconds": 900, diff --git a/Quasar.Bootstrap/Program.cs b/Quasar.Bootstrap/Program.cs index f477499..2246e8e 100644 --- a/Quasar.Bootstrap/Program.cs +++ b/Quasar.Bootstrap/Program.cs @@ -577,9 +577,9 @@ internal sealed class BootstrapOptions public bool UpdatesEnabled { get; init; } = true; - public string UpdatesOwner { get; init; } = "viktor-ferenczi"; + public string UpdatesOwner { get; init; } = "CometWorks"; - public string UpdatesRepository { get; init; } = "Quasar"; + public string UpdatesRepository { get; init; } = "quasar"; public bool UpdatesIncludePrerelease { get; init; } @@ -660,10 +660,10 @@ public static BootstrapOptions Create() UpdatesEnabled = updatesEnabled, UpdatesOwner = Environment.GetEnvironmentVariable("QUASAR_UPDATES_OWNER") ?? updatesSection["Owner"] - ?? "viktor-ferenczi", + ?? "CometWorks", UpdatesRepository = Environment.GetEnvironmentVariable("QUASAR_UPDATES_REPOSITORY") ?? updatesSection["Repository"] - ?? "Quasar", + ?? "quasar", UpdatesIncludePrerelease = includePrerelease, UpdatesCheckInterval = TimeSpan.FromSeconds(intervalSeconds), LinuxWebAssetName = Environment.GetEnvironmentVariable("QUASAR_UPDATES_LINUX_WEB_ASSET") diff --git a/Quasar/Services/ManagedRuntimeOptions.cs b/Quasar/Services/ManagedRuntimeOptions.cs index 72106ee..b106c8d 100644 --- a/Quasar/Services/ManagedRuntimeOptions.cs +++ b/Quasar/Services/ManagedRuntimeOptions.cs @@ -4,7 +4,7 @@ namespace Quasar.Services; public sealed class ManagedRuntimeOptions { - private const string DefaultMagnetarReleaseApiUrl = "https://api.github.com/repos/viktor-ferenczi/Magnetar/releases/latest"; + private const string DefaultMagnetarReleaseApiUrl = "https://api.github.com/repos/CometWorks/magnetar/releases/latest"; private const string DefaultLinuxMagnetarArchiveAssetPattern = "MagnetarForLinux-*.7z"; private const string DefaultWindowsMagnetarArchiveAssetPattern = "MagnetarForWindows-*.7z"; private const string DefaultLinuxSteamCmdArchiveUrl = "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz"; diff --git a/Quasar/Services/Updates/QuasarUpdateOptions.cs b/Quasar/Services/Updates/QuasarUpdateOptions.cs index 04d836b..d2095ee 100644 --- a/Quasar/Services/Updates/QuasarUpdateOptions.cs +++ b/Quasar/Services/Updates/QuasarUpdateOptions.cs @@ -4,9 +4,9 @@ public sealed class QuasarUpdateOptions { public bool Enabled { get; init; } = true; - public string Owner { get; init; } = "viktor-ferenczi"; + public string Owner { get; init; } = "CometWorks"; - public string Repository { get; init; } = "Quasar"; + public string Repository { get; init; } = "quasar"; public bool IncludePrerelease { get; set; } @@ -60,10 +60,10 @@ public static QuasarUpdateOptions Create(IConfiguration configuration) Enabled = enabled, Owner = Environment.GetEnvironmentVariable("QUASAR_UPDATES_OWNER") ?? section["Owner"] - ?? "viktor-ferenczi", + ?? "CometWorks", Repository = Environment.GetEnvironmentVariable("QUASAR_UPDATES_REPOSITORY") ?? section["Repository"] - ?? "Quasar", + ?? "quasar", IncludePrerelease = includePrerelease, AutoStageWebUpdates = autoStageWebUpdates, CheckInterval = TimeSpan.FromSeconds(intervalSeconds), diff --git a/Quasar/appsettings.json b/Quasar/appsettings.json index 2d68d0d..be9421b 100644 --- a/Quasar/appsettings.json +++ b/Quasar/appsettings.json @@ -32,8 +32,8 @@ }, "Updates": { "Enabled": true, - "Owner": "viktor-ferenczi", - "Repository": "Quasar", + "Owner": "CometWorks", + "Repository": "quasar", "IncludePrerelease": false, "AutoStageWebUpdates": true, "CheckIntervalSeconds": 900, diff --git a/README.md b/README.md index e4e475d..b421b54 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ auto-updating them through goal-state reconciliation — while an in-process plu It runs on **Linux** (systemd service) and **Windows** (Scheduled Task), in foreground console or unattended background mode. -Each server uses the **[Magnetar](https://github.com/viktor-ferenczi/Magnetar)** plugin loader and launcher. +Each server uses the **[Magnetar](https://github.com/CometWorks/magnetar)** plugin loader and launcher. Quasar deploys an agent plugin which connects back to Quasar. Quasar downloads Magnetar and the Dedicated Server builds automatically and caches it locally until there is an update. -You can register new plugins by making PRs to the [MagnetarHub](https://github.com/viktor-ferenczi/MagnetarHub). +You can register new plugins by making PRs to the [MagnetarHub](https://github.com/CometWorks/magnetar-hub). ## Getting started diff --git a/scripts/install.ps1 b/scripts/install.ps1 index c04e431..a950be3 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -301,5 +301,5 @@ Manage the task: Stop-ScheduledTask -TaskName '$TaskName' Documentation: - https://github.com/viktor-ferenczi/Quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md + https://github.com/CometWorks/quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md "@ diff --git a/scripts/package-linux-release.sh b/scripts/package-linux-release.sh index c9dff49..be6a62a 100755 --- a/scripts/package-linux-release.sh +++ b/scripts/package-linux-release.sh @@ -68,7 +68,7 @@ normalize_nuget_version() { # beside the README, so relative links would dangle when opened from it. build_packaged_readme() { local source="$1" snippet="$2" dest="$3" - local repo_slug="${GITHUB_REPOSITORY:-viktor-ferenczi/Quasar}" + local repo_slug="${GITHUB_REPOSITORY:-CometWorks/quasar}" local owner="${repo_slug%%/*}" local repo="${repo_slug##*/}" local base_url="https://github.com/$owner/$repo/blob/main/Docs/" diff --git a/scripts/package-windows-release.ps1 b/scripts/package-windows-release.ps1 index f739658..f8e1164 100644 --- a/scripts/package-windows-release.ps1 +++ b/scripts/package-windows-release.ps1 @@ -137,8 +137,8 @@ function Copy-Tree { # relative links would dangle when opened from the unpacked archive. function Build-PackagedReadme { param([string]$Source, [string]$Snippet, [string]$Destination) - $owner = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[0] } else { 'viktor-ferenczi' } - $repo = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[1] } else { 'Quasar' } + $owner = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[0] } else { 'CometWorks' } + $repo = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[1] } else { 'quasar' } # Pin doc links to main: docs on main are always current and always resolve, # unlike a tag/PR-merge ref that may predate a doc or not be a valid blob path. $baseUrl = "https://github.com/$owner/$repo/blob/main/Docs/"