gwsystems / composite

A component-based OS
composite.seas.gwu.edu
184 stars 70 forks source link

External packages #455

Open gparmer opened 2 years ago

gparmer commented 2 years ago

Summary of this Pull Request (PR)

Add description here.

Intent for your PR

Choose one (Mandatory):

Reviewers (Mandatory):

@betahxy @WenyuanShao If you're interested. Mostly Rust and build system updates.

Can

./cos compose composition_scripts/external_hello_world.toml test
./cos run test

And it will run the component defined in https://github.com/gparmer/hello_world

The composition scripts have the repo directive:

[system]
description = "Test for the hello world external component"

[[components]]
name = "hw1"
img  = ""
repo = "github:gparmer/hello_world"
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

Existing scripts should run as expected.

Code Quality

As part of this pull request, I've considered the following:

Style:

Code Craftsmanship: