Skip to content

feat: support version.axl and remove config.toml#935

Merged
thesayyn merged 1 commit intomainfrom
version_axl
Feb 16, 2026
Merged

feat: support version.axl and remove config.toml#935
thesayyn merged 1 commit intomainfrom
version_axl

Conversation

@thesayyn
Copy link
Member

Changes are visible to end-users: yes

  • Searched for relevant documentation and updated as needed: yes
  • Breaking change (forces users to change their own code or config): no
  • Suggested release notes appear below: no

Test plan

  • Manual testing; please provide instructions so we can reproduce: change the version.axl file and rerun ASPECT_DEBUG=1 ./target/debug/aspect and observe the output.

@thesayyn thesayyn force-pushed the version_axl branch 2 times, most recently from 65de3ac to 642a108 Compare February 16, 2026 02:28
Switch launcher config from TOML+serde+liquid to Starlark AST parsing.
The new format uses function-call syntax (version(), local(), github(),
http()) that is statically analyzable without full evaluation.

- Remove liquid and toml dependencies, add starlark_syntax
- Parse version.axl via AST walking instead of serde deserialization
- Use str::replace for http URL templates instead of liquid
- Derive github release/artifact defaults at runtime when omitted

Use positional version arg, rename release to tag, simplify template vars

- version() now takes version as first positional arg instead of use=
- github() uses tag instead of release field name
- Template variables simplified to {version}, {os}, {arch}, {target}
  - {os} = kernel name (darwin, linux) from uname -s
  - {arch} = ISA name (x86_64, aarch64) from uname -m
  - {target} = GNU triple (aarch64-apple-darwin)
- Extract replace_vars() helper for consistent replacement
- Apply template replacement to github tag/artifact fields too

Create version.md
@thesayyn thesayyn requested a review from gregmagolan February 16, 2026 02:37
@thesayyn thesayyn changed the title Version axl feat: support version.axl and remove config.toml Feb 16, 2026
@thesayyn thesayyn merged commit 262e18d into main Feb 16, 2026
2 of 3 checks passed
@thesayyn thesayyn deleted the version_axl branch February 16, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant