DanConwayDev on Nostr: Here is a spec: I have been cooking up a git remote-helper that would make working ...
Here is a spec:
https://github.com/nostr-protocol/nips/pull/1249I have been cooking up a git remote-helper that would make working with nip34 feel more like using native git. cloning something like nostr://naddr123 would proxy requests to the git server(s) in the `clone` tag and if the `refs` tag exists, only fetch updates which match the repo event. For a maintainer `git push` would update the repo event and push to all git_servers listed in `clone`.
Lez (npub1elt…cume) has also been exploring the idea of doing away with the git server and using a git remote-helper that gets git data via blossom.
Hopefully the spec could meet all of these use cases.
Published at
2024-05-21 15:06:03Event JSON
{
"id": "d87ed29861672572fdc53604db2ec9d749c1454482a30b006e06e13e6e77ce5c",
"pubkey": "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"created_at": 1716303963,
"kind": 1,
"tags": [
[
"e",
"61dc9ee6b1a102808bd7c9aa9d909a45d8edfdd5c5386c16fcbccdc3be84fc23",
"wss://nostr.wine/",
"root"
],
[
"e",
"0ec9a33391b7bf4370f7fca6862cac5c264caf1f86100ba9692ab6c5712ca666",
"wss://nos.lol/",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"",
"mention"
],
[
"p",
"cfd7df62799a22e384a4ab5da8c4026c875b119d0f47c2716b20cdac9cc1f1a6",
"wss://nos.lol/",
"mention"
]
],
"content": "Here is a spec: https://github.com/nostr-protocol/nips/pull/1249\nI have been cooking up a git remote-helper that would make working with nip34 feel more like using native git. cloning something like nostr://naddr123 would proxy requests to the git server(s) in the `clone` tag and if the `refs` tag exists, only fetch updates which match the repo event. For a maintainer `git push` would update the repo event and push to all git_servers listed in `clone`.\nnostr:npub1elta7cneng3w8p9y4dw633qzdjr4kyvaparuyuttyrx6e8xp7xnq32cume has also been exploring the idea of doing away with the git server and using a git remote-helper that gets git data via blossom.\nHopefully the spec could meet all of these use cases.",
"sig": "2eeecb6254127f643d82f2d366c1a620970f508d97ca61d1fef48cbf5d56c2d48bed95dc8f15b15f2a3a55bce7727916f5bb0132cf8890d1f369ea57361aefe0"
}