diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-05 10:58:37 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-05 10:58:37 +0000 |
| commit | 2f2819cc2365be07fedfd35ab3654b3607e29e76 (patch) | |
| tree | d59b4ce913500ae1c0b31ce0982c7756f3195a59 /CHANGELOG.md | |
| parent | 4d23e609ec3d6c25b5f5918fd317eef02a434efe (diff) | |
add `ngit account whoami` command
Shows currently logged-in account(s) with name and npub. When both a
local (repo-scoped) and global account are configured, displays both
with local marked as active. Supports --json (returns local, global,
and active objects each with name, npub, nip05, scope) and --offline
(reads from cache only, no network). Fixes doc_markdown clippy warning
in cli.rs.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37200c9..182fb6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 9 | 9 | ||
| 10 | ### Added | 10 | ### Added |
| 11 | 11 | ||
| 12 | - `ngit account whoami` — show the currently logged-in account(s) | ||
| 12 | - `ngit pr` subcommand group: `list`, `view`, `checkout`, `apply`, `send`, `close`, `reopen`, `ready`, `comment`, `merge`; replaces the former top-level `ngit list`, `ngit checkout`, and `ngit apply` commands (hard-migrated); `ngit send` remains at the top level unchanged | 13 | - `ngit pr` subcommand group: `list`, `view`, `checkout`, `apply`, `send`, `close`, `reopen`, `ready`, `comment`, `merge`; replaces the former top-level `ngit list`, `ngit checkout`, and `ngit apply` commands (hard-migrated); `ngit send` remains at the top level unchanged |
| 13 | - `ngit pr view <id>` — view a PR with its full details and all comments (author, timestamp, body) in chronological order | 14 | - `ngit pr view <id>` — view a PR with its full details and all comments (author, timestamp, body) in chronological order |
| 14 | - `ngit pr close <id>` / `ngit pr reopen <id>` — change PR status (author or maintainer only) | 15 | - `ngit pr close <id>` / `ngit pr reopen <id>` — change PR status (author or maintainer only) |
| @@ -143,7 +144,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 143 | ### Added | 144 | ### Added |
| 144 | 145 | ||
| 145 | - **Pull Requests Support**: Introduced complete PR functionality for large contributions that would be too big for relays as patches: | 146 | - **Pull Requests Support**: Introduced complete PR functionality for large contributions that would be too big for relays as patches: |
| 146 | |||
| 147 | - Generate PR events for oversized patches automatically | 147 | - Generate PR events for oversized patches automatically |
| 148 | - Support PR updates and PR as patch revision | 148 | - Support PR updates and PR as patch revision |
| 149 | - List open/draft proposals on repo relays/servers as `pr/*` branches and all proposals as `refs/pr/*` and `refs/pr/pr-by-id/head` | 149 | - List open/draft proposals on repo relays/servers as `pr/*` branches and all proposals as `refs/pr/*` and `refs/pr/pr-by-id/head` |
| @@ -154,12 +154,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 154 | - **NIP-22 Status Events Support**: Read and process NIP-22 style status events for proposals and PRs | 154 | - **NIP-22 Status Events Support**: Read and process NIP-22 style status events for proposals and PRs |
| 155 | 155 | ||
| 156 | - **ngit sync command**: New command to synchronize git servers with nostr state | 156 | - **ngit sync command**: New command to synchronize git servers with nostr state |
| 157 | |||
| 158 | - Optional `--force` flag for forced synchronization eg deleting refs on non-GRASP servers | 157 | - Optional `--force` flag for forced synchronization eg deleting refs on non-GRASP servers |
| 159 | - `--ref-name` parameter to limit sync to a single reference | 158 | - `--ref-name` parameter to limit sync to a single reference |
| 160 | 159 | ||
| 161 | - **ngit init improvements** (simple model for non-grasp servers): | 160 | - **ngit init improvements** (simple model for non-grasp servers): |
| 162 | |||
| 163 | - Use user's grasp list for defaults instead of hardcoded options | 161 | - Use user's grasp list for defaults instead of hardcoded options |
| 164 | - List and allow selection/deselection of non-grasp servers | 162 | - List and allow selection/deselection of non-grasp servers |
| 165 | - Check and fetch origin refs when missing locally | 163 | - Check and fetch origin refs when missing locally |