Files
n34/docs/patch
Awiteb 4360aa192c feat: support pull requests
Support for pull requests, it's not standard in NIPs yet[1] but there must be
two clients that support it to be included in NIPs, n34 is one of them.

This support:
- Create a new PR `n34 pr new`
- Update PR tip `n34 pr update`
- View a PR `n34 pr view`
- List PRs `n34 pr list`
- Add `PR` and `PR-update` kinds as roots in `NostrClient::find_root`
- Support issuing statuses for PRs
- Support GRASP PR and PR-update
- Update the docs

[1] https://github.com/nostr-protocol/nips/pull/1966
2025-09-12 06:43:23 +00:00
..
2025-09-12 06:43:23 +00:00
2025-08-24 10:06:55 +00:00
2025-08-24 10:06:55 +00:00
2025-08-24 10:06:55 +00:00
2025-08-24 10:06:55 +00:00
2025-08-24 10:06:55 +00:00
2025-08-01 20:32:48 +00:00
2025-09-12 06:43:23 +00:00
2025-08-24 10:06:55 +00:00

Patch Management

In n34, patch management is designed to give you complete control. You can manually generate patch files using git-format-patch and then broadcast them to Nostr relays. This ensures that you have full authority over the content and structure of your patches, allowing for precise customization as per your requirements.

Similarly, when fetching patches, n34 provides them to you without automatically applying, merging, or checking them. This empowers you to review the patches at your own pace and decide whether to merge or apply them as needed. You retain full control over the entire process, ensuring a tailored approach to patch management.

Patch Status Management

You can assign a status to original patches, but revision patches do not have a specific status assigned to them. Instead, they inherit the status of the original patch. However, if the original patch is marked as Applied/Merged, the revision patch must be explicitly tagged to claim the same status. If not tagged, the revision patch status will be Closed.