Commit Graph
18 Commits
Author SHA1 Message Date
Dylan M. Taylor 8c9be57c81 ci: pin storytold/craft-common-actions to @main universally (#692) 2026-11-28 16:05:17 -05:00
Dylan M. Taylorandskylartaylor e1e212f05b nightly: pin signer tooling, forward signing secrets, and fix macOS notice layout (#686)
* Switch on supervised nightlies on the nightly-signer branch

* nightly-tests: check the Sonar gate shape the candidate contract admits

`packaging/nightly-release-tests.py` gains test_sonar_policy_keeps_the_shared_candidate_contract,
which mirrors the Sonar rules the pinned candidate contract() applies - non-empty issue scope,
accepted failures one-to-one with the issue types, one condition per gate metric, all six live gate
conditions, the reviewed A threshold and the A..E bound - so this tree refuses the shape before a
nightly run reaches admission.

* nightly: re-pin the shared workflow to the Windows and macOS registry rows

craft-common-actions main is now `fc7124a1defa96813aee060031dc8b4d2afa3652`: #370 admits this
app's Windows and macOS nightly registry rows, on top of #369 (shared helper checkouts kept out of
the app's clean-source check, and macOS on `macos-15`), which follows #364 and #363.

Both callers name it in `uses` and `tooling-revision`, the policy names it as
`producer_tooling_revision`, `signer_tooling_revision` and `producer_workflow_ref`, and the
activation notes record what the pin is.

Checked at that commit: the candidate `contract()` for this policy, `nightly_app.admit` on `main`
and on `nightly-signer`, all three platform targets with their release-ref plug-ins and
entrypoints, and this app's packaging suites.

* nightly: re-pin the shared workflow to the exact-analysis admission

craft-common-actions main is now `be00e5ccd18b68e950c8a08532f2230e7c3d0cba`: #371 admits a
candidate on the built commit's own Sonar analysis instead of main's latest, after #370 (the
Windows and macOS registry rows) and #369 (helper checkouts kept out of the clean-source check,
macOS on `macos-15`), which follow #364 and #363.

Both callers name it in `uses` and `tooling-revision`, the policy names it as
`producer_tooling_revision`, `signer_tooling_revision` and `producer_workflow_ref`, and the
activation notes record what the pin is.

