Re:GitTorrent: A Decentralized GitHub (2015)
by cjslep on Tuesday June 05, 2018 @03:20AM
(#17235582)
Gitea, Gogs, and Gitlab all have social-federation-related feature requests open right now. Not sure where they will land, but some are mentioning ActivityPub.
Re:GitTorrent: A Decentralized GitHub (2015)
by rapnie on Tuesday June 05, 2018 @05:05AM
(#17236016)
Cool! That is really interesting. ActivityPub would be great for this. I've added in links to the issues below:
Gitea:
- https://github.com/go-gitea/gitea/issues/1612
- https://github.com/go-gitea/gitea/issues/184
Gogs:
- https://github.com/gogs/gogs/issues/4437
Gitlab:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/44486
- https://gitlab.com/gitlab-org/gitlab-ee/issues/4517
edit: added gitlab enterprise link (plus formatting)
Re:GitTorrent: A Decentralized GitHub (2015)
by Promarged on Tuesday June 05, 2018 @03:37AM
(#17235639)
ActivityPub is indeed both simple and extensible. Perfect for issues and comments, also PRs.
For the actual code behind PR I would just setup a git daemon and reference own repo. With appropriate CORS the code can even be cloned in a browser.
Re:GitTorrent: A Decentralized GitHub (2015)
by rapnie on Tuesday June 05, 2018 @05:48AM
(#17236190)
And (maybe as a result of this discussion.. who knows) this has just been created:
Re:GitTorrent: A Decentralized GitHub (2015)
by zamalek on Thursday June 07, 2018 @02:04PM
(#17258471)
Crazy, I was learning about ActivityPub yesterday. The vocab could theoretically support this over torrents, too (although I haven't yet thought through how it would work as a protocol):
{
"@context": {
"@vocab": "https://www.w3.org/ns/activitystreams",
"git": "https://gittorrent.org/ns/"
},
"type": "git:PullRequest",
"to": ["gittorrent://cjb/gittorrent#master"],
"git:from": "gittorrent://zamalek/gittorrent#feature/activitystreams"
}
Re:GitTorrent: A Decentralized GitHub (2015)
by akavel on Tuesday June 05, 2018 @06:17AM
(#17236329)
Regarding Git over Scuttlebutt, there's this apparently:
https://git.scuttlebot.io/%25n92DiQh7ietE%2BR%2BX%2FI403LQoy...
though I just stumbled upon it, no idea how it works and what are the features vs. limitations.
Re:GitTorrent: A Decentralized GitHub (2015)
by marknadal on Tuesday June 05, 2018 @01:24AM
(#17235181)
@cjbprime excellent work! We've been using a timegraph CRDT with signed inserts to handle non-web of trusted individuals to send or notify a user of something here at gun. I'd love to be able to chat with you more about your work and possible future solutions - shoot me an email (check my profile)?
Re:GitTorrent: A Decentralized GitHub (2015)
by krotos on Tuesday June 05, 2018 @11:50PM
(#17244235)
What are your thoughts on this project: https://github.com/axic/mango
Looks like it's abandoned, but it's a start at using ETH and IPFS.
Re:GitTorrent: A Decentralized GitHub (2015)
by equalunique on Tuesday June 05, 2018 @11:15AM
(#17238428)
@cjbprime do you have any thoughts on this Git/Ethereum/IPFS combo? https://news.ycombinator.com/item?id=17238414
And, I think it remains the case that the difficult part of decentralizing GitHub is not working out how to share repositories using p2p bandwidth, but instead working out how to use p2p for the social features of the site, like comments and pull requests.
Secure Scuttlebutt has some potential there, but as a gossip protocol it doesn't have a way for people you don't know/follow to e.g. send you a PR.