GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Linux: let a package say its updates come from elsewhere (as for Flatpak), for the Maestro console · Issue #7613 · aethersdr/AetherSDR

Linux: let a package say its updates come from elsewhere (as for Flatpak), for the Maestro console #7613

New issue
Copy link
New issue
Copy link
Backlog
Backlog
Linux: let a package say its updates come from elsewhere (as for Flatpak), for the Maestro console#7613
Copy link
Labels
enhancementImprovement to existing featurelinuxmaintainer-reviewRequires maintainer review before any action is taken

Description

@ten9876
ten9876
opened on Nov 25, 2026
Issue body actions

Request preparation

  • I used an AI assistant to help structure this request
  • I checked for existing issues covering the same feature

What would you like?

A way for a Linux package to tell AetherSDR that something else keeps it updated, the way AetherSDR already handles Flatpak and the Microsoft Store.

Why. The AetherSDR Maestro console now installs AetherSDR as a pacman package: aethersdr-appimage from the [maestro] repository (aethersdr/maestro-packages). The package holds the release's x86-64 AppImage, unchanged, root-owned at /usr/lib/aethersdr/AetherSDR.AppImage. The console's own Update now (pacman -Syu) keeps it on the newest release (see #7591).

AetherSDR doesn't know any of this, so on the console:

  • The automatic check and the update badge announce new releases that the console will install by itself.
  • File > Update says "The AppImage updates by downloading the new one." It also offers Install for updates, which copies the release into ~/.local/share/AetherSDR/install/current. The console's kiosk always starts the packaged AppImage and never that copy, so the update is gone at the next start. The restart into the copy also races the kiosk's return to its chooser.

What already exists. UpdateChecker::storeName() returns "Flatpak" when /.flatpak-info exists. With a store name set, checkAutomaticallyIfDue() skips the check, badgeVersion() shows no badge, and canInstallInPlace() explains "Updates for this copy come from Flatpak."

Proposal. Have probeStoreName() on Linux also accept a marker that a package or its launcher sets, and use its text as the store name. For example:

  • an environment variable such as AETHERSDR_UPDATES_FROM="the console's Update now", set by the launcher; or
  • a small file beside the AppImage ($(dirname "$APPIMAGE")/updates-from), installed by the package.

The Maestro console would set it, and other distribution packages (AUR and so on) could use the same marker. If this counts as platform integration that needs an RFC under GOVERNANCE.md, we can write one.

Activity

  1. ten9876
    added
    enhancementImprovement to existing feature
    linux
    on Nov 25, 2026
  2. aethersdr-agent
    added
    claude-activeAetherClaude is actively working on this issue
    maintainer-reviewRequires maintainer review before any action is taken
    on Nov 25, 2026
  3. aethersdr-agent commented on Nov 25, 2026

    @aethersdr-agent
    aethersdr-agentBot
    on Nov 25, 2026 – with AetherSDR-Agent
    Contributor
    More actions

    Triage: valid enhancement, and it needs more than a new marker in probeStoreName()

    The request holds up. The mechanism exists and only Flatpak and MSIX can trigger it. But on Linux the store name doesn't reach every surface the issue lists, so adding a marker alone would still leave Install for updates on screen on the console.

    What the store name covers today

    UpdateChecker::storeName() (src/core/UpdateChecker.cpp:70) is a static cache of probeStoreName() (:39-56). On Linux the only check is /.flatpak-info. When the name is non-empty:

    • checkAutomaticallyIfDue() skips the check (:140-144).
    • badgeVersion() shows no badge (:122).
    • assetForThisComputer() returns no asset (UpdateReleaseNotes.cpp:184).
    • Help → Check for Updates Automatically is disabled, with the "come from %1" tooltip (MainWindow_Menus.cpp:1857).
    • In UpdatesWindow, Check daily is disabled (UpdatesWindow.cpp:391-397, :753), the Available view shows the note instead of the download button (:627, canDownload at :695).

    What it misses on Linux

    1. UpdateInstaller::canInstallInPlace() checks storeName() only in the Q_OS_WIN branch (UpdateInstaller.cpp:150). The Q_OS_LINUX branch (:166-176) goes straight to treeOf(), and for an AppImage it returns "The AppImage updates by downloading the new one." This is the text you saw. The issue's line about canInstallInPlace() saying "Updates for this copy come from Flatpak" is true only on Windows. A Flatpak never runs as an AppImage, so nobody hit this before.
    2. UpdateController::appImageToInstall() (UpdateController.cpp:350-353) never checks storeName(). It offers the AppImage whenever $APPIMAGE/$APPDIR resolve (LinuxInstall::appImageOf, LinuxInstall.cpp:434) and nothing is installed yet. UpdatesWindow::refresh() shows the Install for updates row "in every view" from that value (UpdatesWindow.cpp:756-781). So the row and its restart into ~/.local/share/AetherSDR/install/current would still be offered with a store name set.
    3. A console that already ran Install for updates shows "AetherSDR %1 is installed for updates. Start it from your applications menu…" (:772-775). Under a store name that text is wrong too.

    Proposed fix

    • src/core/UpdateChecker.cpp probeStoreName(), in the Q_OS_LINUX branch after the Flatpak check: accept an environment variable set by the launcher, e.g. AETHERSDR_UPDATES_FROM. Trim it, cap its length (~80 chars), drop control characters, and use the text as the name. I'd do only the env var to start with. The file beside $APPIMAGE is a second read and a second format to keep stable, and a launcher you control already covers the console. AUR or other packages can use the same variable from their .desktop file or wrapper.
    • src/core/UpdateInstaller.cpp:166: check storeName() first on Linux as well, giving the same "Updates for this copy come from %1." reason as on Windows.
    • src/core/UpdateController.cpp:350: appImageToInstall() returns empty when storeName() is set. In UpdatesWindow.cpp:772 the "installed for updates" text should also be skipped then.
    • Display safety: the name is now outside input that appears in a QLabel and a tooltip. The labels that show it (m_note, m_appImageText, the action tooltip) should be Qt::PlainText so the text can't inject markup. Also log the probe once on aether.updater (which marker, which text) so support bundles show why checks are off.
    • Tests: tests/update_controller_test.cpp already covers appImageToInstall() (:488-574). Add a store-name case there, plus a probeStoreName case with the env var set and unset. storeName() caches in a function-local static, so the test needs either a non-cached probe seam or a separate test process.

    RFC?

    That's for the maintainer to decide. Points for one: GOVERNANCE.md lists "platform-specific native integration that touches shared code", and this adds a public, documented contract with outside packagers. Points against: it extends an existing mechanism with no change to default behavior when the variable is unset, and items 1–2 are arguably bug fixes in their own right. If it's ruled RFC-worthy, the RFC mainly needs to fix the name and format of the marker, since packagers will depend on it.

    Handoff

    • Known: the store-name mechanism and every place that uses it.
    • Gaps: the two Linux places that ignore it (UpdateInstaller.cpp:166, UpdateController.cpp:350).
    • Fix: one env-var probe, two gate additions, plain-text labels, tests.
    • Risk: low. With the variable unset, behavior doesn't change.
    • Decision needed: RFC or not, and the final variable name.

    🤖 aethersdr-agent · cost: $0.5207 · model: claude-opus-5-5


    📍 Citation health check (Foundry Constitution Principle I): 3 resolved, 10 unresolved against /Users/aetherclaude/workspace/AetherSDR at origin/main.

    Unresolved citations (10)
    Citation Reason
    LinuxInstall.cpp:434 file not found in workspace
    MainWindow_Menus.cpp:1857 file not found in workspace
    UpdateController.cpp:350 file not found in workspace
    UpdateController.cpp:350-353 file not found in workspace
    UpdateInstaller.cpp:150 file not found in workspace
    UpdateInstaller.cpp:166 file not found in workspace
    UpdateReleaseNotes.cpp:184 file not found in workspace
    UpdatesWindow.cpp:391-397 file not found in workspace
    UpdatesWindow.cpp:756-781 file not found in workspace
    UpdatesWindow.cpp:772 file not found in workspace
  4. aethersdr-agent
    added
    awaiting-responseWaiting for reporter to provide additional information
    and removed
    claude-activeAetherClaude is actively working on this issue
    awaiting-responseWaiting for reporter to provide additional information
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement to existing featurelinuxmaintainer-reviewRequires maintainer review before any action is taken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.