Closed lemarier closed 1 year ago
Simple provider sharing
As we can consume remote provider / script we need to think how we’ll create a simple registry
We can start by using github as main CDN (we can add a caching layer on top later)
We can have something like:
import * as provider from “https://mashin.run/std/mysql@0.1.0”
This could automatically resolve https://github.com/nutshimit/mashin_provider_mysql/releases/download/v0.1.0/mod.ts
Have a github app users can install on any repo, that will setup a webhook when there is a new release.
The webhook catch the release, make sure all requirements are match (valid .dll and .so), extract the public url for all assets
Then we can create the process we want based on our requirements at this stage
Yes!
The proof of concept has been published here;
https://github.com/nutshimit/mashin_registry
The issue is moving to https://github.com/nutshimit/mashin_registry/issues/1
Is there an existing issue?
Motivation
Simple provider sharing
As we can consume remote provider / script we need to think how we’ll create a simple registry
Request
We can start by using github as main CDN (we can add a caching layer on top later)
We can have something like:
This could automatically resolve https://github.com/nutshimit/mashin_provider_mysql/releases/download/v0.1.0/mod.ts
Solution
Have a github app users can install on any repo, that will setup a webhook when there is a new release.
The webhook catch the release, make sure all requirements are match (valid .dll and .so), extract the public url for all assets
Then we can create the process we want based on our requirements at this stage
Are you willing to help with this request?
Yes!