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

能否添加阿里云 Code (code.aliyun.com) 支持 #65

Open
et2012 opened this issue Jan 17, 2020 · 3 comments
Open

能否添加阿里云 Code (code.aliyun.com) 支持 #65

et2012 opened this issue Jan 17, 2020 · 3 comments
Assignees

Comments

@et2012
Copy link

et2012 commented Jan 17, 2020

感谢 @maikebing 开发的这款优秀扩展。
我留意到目前已经支持 Gitee 登录,而阿里云 Code 也是基于 GitLab 的,
那么能否添加阿里云 Code 的支持呢?
感谢!

@maikebing
Copy link
Owner

应该是可以的。

@et2012
Copy link
Author

et2012 commented Jan 17, 2020

感谢 @maikebing 的回复。

提这个 issue 的时候没有详细说明,在这里补充一下。

背景

阿里云作为国内占用率最高的云服务提供商之一,国内很多公司对它的依赖度是很高的。
例如我们公司就用到了阿里云的容器服务和容器镜像,为了容器镜像可以更方便地拉取代码,我们将代码上传到了阿里云 Code 上。
不选择 GitHub/GitLab 的理由,一方面是速度的考虑,另一方面是毕竟这两家是国外的,很可能因为某些政策原因停止对国内用户的服务(私有仓库)。

需求

如果仅仅把阿里云 Code 作为一个 git 服务端的话,是不需要借助任何第三方扩展的。
但是如果对 git flow 有一定的需求,例如我们需要使用阿里云 Code 的合并请求(即 GitLab 的 Merge Request),现阶段是只能在 Web 页面上操作的。如果能在 Visual Studio 内部整合这个功能就太棒了。

Visual Studio 的团队资源管理器对 git flow 的支持,目前只整合了自家的 Azure DevOps,不支持其他的 git server。GitHub/GitLab/Gitee 都有对应的第三方扩展,如果阿里云也有对应的 Visual Studio 扩展,会方便很多像我们这样依赖阿里云服务的用户。

可能存在的问题

当然,我也清楚,这方面的功能如果由阿里云官方来做是最合适的。
而且阿里云 Code 的 Web 端采用的是阿里体系的登录方式(使用支付宝账号登录和安全验证体系),很可能是不支持 GitLab 的登录协议的。
因此,提出这个 issue 只是提出是否有这种可能性。

@maikebing
Copy link
Owner

可以考虑。 这个事情我准备2020年开始开工。

@maikebing maikebing self-assigned this Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants