BradenM / micropy-stubs

Automatically Generated Stub Packages for Micropy-Cli and whomever else
Other
29 stars 6 forks source link

Use Repo as Stub Source #5

Closed BradenM closed 4 years ago

BradenM commented 5 years ago

Setup this Git repository to work as a Stub Source (primarily for micropy-cli).

Basic Idea:

{
  "name": "repo-code-name",
  "location": "https://url.com/repo.json",
  "path": "https://cdn.url.com/repo/branch",
  "packages": [
    {
      "name": "esp32-micropython-1.11",
      "path": "pkg/esp32-micropython-1.11.tar.gz",
      "type": "device",
      "version": "0.0.0"
    }
  ]
}
BradenM commented 4 years ago

This has been completed by automatically creating stub specific branches (filtered) which can be downloaded from via Githubs archive functionality.

This alongside a source.json file at the repo's root which is used to reference the branches from a client.