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 { type Profile struct {
ID string `json:"id"` // profile ID ID string `json:"id"` // profile ID
Description string `json:"description,omitempty"` // profile description Description string `json:"description,omitempty"` // profile description
Tags []string `json:"tags,omitempty"` // tags used for ... Tags []string `json:"tags,omitempty"` // tags used for filtering (not implemented yet)
Paths []string `json:"paths,omitempty"` // paths to download
Plugins []string `json:"plugins,omitempty"` // plugins to run
Data map[string]any `json:"data,omitempty"` // include render data 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 ```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. There are some features still missing that will be added later.
1. Uploading files and directories 1. Running `makeshift` locally with profiles and plugins
2. Uploading new profiles and plugins 2. Plugin to add user data for one-time use without creating a profile
3. Running `makeshift` locally with profiles and plugins 3. Optionally build plugins directly into the main driver
4. Plugin to add user data for one-time use without creating a profile 4. Protected routes that require authentication
5. Optionally build plugins directly into the main driver 5. Configuration file for persistent runs
6. Protected routes that require authentication 6. `Dockerfile` and `docker-compose.yml` files to build containers
7. Configuration file for persistent runs
8. `Dockerfile` and `docker-compose.yml` files to build containers
9. Including certs with requests