[Feature] Support more platforms, GitLab, BitBucket, ✅Gitea, ✅Gitee etc
devbean opened this issue · 18 comments
There are many other git hosts which are not so popular as github. So I wonder if it is possible to extends Gitako and supports the other hosts just like plugins? The code structure of Gitako seems bind to github so maybe it is better to do some refactor in order to support plugins (or adapters).
Anyway, Gitako is great. Thank you for your work!
Hi @devbean
Gitako was designed to work on GitHub in the first place. But it worked out much better than I thought and got appreciations from lots of people, I've decided to refactor it to support more platforms (actually that is almost done 🥳).
Please stay tuned.
BTW, what platforms in specific you'd like Gitako to support?
Gitee and other private hosts.
PS: 我没有注意到你的位置在杭州 ;-P
That's great. There are some other hosts like gitea.
Hope to support for https://gitea.com.
Gitee support is available now in v2.0
Any possibility for Bitbucket?
@taigrr Sure! But I am busy recently.
If anyone would like to help contribute code, take a look at platform specification and add code into the platforms folder. You can refer to the platforms/GitHub
and platforms/Gitee
folders' content.
Any possibility for Gitlab?
@ttbadr GitLab already provides very powerful WebIDE #57 (comment) which covers most of Gitako's features
But I'm ok with implementing that if more users request it.
Now I find GitLab.com request to fork repo in order to use WebIDE, and it's too big a deal for just simply read codes.
So I think it's meaningful to implement it in this time.
Now I find GitLab.com request to fork repo in order to use WebIDE, and it's too big a deal for just simply read codes. So I think it's meaningful to implement it in this time.
+1. this feature is necessary!
There is a technical blocker for supporting GitLab.
Gitako takes advantage of host platforms' fast-loading technologies to work seamlessly. On GitHub, it was PJAX and now turbo. On Gitee, it was PJAX.
But GitLab, ASAIK, uses totally different tech. It manages an internal routing state. I have not figured out how to trigger redirecting to files without triggering a full reload.
And I do not find extensions for GitLab that support triggering fast redirecting. Please let me know if you find any. Then I can check out how it works.
git master support gitlab, and I hope it can inspire you.
git master support gitlab, and I hope it can inspire you.
Thanks, @faimin But it seems redirecting via Git Master's file tree would trigger a full reload, too.
For gitlab, it would be great if it supports community edition for private deployment 😄
Support for gitee doesn't seem to be available in 3.12.0 right now.