git - Import of gitlab project fails in Codenvy
问题描述
I'm starting my first Codenvy project but have trouble importing a Gitlab project. I do the following:
Workspace > Import Project > Subversion
As URL I enter: https://gitlab.company-name.com/apps/app-name.
I'm quite certain the url is correct. However, I get the error message:
Importing project app-name
svn: E170013: Unable to connect to a repository at URL ‘<a href="https://gitlab.company-name.com/apps/app-name/trunk" rel="nofollow noreferrer">https://gitlab.company-name.com/apps/app-name/trunk’
svn: E160013: ‘/apps/app-name/trunk’ path not found
The "default path" in codenvy is "/trunk". I've also tried it with this field empty but with the same result.
Any ideas what I'm doing wrong when importing this project?
解决方案
我在 Codenvy 文档上读到,尚未为 GitLab 启用 oAuth 连接。这意味着您必须使用 ssh 克隆您的存储库,但在此之前您需要正确设置您的 SSH 密钥。
阅读此文档以获取更多信息:https ://codenvy.com/docs/user-guide/git-svn/index.html
我已经能够正确设置所有内容,现在 GitLsb 连接在登录时不会失败,但是...我收到超时错误:)
希望这可以帮助。S。
编辑:就我而言,因为这个问题,我放弃了 Codenvy,因为看起来有趣的 Codenvy 项目几年前就死了。他们网站上的最新消息日期为2017-05-25。他们的 Github 存储库看起来也死了……
推荐阅读
- java - 如何在 for 循环测试中使用 UI 验证 Excel 中的匹配值并在范围报告中显示结果
- node.js - 如何在 express.js 的 1 条路线中调用两种不同的文件上传方法
- javascript - 使用 body-parser bodyParser.json() 时为空 json
- html - css在边缘溢出'auto'
- python - 发送控制台中弹出的内容?
- python - 澄清 Python 中的测试驱动开发
- node.js - 如何在不解析 Node JS 中的整个文件的情况下获取工作簿表的名称
- python - 如何在 for 循环中保存 i 的值而不让迭代影响它
- mysql - Nodejs mysql查询返回奇怪的结果而不是记录
- apache-spark - 如何连接两列并在pyspark中的新列周围添加括号