Skip to content

Latest commit

 

History

History
162 lines (138 loc) · 10.2 KB

snap-store-release.md

File metadata and controls

162 lines (138 loc) · 10.2 KB

Ubuntu App Center / Snap Store release preparation

OpenStudio's publisher account is sdevil7th (displayed as Sourav Das). The openstudio name is registered with Snap ID Qde7k3B7zO9NGOR8QIyMUWs8l6z6hkZ7. No revision has been uploaded or released. The GitHub snap-store environment permits only v* tags. A credential scoped to openstudio, stable, access/push/release is configured with a requested expiry of 3 February 2027. Renew by 2 February: Snapcraft 8.14 interprets expiry input using local time unless the command runs with TZ=UTC. Read-only account and registered-snap checks passed. The temporary export was removed after encrypted GitHub storage. These facts do not establish Store distribution approval.

Both repository delivery switches, OPENSTUDIO_STORE_ENABLED and OPENSTUDIO_SNAP_ENABLED, are enabled so the next release tag requires both Store preflights. Missing Snap qualification or Canonical approval blocks GitHub publication and both submissions. No tag or release was created during setup.

The candidate package uses the exact versioned Ubuntu 22.04 DEB payload, plus a coherent core22 dependency stack. Snapcraft's classic ELF patching handles its loader paths. Ubuntu's release WebKit ignores WEBKIT_EXEC_PATH; a bounded, same-size prefix relocation points its helpers at the staged wk directory. Perform the schema and WebKit transformations during override-build: Snapcraft explicitly disables enable-patchelf for an override-prime part. The installed package must pass main/detached WebView readiness, recovery, export, updater routing and frozen Support checks before any upload. Source DEB identity and the final Snap hash are retained in the qualification report.

Support is a separate desktop command, openstudio.support. Neither application is a service or an autostart entry. Collecting evidence remains an explicit operation requiring OpenStudio closed. Snap installations use Ubuntu App Center or snap refresh; the app never stages or runs an AppImage replacement.

Listing and branding

packaging/snap/listing.json is the reviewed source for the Store title, summary, description, search keywords, Music & Audio category, license and public support links. The project generator uses the same text and links in the package recipe. The icon is the approved 512 px export at frontend/public/icon.png; Linux launchers use the existing 256 px export.

Store-side application is tracked separately from package preparation. The approved icon was saved through the binary-metadata API and its returned SHA-256 matches 32ee0324c1fc4d30d1451bee95af868040e6775217b3ca24f2fa994d0ab57297. No application revision was uploaded or released. The dashboard requires a first revision before exposing its listing editor. The text API currently rejects nonempty summary and description fields as blank, including Canonical's own Dashboard PUT format. The owner chose to revisit text after package qualification; title, description, keywords, category, license and public links remain staged. On 7 November the publisher saved and verified both screenshots alongside the existing icon. The two 2560×1600 images in packaging/snap/gallery/ show the installed x2 diagnostic Snap on Ubuntu 26.04, using synthesized demo audio and MIDI. Their SHA-256 values match the private Store gallery. No revision was uploaded and no channel changed. The text API still rejected both nonempty text fields as blank. The title, summary, description, license, category, keywords and links still need readback. Canonical listing request

Desktop diagnostic hold

Three Snap window-harness timeouts were paused with OPENSTUDIO_SNAP_WINDOW_TESTS_PAUSED until the owner provided a Linux desktop. The explicit desktop trace located a browser-child crash in Mesa's software driver while reading ELF notes. Snapcraft 8.14.5 bundles patchelf 0.9: its fixups moved valid note sections while leaving stale runtime note segments. This matches upstream issue 217.

The recipe keeps Canonical's dependency resolver, interpreter and RPATH fixups. It then repairs stale PT_NOTE/PT_GNU_PROPERTY references from the authoritative mapped note sections. This changes existing program-header entries only: no code, section data, file length or appended frozen-Support archive moves. GNU properties remain represented by their dedicated runtime segment. Unsupported layouts fail closed. Newer ELF writers broke the pristine frozen launcher, so they are not used as a substitute for this bounded metadata correction.

