gosick #1

Merged
DelphicOkami merged 162 commits from gosick into main 2026-03-21 23:08:00 +00:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 2fc3f3d006 - Show all commits

View File

@@ -53,10 +53,10 @@ Implemented commands:
- If `<castle>/.homesickrc` exists and `<castle>/.homesick.d/parity.rb` does not, generates `parity.rb` before execution. - If `<castle>/.homesickrc` exists and `<castle>/.homesick.d/parity.rb` does not, generates `parity.rb` before execution.
- Never overwrites an existing `parity.rb` wrapper. - Never overwrites an existing `parity.rb` wrapper.
Not yet implemented: ### exec behavior
- `exec` - `exec CASTLE COMMAND...` runs the shell command inside the target castle root.
- `exec_all` - `exec_all COMMAND...` runs the same shell command inside each cloned castle root in sorted order.
## Outstanding Feature Checklist ## Outstanding Feature Checklist
@@ -68,8 +68,8 @@ Command parity:
- [x] `destroy` - [x] `destroy`
- [x] `cd` - [x] `cd`
- [x] `open` - [x] `open`
- [ ] `exec` - [x] `exec`
- [ ] `exec_all` - [x] `exec_all`
- [x] `generate` - [x] `generate`
Historical flag/behavior parity: Historical flag/behavior parity:

View File

@@ -15,6 +15,8 @@ A `### Breaking` section is used in addition to Keep a Changelog's standard sect
- `rc` command: executes all executable scripts inside a castle's `.homesick.d/` directory in sorted order, with the castle root as the working directory. stdout/stderr from each script is forwarded to the caller. - `rc` command: executes all executable scripts inside a castle's `.homesick.d/` directory in sorted order, with the castle root as the working directory. stdout/stderr from each script is forwarded to the caller.
- `rc` command: when a `.homesickrc` file exists and no `parity.rb` wrapper is present in `.homesick.d/`, a Ruby wrapper script (`parity.rb`) is generated automatically to preserve backwards compatibility. An existing `parity.rb` is never overwritten. - `rc` command: when a `.homesickrc` file exists and no `parity.rb` wrapper is present in `.homesick.d/`, a Ruby wrapper script (`parity.rb`) is generated automatically to preserve backwards compatibility. An existing `parity.rb` is never overwritten.
- `exec` command: runs a shell command inside the target castle root directory.
- `exec_all` command: runs a shell command inside each cloned castle root directory in sorted order.
- Native Go implementations for `clone`, `link`, `unlink`, `track`, `pull`, `push`, `commit`, `destroy`, `cd`, `open`, and `generate`. - Native Go implementations for `clone`, `link`, `unlink`, `track`, `pull`, `push`, `commit`, `destroy`, `cd`, `open`, and `generate`.
- Containerized behavior test suite for command parity validation. - Containerized behavior test suite for command parity validation.
- Dedicated test suites for `list`, `show_path`, `status`, `diff`, and `version`. - Dedicated test suites for `list`, `show_path`, `status`, `diff`, and `version`.