diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 14:28:38 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 14:50:01 +0000 |
| commit | b3b1a949463d8e18622519866ecee3f1b65cc888 (patch) | |
| tree | 9c728adb75fb18cb84e8d13efbbbd5e90231ec2f /CHANGELOG.md | |
| parent | 6d9b0cc8fff65447849d0d55db177dcdff315c48 (diff) | |
restructure CLI around ngit pr/issue subcommand groups
Introduce ngit pr subcommand group (list, view, checkout, apply, send,
close, reopen, ready, comment, merge) replacing the former top-level
ngit list/checkout/apply commands. ngit send is kept at the top level.
Expand ngit issue with view, create, close, reopen, comment subcommands.
Status changes (close/reopen/ready) are gated to the PR/issue author or
a repository maintainer. ngit pr merge is maintainer-only and publishes
a GitStatusApplied event immediately after the git merge.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 66a29a2..2cb140e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 9 | 9 | ||
| 10 | ### Added | 10 | ### Added |
| 11 | 11 | ||
| 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 view <id>` — view a PR with its full details and comment count | ||
| 14 | - `ngit pr close <id>` / `ngit pr reopen <id>` — change PR status (author or maintainer only) | ||
| 15 | - `ngit pr ready <id>` — mark a draft PR as ready for review (author or maintainer only) | ||
| 16 | - `ngit pr comment <id> --body <text>` — post a NIP-22 comment on a PR | ||
| 17 | - `ngit pr merge <id> [--squash]` — merge a PR branch and publish a `GitStatusApplied` event (maintainer only); prints a reminder to push afterwards | ||
| 18 | - `ngit issue` subcommand group expanded: `list`, `view`, `create`, `close`, `reopen`, `comment` | ||
| 19 | - `ngit issue view <id>` — view an issue with its full details and comment count | ||
| 20 | - `ngit issue create --title <T> [--body <B>] [--label <L>...]` — publish a NIP-34 GitIssue event | ||
| 21 | - `ngit issue close <id>` / `ngit issue reopen <id>` — change issue status (author or maintainer only) | ||
| 22 | - `ngit issue comment <id> --body <text>` — post a NIP-22 comment on an issue | ||
| 12 | - `ngit issue list` command: lists NIP-34 issues with their status; supports `--status` (comma-separated: open,draft,closed,applied; default: open), `--hashtag` (comma-separated label filter), `--json`, `--offline`, and an optional `<id>` positional argument to show full details of a specific issue; hashtags are shown at the end of each row | 23 | - `ngit issue list` command: lists NIP-34 issues with their status; supports `--status` (comma-separated: open,draft,closed,applied; default: open), `--hashtag` (comma-separated label filter), `--json`, `--offline`, and an optional `<id>` positional argument to show full details of a specific issue; hashtags are shown at the end of each row |
| 13 | - `nostr.repo-relay-only` git config key: when set to `true`, nostr events are sent only to the repository's own relays, skipping the user's personal write relays and default/blaster relays; set persistently via `git config nostr.repo-relay-only true` or in one step with `ngit init --repo-relay-only` | 24 | - `nostr.repo-relay-only` git config key: when set to `true`, nostr events are sent only to the repository's own relays, skipping the user's personal write relays and default/blaster relays; set persistently via `git config nostr.repo-relay-only true` or in one step with `ngit init --repo-relay-only` |
| 14 | 25 | ||