Borg/cmd
google-labs-jules[bot] 5711b6c13c feat: Add compile and run commands for RUNC matrices
This commit introduces two new commands to the `borg` CLI:

- `borg compile`: Compiles a `Borgfile` into a "Terminal Isolation
  Matrix" (`.matrix` file). The `Borgfile` format is a simple text file
  with `ADD <src> <dest>` instructions.

- `borg run`: Executes a `.matrix` file using `runc`. The command
  unpacks the matrix into a temporary directory and then executes `runc
  run`.

This commit also adds comprehensive tests for the new commands and the
`pkg/matrix` package, significantly increasing the overall test
coverage. The tests for the `run` command use a mocking pattern to
avoid environment dependencies.
2025-11-13 19:21:35 +00:00
..
all.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
all_test.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
collect.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
collect_github.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
collect_github_release_subcommand.go feat: Bug fixes and refactoring 2025-11-03 20:14:47 +00:00
collect_github_release_subcommand_test.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
collect_github_repo.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
collect_github_repo_test.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
collect_github_repos.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
collect_pwa.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
collect_pwa_test.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
collect_website.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
collect_website_test.go feat: Improve test coverage and refactor for testability 2025-11-03 19:34:36 +00:00
compile.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:16:12 +00:00
compile_test.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:21:35 +00:00
exec.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:16:12 +00:00
main_test.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:16:12 +00:00
root.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
root_test.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:16:12 +00:00
run.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:16:12 +00:00
run_test.go feat: Add compile and run commands for RUNC matrices 2025-11-13 19:21:35 +00:00
serve.go feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00