What is Nostr?
Kind 1621
git repository issue: how do I push a repository?
Author Public Key
npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr
Published at
2024-09-25 18:16:19
Kind type
1621
Event JSON
{ "id": "85874b19360deeeb105906b133c7a1779907b090bff9b1d8fad56ab92aac5885", "pubkey": "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d", "created_at": 1727288179, "kind": 1621, "tags": [ [ "subject", "how do I push a repository?" ], [ "alt", "git repository issue: how do I push a repository?" ], [ "a", "30617:3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d:song", "wss://git.fiatjaf.com", "root" ], [ "p", "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d" ] ], "content": "I pushed the repo state event (kind 30618) to the relay at http://localhost:8484.\nwhen add the git server as a remote and try and push the main (only) branch at the commit in the state event I get the error: \n```\ngit push song\nXML error: syntax error\nerror: no DAV locking support on http://localhost:8484/\nfatal: git-http-push failed\nerror: failed to push some refs to 'http://localhost:8484'\n```\nsong on the cli reports:\n```\nwhen i add the git server as a remote i get the error:\n7:01PM INF request method=GET url=/info/refs?service=git-receive-pack\n7:01PM INF request method=GET url=/HEAD\n7:01PM INF request method=PROPFIND url=/\n7:01PM WRN failed to load repo error=\"failed to get commit at 'HEAD': failed to get head: reference not found\" repo=ca118aa\n```\nwhen I visit the http://localhost:8484 in a browser song cli reports:\n```\n7:02PM INF request method=GET url=/\n7:02PM WRN failed to load repo error=\"failed to get commit at 'HEAD': failed to get head: reference not found\" repo=ca118aa\n7:02PM WRN failed to load repo error=\"failed to get commit at 'HEAD': failed to get head: reference not found\" repo=gitworkshop\n7:02PM WRN failed to load repo error=\"failed to get commit at 'HEAD': failed to get head: reference not found\" repo=ngit\n7:01PM WRN failed to load repo error=\"failed to get commit at 'HEAD': failed to get head: reference not found\" repo=ngit\n```", "sig": "930463c916d68306a46faac181d99e2010345e5caa2401c4437cd7e2755ea27f6d59d2d00d8d55b8fb422d2d56b1da60c4ec059c51fe9e6df150c92ac4fd1858" }