Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using IPFS for Federation #12645

Closed
zyansheep opened this issue Aug 29, 2020 · 3 comments
Closed

Using IPFS for Federation #12645

zyansheep opened this issue Aug 29, 2020 · 3 comments

Comments

@zyansheep
Copy link

IPFS could be easily used for Federation. It would allow for projects to be shared and viewed across all instances. Cross-instance pull requests, issue opening as well as watching repositories on other instances could be accomplished using the Inter-Planetary Name System and IPFS's PubSub System.
I originally brought up this idea on #1612 but someone suggested to open a new issue.

@maisiliym
Copy link

The problem isn't so much how to store the data, but how to merge between entities.
This would be a first step, an easy one at that - #1872 (comment)
But the gitea project hasent taken it seriously. Perhaps @zyansheep can be more convincing to the project.

@zyansheep
Copy link
Author

Looking at the code, gitea would need a pretty large code refactoring to support suborganizations. Currently, the routing file directly supports "/:username/:reponame" route match.
However, I'm more focused on the ability for viewing and contributing to repositories regardless of what gitea instance you have an account with. If repository objects as well as other information (issue threads, pull requests, stars, forks, etc.) were made available on IPFS, they could be viewed from other gitea repositories if you knew the IPNS or IPFS address. If the entirety of gitea's repository storage was based on IPFS, it would allow for local forking without having to duplicate the data in storage.

@6543
Copy link
Member

6543 commented Sep 3, 2020

@zyansheep this would need a lot of rewrite or "adapters" to warp things into IPFS/IPNS

and it only would make it posible to federate between gitea
a bad idear ... just have a look how Diaspora has a great protocoll but they where the first and no standard was established.
Nowerdays it's still here but most new Distributed platforms only support/focus on ActivePub

so ForgeFed is more interesting than IPFS ...

by the way I personaly find IPNS very slow so It could slow down big instances most likely

@go-gitea go-gitea locked and limited conversation to collaborators Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants