- Implements all placeholder Go examples in the `examples` directory. - Corrects the `run_matrix_programmatically` example to use the `borg` package. - Refactors the code to centralize the matrix execution logic in the `matrix` package. - Updates the documentation to include a new "Programmatic Usage" section that describes all of the Go examples. - Updates the "Terminal Isolation Matrix" section to remove manual 'runc' instructions, emphasizing that 'borg run' handles this process to maintain security and isolation. - Adds missing examples for 'collect github repos', 'collect github release', and 'compile' commands to the documentation. - Makes `pkg/matrix.Run` testable by exposing `exec.Command` as a public variable. - Adds tests for the `matrix` package that mock the `runc` command. - Updates the `cmd` package tests to mock `matrix.ExecCommand` instead of the old `cmd.execCommand`. |
||
|---|---|---|
| .. | ||
| compress | ||
| datanode | ||
| github | ||
| logger | ||
| matrix | ||
| mocks | ||
| pwa | ||
| tarfs | ||
| ui | ||
| vcs | ||
| website | ||