ForgeFed: An extension to ActivityPub for web-based Git services federation
github.com
github.com
Github has the network effect; people can make merge requests because they already have accounts there.
On my instance they don't but if they had a Gitlab account and federation worked, they could!
However, Github could probably afford to do this, being owned by Microsoft now. If they implemented this, others would have to follow to stay in the game.
Gitlab would considering they have open core and it would make interop between instances easier.
- Discover self-hosted projects from gitlab.com [0]
- Implement cross-server (federated) merge requests [1]
- Share events externally via ActivityPub [2]
Afair Gitlab Enterprise edition currently supports some forms of federation.
[0] https://gitlab.com/gitlab-org/gitlab-ce/issues/36025 [1] https://gitlab.com/gitlab-org/gitlab-ce/issues/4013 [2] https://gitlab.com/gitlab-org/gitlab-ce/issues/44486
My guess is that github is not risking much.
GitHub would likely not risk much losses but people not using GitHub would immensely benefit either way, if GH implements it or not.