5 ms·
> 8. Every single open source project I use or contribute to uses github. If GitLab were to, say, add a github integration that lets me work with all the github
by emilycook 7y ago
> 8. Every single open source project I use or contribute to uses github. If GitLab were to, say, add a github integration that lets me work with all the github repos I care about, but using Gitlab's UI, I would be intrigued.
This does exist:
https://docs.gitlab.com/ee/user/project/import/github.html#mirroring-and-pipeline-status-sharing https://docs.gitlab.com/ee/user/project/import/github.html#m...
- brodock 7y agoDepending on what you consider "work with github repos" here, you can import then as emily said above, and setup a push mirror, so whatever you do on gitlab is pushed back to Your fork on GitHub, so you can do PRs there. The way to interact between the two without this sort of functionality would be if both agreeded in some sort of federation access. I don't see GitHub allowing that anytime soon, as that would reduce their lock-in effect. We have an epic for Distributed Merge Requests: https://gitlab.com/groups/gitlab-org/-/epics/260 https://gitlab.com/groups/gitlab-org/-/epics/260 and an issue to discuss ideas about Federated GitLab: https://gitlab.com/gitlab-org/gitlab-ee/issues/6468 https://gitlab.com/gitlab-org/gitlab-ee/issues/6468
- sam0x17 7y agoYeah mirroring is relatively easy. What I want is full and continuous synchronization of everything -- comments, PRs, etc. You could do it with a combination of the Github API and a web spider, at least with public repos.
- sam0x17 7y agoYeah importing doesn't do it for me though. I know I'm not going to be able to get any people to go to my repos if they are on Gitlab. But if I could use Gitlab as the UI, that would be cool, and might be the start of something that would get me to eventually host things on Gitlab.
- emilycook 7y agoYeah that's fair, and we're pretty aware that we don't have e.g. the social functions that GitHub has. Your comment has sparked some internal discussion though, a full integration would be interesting.
- sam0x17 7y agoOn that note, legally, I don't think there is anything preventing you from automatically mirroring all MIT-licensed repos as well and pulling in some organic search engine traffic that way. Don't know if that also applies to the comments, pull requests, etc., but it's an intriguing move and definitely one I'd consider as long as there is a sane way of allowing the relevant users verify their ownership of a repo via GitHub API if they wish to "claim" the corresponding automatic gitlab repo.