chore: removed TODO and update plugin struct

This commit is contained in:
David Allen 2025-08-31 21:59:14 -06:00
parent c799dc7838
commit eac73ada69
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -207,14 +207,12 @@ On the other hand, profiles are simply objects that contain data used to populat
type Profile struct {
ID string `json:"id"` // profile ID
Description string `json:"description,omitempty"` // profile description
Tags []string `json:"tags,omitempty"` // tags used for ...
Paths []string `json:"paths,omitempty"` // paths to download
Plugins []string `json:"plugins,omitempty"` // plugins to run
Tags []string `json:"tags,omitempty"` // tags used for filtering (not implemented yet)
Data map[string]any `json:"data,omitempty"` // include render data
}
```
Profiles can be created using JSON. See the example in `$MAKESHIFT_ROOT/profiles/default.json`.
Profiles can be created using JSON and only require an `id` with optional `data`. See the example in `$MAKESHIFT_ROOT/profiles/default.json`.
```json
{
@ -235,12 +233,9 @@ Profiles can be created using JSON. See the example in `$MAKESHIFT_ROOT/profiles
There are some features still missing that will be added later.
1. Uploading files and directories
2. Uploading new profiles and plugins
3. Running `makeshift` locally with profiles and plugins
4. Plugin to add user data for one-time use without creating a profile
5. Optionally build plugins directly into the main driver
6. Protected routes that require authentication
7. Configuration file for persistent runs
8. `Dockerfile` and `docker-compose.yml` files to build containers
9. Including certs with requests
1. Running `makeshift` locally with profiles and plugins
2. Plugin to add user data for one-time use without creating a profile
3. Optionally build plugins directly into the main driver
4. Protected routes that require authentication
5. Configuration file for persistent runs
6. `Dockerfile` and `docker-compose.yml` files to build containers