Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,11 @@ vendor/
# Local scratch drafts, not meant to be tracked
/.drafts/

# Go workspace files. A local go.work silently overrides the nmilat version
# pinned in go.mod, so builds and CI stop agreeing; keep it out of the repo
# and use GOWORK=off when verifying a dependency bump.
/go.work
/go.work.sum

# Local-only planning/audit docs, not meant to be tracked
/docs/private/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,18 @@
**stderr** -- help used to land on stdout -- and exit codes are
unchanged, so a bare group command still exits 2, never 0. `--json` is
untouched: one structured line, never help. (#55)
- Updated `nmilat` to v0.4.0.

### Fixed

- An unknown flag was reported twice (cobra's own `Error:` plus ncli's
own line) and exited 1 instead of 2. (#55)
- `ncli bunker sessions revoke-grant` with no `--method` exited 1 as
`internal` instead of 2 as `usage`. (#55)
- `ncli relay` could freeze until restarted: a `REQ` held its database
read open while sending events, so a write that grew the database file
hung every other `REQ` and `EVENT`, health checks included. Fixed
upstream in `nmilat` v0.3.2.

## [0.5.0]

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ require (
github.com/charmbracelet/bubbles v1.0.0
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/lipgloss v1.1.0
github.com/ohstr/nmilat v0.3.1
github.com/ohstr/nmilat v0.4.0
github.com/spf13/pflag v1.0.10
golang.org/x/sync v0.20.0
golang.org/x/sys v0.45.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELU
github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
github.com/ohstr/nmilat v0.3.1 h1:XCxcXyrmC9wlAehhwBzhwqGwDXmt6vV7/B5CstdoRfw=
github.com/ohstr/nmilat v0.3.1/go.mod h1:+6B0CT40RAJmnZESl1sBukc07RkdyPn5/EQ8ROVof0Y=
github.com/ohstr/nmilat v0.4.0 h1:/5jP47QwNMwafxGSUX5rdgxDqNzrZ01K8scEY/BMX/0=
github.com/ohstr/nmilat v0.4.0/go.mod h1:+6B0CT40RAJmnZESl1sBukc07RkdyPn5/EQ8ROVof0Y=
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=
github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
Loading