Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFederation for organization, repositories and users #1612
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
It would probably be enough to support federated repositories |
JonasFranzDEV
changed the title from
Federated organization, repositories and users
to
Federation for organization, repositories and users
Apr 26, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
JonasFranzDEV
Apr 26, 2017
Member
@kolaente The federation feature make explicitly for users sense. If you want to share repositories you should use the mirror feature. But is would be very convenient for the project manager to add users from other git instances.
|
@kolaente The federation feature make explicitly for users sense. If you want to share repositories you should use the mirror feature. But is would be very convenient for the project manager to add users from other git instances. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
See also #184 (is this a duplicate of that?) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@strk kind of, but i think this one goes further |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
JonasFranzDEV
Apr 26, 2017
Member
@strk Kind of. But this issue includes a full integration of the federation feature for organization not only for pull requests.
|
@strk Kind of. But this issue includes a full integration of the federation feature for organization not only for pull requests. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
strk
Apr 26, 2017
Member
|
You mean for authorization of remote users ?
As I think it's useful to split "federation" in many different small
things to implement, or a single ticket would get just too big.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
JonasFranzDEV
Apr 26, 2017
Member
@strk I agree with the idea to split this thing into many tickets. This ticket might be the user federation ticket doesn't it? But I don't want authentication for users of other platforms. I want the ability to add other users. The user will receive an invite from the user's Gitea instance. He will access the repository or organization from the his instance.
|
@strk I agree with the idea to split this thing into many tickets. This ticket might be the user federation ticket doesn't it? But I don't want authentication for users of other platforms. I want the ability to add other users. The user will receive an invite from the user's Gitea instance. He will access the repository or organization from the his instance. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
strk
Apr 26, 2017
Member
|
Granting permissions to someone in a federation requires being able to
identify that someone (a global address). As you mentioned owncloud I
think owncloud uses "<user>@<domain>" as the identifier, but I dunno what
protocol it uses for that. Friendica/GNUSocial and other OStatus implementing
federations can also use "<user>@<domain>" mapping to something else via
the Webfinger standard (which is open as to allow for specifying different
protocols). Another community (the IndieWeb one, see indieweb.org) uses
web addresses to identify people, as it's used with OpenID up to version 2.0.
New OpenID (OpenID-Connect) uses again Webfinger.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
JonasFranzDEV
Apr 26, 2017
Member
I think that the webfinger standard might be a good solution. But I think that it also could conflict with the git email of an user.
|
I think that the webfinger standard might be a good solution. But I think that it also could conflict with the git email of an user. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
strk
Apr 26, 2017
Member
|
Where's the conflict ?
Rather, what I dislike about Webfinger is that it needs control of
the domain root (which you don't have with OpenID URL).
|
lunny
added this to the 2.x.x milestone
Apr 27, 2017
lunny
added
kind/feature
kind/proposal
labels
Apr 27, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
schmittlauch
Jun 28, 2017
Contributor
Regarding "what standard do we want to choose" I just want to point you to ActivityPub which is currently being finished by the Social Federation working group of the W3C. Some project implementing it (or currently working on that) are pump.io, Mastodon and MediaGoblin.
They don't use WebFinger though as they dislike the idea of a fixed .well-known path, but there are ideas about interoperability.
|
Regarding "what standard do we want to choose" I just want to point you to ActivityPub which is currently being finished by the Social Federation working group of the W3C. Some project implementing it (or currently working on that) are pump.io, Mastodon and MediaGoblin. They don't use WebFinger though as they dislike the idea of a fixed .well-known path, but there are ideas about interoperability. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jas99
Feb 26, 2018
This feature will be truly game changer; keybase.io recently came out with client side encrypted git, thats also interesting.
jas99
commented
Feb 26, 2018
|
This feature will be truly game changer; keybase.io recently came out with client side encrypted git, thats also interesting. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
MatejLach
Apr 19, 2018
Just want to point out that ActivityPub is now done.
Adding support for AP would make Gitea compatible with a growing number of federated servers, such as Mastodon, PeerTube, NextCloud and HubZilla, broadening its reach considerably, not to mention a standout differentiator against GitLab.
It would also have the potential to dethrone GitHub as the go-to hosting for open-source projects, since most are here for the community pull request workflow that AP would allow in a decentralised manner, increasing privacy and eliminating a single point of failure for a large percentage of the free software community.
Anyway, my hope is this gets implemented, it has the potential to be revolutionary!
MatejLach
commented
Apr 19, 2018
|
Just want to point out that ActivityPub is now done. Adding support for AP would make Gitea compatible with a growing number of federated servers, such as Mastodon, PeerTube, NextCloud and HubZilla, broadening its reach considerably, not to mention a standout differentiator against GitLab. Anyway, my hope is this gets implemented, it has the potential to be revolutionary! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tboerger
Apr 20, 2018
Member
As already stated within the chat, ActivityPub in go is a PITA because it's hard to do in a static language like go.
|
As already stated within the chat, ActivityPub in go is a PITA because it's hard to do in a static language like go. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
MatejLach
Apr 20, 2018
@tboerger Interesting. The ActivityPub spec is quite inheritance-heavy OO, but that should be possible to model in Go with struct embedding, however as far as I know, there's nothing like serde in Rust (https://docs.serde.rs/serde_json/value/index.html), which simplifies things quite a lot, however there's some effort to implement ActivityPub in Go, which may be a good start since it not only already implements json-ld parsing, but also defines the core vocabulary for ActivityStreams.
What specific annoyances are you thinking of here?
MatejLach
commented
Apr 20, 2018
|
@tboerger Interesting. The ActivityPub spec is quite inheritance-heavy OO, but that should be possible to model in Go with struct embedding, however as far as I know, there's nothing like What specific annoyances are you thinking of here? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jas99
commented
Apr 20, 2018
|
@MatejLach Another project https://github.com/go-fed/activity |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yookoala
Jun 4, 2018
Relevant proposal in gogs repository:
gogs/gogs#4437
In Gitlab's repository:
https://gitlab.com/gitlab-org/gitlab-ee/issues/4517
yookoala
commented
Jun 4, 2018
•
|
Relevant proposal in gogs repository: In Gitlab's repository: |
yookoala
referenced this issue
in gogs/gogs
Jun 4, 2018
Open
Federation between gogs instances #4437
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cwebber
Jun 4, 2018
Hi! ActivityPub co-editor here. I'm fairly busy at the moment but I'd like to see this happen... if you need questions feel free to ping me, or ask in #social on irc.w3.org
cwebber
commented
Jun 4, 2018
|
Hi! ActivityPub co-editor here. I'm fairly busy at the moment but I'd like to see this happen... if you need questions feel free to ping me, or ask in #social on irc.w3.org |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cjslep
Jun 4, 2018
Please do not hesitate to reach out to me on Mastodon for any questions/concerns/comments surrounding the https://github.com/go-fed/activity library that @jas99 mentioned. I obviously have a vested interest in the outcome of the decision, but would happy to provide candid information about my experiences working in the go+ActivityPub intersection. I agree with @tboerger that implementing ActivityPub in go is a steep cliff.
cjslep
commented
Jun 4, 2018
|
Please do not hesitate to reach out to me on Mastodon for any questions/concerns/comments surrounding the https://github.com/go-fed/activity library that @jas99 mentioned. I obviously have a vested interest in the outcome of the decision, but would happy to provide candid information about my experiences working in the go+ActivityPub intersection. I agree with @tboerger that implementing ActivityPub in go is a steep cliff. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
lunny
Jun 5, 2018
Member
Maybe we could create a new repository named index and set up the new domain index.gitea.io to do that?
|
Maybe we could create a new repository named |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Why do we need an index server? @lunny |
yookoala
referenced this issue
in git-federation/gitpub
Jun 5, 2018
Open
Need to provide a baseline specification #1
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jaywink
Jun 5, 2018
Would be awesome if we could have different projects discussing a common implementation of the ActivityPub protocol (ie using the same extension for verbs, etc). This would enable users of gitea, gogs and gitlab to work together seamlessly just like users of various social media platforms that federate can discuss seamlessly.
Could this be the place? -> https://github.com/git-federation/gitpub
jaywink
commented
Jun 5, 2018
|
Would be awesome if we could have different projects discussing a common implementation of the ActivityPub protocol (ie using the same extension for verbs, etc). This would enable users of gitea, gogs and gitlab to work together seamlessly just like users of various social media platforms that federate can discuss seamlessly. Could this be the place? -> https://github.com/git-federation/gitpub |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@jaywink great idea! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
r0bbie
Jun 6, 2018
This would be amazing! I think Nextcloud (/Owncloud) is the perfect example of how this could work with the ideal implementation, as @JonasFranzDEV suggested.
With Nextcloud, if I want to share a folder with a user on another instance, I can easily do so and setup a shared folder across both instances.
If I could do that for a repository hosted on my Gitea instance, granting a user on another federated instance access to the repo, with that repo then appearing in their Gitea interface with full ability to interact with issues etc (with some clear denotation in the UI that this repo was hosted on another instance), that would be pretty amazing.
The goal being discussed to adopt a shared standard between Gitea and other open source self-hosted projects (such as GitLab CE) definitely makes sense, and it would be great if this was adopted allowing federation between Gitea, Gogs, GitLab, etc.. Migrating from GitHub for private projects is easy with nothing really lost, but for public open source projects we need to acknowledge a big benefit of GitHub is the community. I've discovered a lot of projects actually on GitHub. If there was some way of federating popular projects, users activity feed (i.e. being able to follow a friend on another instance and follow their activity, liked projects, with privacy settings taken into account etc) would be excellent - if that would be possible.
Federated pull requests would be a great first step towards this (#184), and likely the most crucial missing feature at the moment.
r0bbie
commented
Jun 6, 2018
•
|
This would be amazing! I think Nextcloud (/Owncloud) is the perfect example of how this could work with the ideal implementation, as @JonasFranzDEV suggested. With Nextcloud, if I want to share a folder with a user on another instance, I can easily do so and setup a shared folder across both instances. If I could do that for a repository hosted on my Gitea instance, granting a user on another federated instance access to the repo, with that repo then appearing in their Gitea interface with full ability to interact with issues etc (with some clear denotation in the UI that this repo was hosted on another instance), that would be pretty amazing. The goal being discussed to adopt a shared standard between Gitea and other open source self-hosted projects (such as GitLab CE) definitely makes sense, and it would be great if this was adopted allowing federation between Gitea, Gogs, GitLab, etc.. Migrating from GitHub for private projects is easy with nothing really lost, but for public open source projects we need to acknowledge a big benefit of GitHub is the community. I've discovered a lot of projects actually on GitHub. If there was some way of federating popular projects, users activity feed (i.e. being able to follow a friend on another instance and follow their activity, liked projects, with privacy settings taken into account etc) would be excellent - if that would be possible. Federated pull requests would be a great first step towards this (#184), and likely the most crucial missing feature at the moment. |
JonasFranzDEV commentedApr 26, 2017
•
edited
Edited 4 times
-
JonasFranzDEV
edited Apr 21, 2018 (most recent)
-
JonasFranzDEV
edited Apr 21, 2018
-
JonasFranzDEV
edited Mar 3, 2018
-
JonasFranzDEV
edited Apr 26, 2017
See https://owncloud.org/features/federation/
I would like to see a feature like the federation feature of next cloud. It gives the ability to share repositories, organizations or users between multiple Gitea instances.
This has the advantages that business users could share their projects with other companies. This feature would reduce the management and administrativ overhead.
This makes it easier for beginners to start with Gitea.
It could uses the "Mirror"-feature of Gitea.