Skip to content

feat: redo autoupdate page - #133

Open
Owen-sz wants to merge 12 commits into
mainfrom
owen/autoupdate-refactor
Open

feat: redo autoupdate page#133
Owen-sz wants to merge 12 commits into
mainfrom
owen/autoupdate-refactor

Conversation

@Owen-sz

@Owen-sz Owen-sz commented Aug 2, 2026

Copy link
Copy Markdown
Member

This page was quite confusing for newcomers, and there was nowhere these common update scripts were easily findable/documented in this way.

Owen-sz added 2 commits August 2, 2026 03:25
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
terra-docs 6cab683 Commit Preview URL

Branch Preview URL
Aug 08 2026, 12:50 AM

Signed-off-by: Owen-sz <owen@fyralabs.com>
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Co-authored-by: Gilver <roachy@fyralabs.com>
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Co-authored-by: Gilver <roachy@fyralabs.com>
@Owen-sz
Owen-sz requested a review from GildedRoach August 3, 2026 17:49
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
@Owen-sz
Owen-sz requested a review from GildedRoach August 5, 2026 01:32
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Owen-sz and others added 5 commits August 6, 2026 00:12
Co-authored-by: nothingneko <me@jaiden.sh>
Co-authored-by: nothingneko <me@jaiden.sh>
Co-authored-by: nothingneko <me@jaiden.sh>
Co-authored-by: nothingneko <me@jaiden.sh>
Co-authored-by: nothingneko <me@jaiden.sh>
Comment on lines -22 to +16
```ts
// An example of AndaX update script.
let ver = gh("FyraLabs/subatomic"); // gets latest version from GitHub
rpm.version(ver); // updates the version in the spec file using `ver`
```
To do this, we use `.rhai` scripts to update packages in Terra. For more info on Rhai, check out the [Rhai] documentation.
Put your Rhai script in an `update.rhai`, in the same folder as your `.spec` and `anda.hcl`.
Andaman will detect it automatically.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think having an example update script here is still nice, but if you feel strongly otherwise that's fine.

Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
Comment thread src/content/docs/contributing/autoupdate.mdx Outdated
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.

4 participants