Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to https://database.dev/ #402

Open
JensGM opened this issue Mar 6, 2024 · 9 comments
Open

Publish to https://database.dev/ #402

JensGM opened this issue Mar 6, 2024 · 9 comments

Comments

@JensGM
Copy link

JensGM commented Mar 6, 2024

Hey,

The guys over at supabase has created a package manager for trusted extensions, https://database.dev/. It would be super smooth for us, as supabase users, to adopt plrust if it was made available there aswell 😁

Jens

@eeeebbbbrrrr
Copy link
Collaborator

We'd definitely be open to collaborating with them. Have you raised this with Supabase?

@eeeebbbbrrrr
Copy link
Collaborator

https://supabase.github.io/dbdev/extension_structure/

This indicates it's limited to supporting SQL-only extensions. It's not clear to me what work they'd need to do to offer the PL/Rust extension, so that users can then publish their own extensions to dbdev that contain LANGUAGE plrust functions.

@eeeebbbbrrrr
Copy link
Collaborator

UPDATE: I asked @kiwicopple about this -- we'll see what happens.

@olirice
Copy link
Contributor

olirice commented Mar 6, 2024

supabase has created a package manager for trusted extensions

database.dev is a trust language extension (TLE) registry. plrust is one of those trusted languages so you can already upload any plrust TLE to it. The supabase platform doesn't currently support plrust so you wouldn't actually be able to install them in your instance, but the dbdev part is good to go.

plrust if it was made available there aswell (supabase)

We've looked into plrust and intend to adopt it. We paused our implementation last year because the resource consumption on lower end hardware, e.g. free tier, was too high and could potentially interrupt DB operation. We hadn't previously gated extensions/PLs to a minimum level of hardware so we developed a mechanism to constrain extension resources such that they can fail gracefully.

It's on the roadmap but we don't have an exact timeline

@eeeebbbbrrrr
Copy link
Collaborator

It's on the roadmap but we don't have an exact timeline

Thanks for the info, @olirice. Don't hesitate to let us know if there's anything we can do.

@olirice
Copy link
Contributor

olirice commented Mar 6, 2024

Any chance you could produce the arm deb artifacts for v1.2.7?

It looks like that ran in CI but the artifact aren't associated with the release

@BradyBonnette
Copy link
Contributor

Hi @olirice

We are currently working on that. Somehow the build "succeeded" back then, but then "successfully failed" (❓) to upload the artifacts for aarch64.

We will drop you a line when it's ready for you :)

@BradyBonnette
Copy link
Contributor

@olirice

Update: we fixed it -- https://github.com/tcdi/plrust/releases/tag/v1.2.8

Let us know if you find anything else!

@olirice
Copy link
Contributor

olirice commented Mar 8, 2024

Awesome, thank you!

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

No branches or pull requests

4 participants