Deprecates git replies in favor of NIP-22#1744
Conversation
|
I agree. Does anyone even use this GitReply event? |
I'm literally testing the NIP-34 replies right now on the Nestr client but our working implementation is handled very differently (using Martti Malmi's irisdb-hooks). I thought I'd test if NIP-34 could work for us too but if this is going to get deprecated then I won't bother testing it. The main reason we'd switch is to be more interoperable. We also have pull requests which is not specified in NIP-34 at all. PRs have almost identical structure to issues but should have a different kind number imo. |
|
The only problem I see with NIP-22 in this use case is that markdown is the standard format of git replies and that is not allowed in kind |
|
On that point, I think content restrictions on NIP-22 will have to be per scope. The comment kind must always follow the formatting requirements of the scope they are being applied to. |
|
Check this out: #1797 |
LGTM. |
|
nip10 threading applies throughout nip34 and not just to the reply kind. I'll review this PR tomorrow including the impact on the rest of nip34.
…-------- Original Message --------
On 20/02/2025 15:03, AsaiToshiya wrote:
> Check this out: [#1797](#1797)
LGTM.
—
Reply to this email directly, [view it on GitHub](#1744 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A3MDZJYP4SFNDYROJBZDNK32QXVDJAVCNFSM6AAAAABWRFOWCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRG43DKNZQGU).
You are receiving this because you were mentioned.Message ID: ***@***.***>
[AsaiToshiya]AsaiToshiya left a comment [(nostr-protocol/nips#1744)](#1744 (comment))
> Check this out: [#1797](#1797)
LGTM.
—
Reply to this email directly, [view it on GitHub](#1744 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A3MDZJYP4SFNDYROJBZDNK32QXVDJAVCNFSM6AAAAABWRFOWCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRG43DKNZQGU).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
We should deprecate nip10 all throughout. Use |
|
The main reason we'd switch is to be more interoperable. We also have pull requests which is not specified in NIP-34 at all.
The primates for a pull request style workflow are there in nip34. You can see how the ngit git remote helper is intended to be used with this workflow at https://gitworkshop.dev/quick-start
…-------- Original Message --------
On 20/02/2025 22:52, Dan Conway wrote:
nip10 threading applies throughout nip34 and not just to the reply kind. I'll review this PR tomorrow including the impact on the rest of nip34.
-------- Original Message --------
On 20/02/2025 15:03, AsaiToshiya wrote:
>> Check this out: [#1797](#1797)
>
> LGTM.
>
> —
> Reply to this email directly, [view it on GitHub](#1744 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A3MDZJYP4SFNDYROJBZDNK32QXVDJAVCNFSM6AAAAABWRFOWCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRG43DKNZQGU).
> You are receiving this because you were mentioned.Message ID: ***@***.***>
>
> [AsaiToshiya]AsaiToshiya left a comment [(nostr-protocol/nips#1744)](#1744 (comment))
>
>> Check this out: [#1797](#1797)
>
> LGTM.
>
> —
> Reply to this email directly, [view it on GitHub](#1744 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A3MDZJYP4SFNDYROJBZDNK32QXVDJAVCNFSM6AAAAABWRFOWCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRG43DKNZQGU).
> You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
I say we keep git replies since they are markdown and nip22 comments are not. BUT maybe the tags could be more like nip22, I dunno. |
|
We're not keeping git replies. No one uses them. I say we use nip22 and don't stress about markdown. |
Wow that is not accessible at all and doesn't leverage Nostr. Working on fixing this 👍 |
I agree. Kind |
Not sure what you mean? the PR is entirely on nostr in patch event(s). |
|
I'm sure I'm missing something then, ignore me. We'll be doing PRs very differently on our project anyway to keep the github-like UX. No patches. |
|
ACK
I've reviewed the impact of nip22 on the rest of nip34 and concluded that its best to use nip22 comments here but not to apply the threading style to |
|
Replaced by #1799 |
|
@DanConwayDev I am confused about this statement. Are you saying we should merge this or #1799? |
|
I'm saying we should merge this and not #1799 so we minimised breaking changes. I've implemented nip22 for gitworkshop.dev to reflect this PR (see git issue on gitworkshop). Are there any clients left using kind 1 or the legacy kind for git replies? Has amethyst updated? Let's go ahead and merge this and discuss if we need furture changed in the #1799 thread. |
|
Nice, I will switch on Amethyst too |
|
Either PR seems fine to me, but regarding plaintext I've drafted #1800. Hopefully this can thread the needle between rich text and plain text. |
|
can we merge this? |
No description provided.