The managed build must be Ubuntu 22.04. Runtime note mappings and original GNU build IDs must survive every fixup, then the installed package is audited again before any app window opens. GIO module discovery is restricted to the matching packaged directory. The browser-stack audit accepts base-identical GLib from core22; GTK/WebKit/Soup must come from the app Snap and host GLib is rejected.

A corrected private Mesa copy reached frontend boot-ready on the Linux desktop. A real relocation fixture detects the bundled 0.9 corruption. A private package copy passes metadata validation for all 605 ELF files after note-reference repair. These are diagnostic results, not installed-package qualification or hardware GPU/audio qualification. Resume automatic window checks for this concrete packaging correction; full installed main/popout/recovery/export/Support/updater checks were still required at that diagnostic checkpoint. See the subsequent installed-candidate result below.

Installed export, explicitly opened Support and updater checks run independently. A diagnostic Snap is retained even when qualification fails. If the pause is enabled again it produces failed qualification, never a release-ready candidate; both Store publication paths remain gated.

The Verify workflow's explicit snap_source_run input builds only a diagnostic Snap from candidate-linux-x64 in that selected prior Verify run. This avoids rebuilding unchanged application code for packaging diagnosis. The package stays unqualified even if its diagnostic checks succeed. Release does not set this input and always uses its own build artifacts. Resume automatic window checks after the desktop investigation. The full installed Snap and recovery checks subsequently passed on the 0.1.09 PR. Installed-candidate verification

For future credential exports, set TZ=UTC for the export command only and verify the resulting credential's actual expiry before using it. The tag workflow reads and writes the listing with a separate environment secret, SNAPCRAFT_LISTING_CREDENTIALS. Scope it to openstudio with package_access,package_push,package_update and omit package_release. Use SNAPCRAFT_STORE_CREDENTIALS only for the stable package preflight and upload. Never print exported credentials or include them in reports. Canonical's permission reference

Remaining owner setup

  1. Request and obtain Canonical's classic-confinement approval. Arbitrary native plugins, plugin executables and projects may live outside a confined home. Approval is a Store decision, not established by the local --classic test. Confirm eligibility with Canonical rather than treating arbitrary file access as sufficient: its review process requires a supported category or further reviewer/architect consideration. A strict-confinement interface test has not been performed; do not claim it has, or promise that a DAW will receive classic approval. Any strict-package alternative needs separate plugin, device and performance qualification. Record the reviewed decision URL in OPENSTUDIO_SNAP_CLASSIC_APPROVAL_URL.
  2. Keep both scoped credentials in the tag-only GitHub snap-store environment current. Renew them before expiry. Account authentication remains an owner-operated step.
  3. Review the installed candidate results. Physical audio/MIDI devices, native plugin compatibility, desktop integration, and refresh while an older version is running need hardware/desktop testing. Automated checks do not establish subjective quality or dropout-free recording.
  4. Keep both delivery switches enabled for releases intended for both Stores. Before creating a tag, require successful qualification and a real approval record. Do not disable a delivery path to bypass a failed preflight.

Tag-triggered flow

After the release PR is merged, an owner-authorized v0.1.09 tag triggers the existing Release workflow. If Snap delivery is enabled, its dependencies are:

build-linux -> qualify-snap -> preflight-snap -> publish -> submit-snap -> sync-snap-listing.

The Microsoft Store chain remains build-windows -> certify-store-package -> preflight-store -> publish -> submit-store.

Both enabled Store preflights must succeed before GitHub publication. A missing credential, approval record, artifact identity, or prerequisite stops the chain. Snap preflight only authenticates and reads status. Submission revalidates the qualified bytes, then calls snapcraft upload --release=stable once. No automatic retry follows an ambiguous upload; inspect Store revisions first. CLI success does not prove final availability or installed update delivery. The separate listing job first matches Canonical's stable amd64 revision and SHA3-384 to the qualified bytes. It applies the tagged text and gallery using the Store's conflict-checked metadata APIs, preserves unrelated media and links, then reads back the result. Retry a failed listing job independently of package submission. The public App Center page can take longer to update.

Do not create a release tag or dispatch Release during preparation. Nothing in this document authorizes upload, publication or a confinement-review message.

References: registration, authentication, classic confinement.