我曾经能够使用SVN外部从Github获取项目:
svn:externals > https://github.com/J7mbo/twitter-api-php/tree/develop twitter-api-php
Github之前曾宣布支持SVN,这篇博客文章详细介绍了通过SVN外部使用Github项目。
这在以前工作得很好,但我最近(过去几周?)注意到我无法再从 Github 获取任何项目:我收到一个Unable to connect to a repository at URL ***
错误。其他外部似乎正常工作。我找不到任何文档表明他们已经放弃或更改了此功能。有谁知道为什么这不再有效,或者他们是否放弃了支持?
更新:运行
svn ls https://github.com/J7mbo/twitter-api-php/branches/develop
返回以下错误:
svn: E175002: OPTIONS of 'https://github.com/J7mbo/twitter-api-php/branches/develop': SSL handshake failed: SSL error: tlsv1 alert protocol version (https://github.com)
我猜这就是我的问题所在:我的openssl版本是LibreSSl 2.27
,但我无法确定它使用的TLS版本,无论如何我都在努力更新openssl
。
>svn:externals
属性由本地SVN-Client评估,而不是由Github评估。因此,只要Github支持SVN桥,svn:externals
就可以工作。
但是您的网址似乎是错误的:
> svn ls https://github.com/J7mbo/twitter-api-php/tree/develop
svn: warning: W160013: URL 'https://github.com/J7mbo/twitter-api-php/tree/develop' non-existent in revision 137
svn: E200009: Could not list all targets because some targets don't exist
此网址似乎有效:
> svn ls https://github.com/J7mbo/twitter-api-php/branches/develop
.gitignore
.travis.yml
LICENSE.md
README.md
TwitterAPIExchange.php
composer.json
index.php
phpunit.xml
test/