Checked at that commit: the candidate `contract()` for this policy (its rules are unchanged by
#371), `nightly_app.admit` on `main` and on `nightly-signer`, all three platform targets with their
release-ref plug-ins and entrypoints, and this app's packaging suites.

* nightly-tests: read quoted flow keys, and state the signer-environment prerequisite

The trust-closure flow-mapping reader split its masked copy, so a quoted key (`{"environment":
release}`, `{'uses': ...}`) became `''` and the scan accepted a route it must refuse. It now splits
the original bracket-free mapping and keeps the mask only for the shape check. New cases cover a
double- and single-quoted `environment` key, a quoted `uses` key, and a harmless quoted key that
must still be read rather than masked.

The activation notes and the signer caller said the `release` environment already trusts
`nightly-signer`. It admits only `release` today, so both now state that the environment must
admit `nightly-signer` before the first dispatch.

* nightly: pin signer tooling, forward signing secrets, and fix macOS notice layout

---------

Co-authored-by: skylartaylor <hi@skylar.cc>
2026-11-28 11:51:01 -05:00
FredApps 39e78e2265 feat(packaging): the Linux packages install anicraft-cli's man pages and bash, zsh and fish completions 2026-11-26 23:25:02 +01:00
skylar taylor-barrick 7512a9bd9d Use the shared nightly launcher template (#648)
Renders the plain nightly tar's launcher from craft-common-actions' shared template.

Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.

The red CodeQL Analyze (actions, javascript-typescript, python) checks are code-scanning upload failures from the repo's default-setup config, not required and not caused by this packaging-only change.
2026-11-25 16:16:32 -06:00
Dylan M. Taylor 1bf696b08f packaging(linux): support co-installable nightly packages (#610)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 19:16:47 -06:00
Mex 8f5034dd7a fix(packaging): preserve literal signing and cleanup paths (M8) 2026-11-18 22:56:02 +01:00
Mex 97fe843488 fix(packaging): resolve Windows signing inputs literally (M8) 2026-11-18 22:43:14 +01:00
Tanish Manku 463c4fcfad docs: ADR 0094 portable mode and AppImage desktop integration; guide, packaging README, roadmap, changelog (M8) 2026-11-13 22:57:11 -07:00
Tanish Manku 60aa9a6943 feat(packaging): portable marker in the Windows zip and Linux tar.gz, store-readiness CI job (M8) 2026-11-13 22:56:56 -07:00
Tanish Manku 738ced3004 feat(engine): desktop.integrate/remove/status write an AppImage's launcher, icons and file types into the user's data folder (M8) 2026-11-13 22:56:56 -07:00
Tanish Manku 04a85d5e50 docs: start-up, file and display fixes in the guide, changelog and roadmap; web release zip script (M8)
packaging/web/package.sh is the app side of the family release workflow's web
job (#210) and runs in the Web CI job; releases keep has-web off until hosting
is decided.
2026-11-12 12:59:31 -07:00
Tanish Manku c1b5941f12 fix(xfl): one damaged part no longer refuses a .fla, white default stage, the CLI opens Animate files (M8)
Since 0.1 the importer reads bitmaps, sounds and the publish settings from the
package with `?`, so one entry failing its checksum or the archive's limits
refused the whole document (#226). Optional parts are now left out and
reported; damage to DOMDocument.xml still refuses the file. Animate omits the
default white backgroundColor, which imported as black (#163). anicraft-cli
info/render/exports open .fla/.xfl through file.open.

Tests: damaged bitmap/symbol parts (fail before the fix), white stage,
every entry point (file.open, upper-case .FLA, Open Recent, drop routing,
browser vfs) over the corpus, CLI subcommands.
2026-11-12 12:59:10 -07:00
Dylan M. Taylor 1bddc73503 Add Help > Check for Updates and bump to 0.2.1 (M8) (#165)
* feat(updates): add manual release checks and verified native updates (M8)

* chore: bump version to 0.2.1 (M8)

* fix(flatpak): honor the launcher version choices (M8)

* fix(updates): preserve pending edits and report restart outcomes (M8)

* test(updates): verify startup consumes helper failures once (M8)
2026-11-11 19:32:21 -05:00
Tanish Manku 7dcd01041e feat(shell): web build of the editor: browser entry, file picker and downloads, autosave to browser storage (M8)
src/web.rs starts the editor on a page canvas with eframe's WebRunner (WebGL2 via glow) and
provides the browser's services; platform.rs decides when: picked files go to the engine's
in-memory store and the command runs, saves and exports leave as downloads, preferences and
recovery copies live in localStorage, Web Locks tell open tabs from crashed ones, and leaving
with unsaved work asks first. The GPU stage and sound output become build cfgs that are off
on wasm. Video export and plug-in installs are dimmed in the browser with the reason.

scripts/build-web.sh and .ps1 build web/ with the wasm-bindgen CLI pinned to Cargo.lock's
version, from packaging/web/index.html. The web profile (opt-level s, stripped, renderer and
geometry at opt-level 3) gives an 8973 KB module, 3278 KB gzipped, in 41 s.
crates/engine/tests/wasm.rs runs the engine inside WebAssembly in Node (3 tests, 0.6 s).
2026-11-09 22:36:09 -07:00
Tanish Manku 8fe92c9701 fix(packaging): make the packaging scripts executable (M8)
The shared release workflow runs them directly (packaging/macos/import-cert.sh, ...), and
flatpak-oci.sh only runs when executable.
2026-11-09 12:29:15 -07:00
Tanish Manku b81d2ea7cf feat(packaging): Linux AppImage, deb, rpm, tar.gz and Flatpak (M8)
Desktop entry, AppStream metainfo, MIME types for .anicraft/.fla/.xfl and hicolor icons in
every format; riscv64 cross builds; Flatpak bundle and from-source manifests with display,
GPU, sound and document folders only.
2026-11-09 12:29:15 -07:00
Tanish Manku 4fc1548695 feat(packaging): macOS universal app, DMG and CLI zip (M8)
Info.plist declares the .anicraft document type (owner) and FLA/XFL (alternate viewer);
hardened runtime, Developer ID signing and notarization when the secrets are set, ad-hoc
otherwise. The DMG window background and layout are generated reproducibly by
packaging/macos/dmg/generate.py; the .icns is built at package time.
2026-11-09 12:29:15 -07:00
Tanish Manku ee32ec6a53 feat(packaging): Windows MSI, portable and symbols zips (M8)
WiX v5 installer in the Craft family's install policy: per-user by default, everyone on
request, upgrades in place. Registers .anicraft (default app) and offers Open with for
.fla/.xfl; Start menu, App Paths, Launch on Finish. sign.ps1 signs with a PFX or Azure
Trusted Signing and warns without secrets.
2026-11-09 12:29:15 -07:00