为什么我不能再通过svn:external获取Github仓库了? [英] Why can I no longer fetch a Github repo via `svn:external`?

查看:168
本文介绍了为什么我不能再通过svn:external获取Github仓库了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经能够使用SVN外部组件从Github中获取项目:

I used to be able to fetch projects from Github using SVN externals:

svn:externals > https://github.com/J7mbo/twitter-api-php/tree/develop twitter-api-php

Github具有先前宣布的对SVN的支持,此博客文章详细介绍了通过SVN外部程序使用Github项目的情况. /a>

Github had previously announced support for SVN, and this blog posts details the use of Github projects via SVN externals.

以前该方法运行良好,但最近(过去几周?)我注意到我无法再从Github中获取任何项目:我收到一个Unable to connect to a repository at URL ***错误.其他外部因素似乎正常工作.我找不到任何文档表明他们已删除或更改了此功能.有谁知道为什么这不再起作用,或者他们是否放弃了支持?

This worked just fine previously, but I've noticed recently (the past couple of weeks?) that I can no longer fetch any project from Github: I get a Unable to connect to a repository at URL *** error. Other externals seem to be working as normal. I can't find any documentation that suggests they've dropped or changed this feature. Does anyone know why this is no longer working, or if they've dropped support?

更新: 正在运行

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.

I'm guessing that's where my problem lies: my openssl version is LibreSSl 2.27, but I can't establish which version of TLS it uses, and in any instance I'm struggling to update openssl.

推荐答案

svn:externals属性是由本地SVN客户端而不是Github评估的.因此,只要Github支持SVN桥,svn:externals就会起作用.

The svn:externals property is evaluated by your local SVN-Client, not by Github. Therefore as long as Github support the SVN-bridge, svn:externals will work.

但是您的网址似乎有误:

> 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/

这篇关于为什么我不能再通过svn:external获取Github仓库了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