问题标签 [svn-server]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
3465 浏览

svn - 无法通过SVN协议访问SVN仓库,但可以通过http访问

我无法通过 SVN 协议访问 SVN 存储库,但可以通过 http 访问:

我有以下设置

1) 我正在使用 collabnet subversion 1.6.20 安装在 server830(windows 2003) 定义的环境变量:路径 = C:\Program Files\CollabNet\Subversion Server 配置了 windows 服务 -> C:\Program Files\CollabNet\Subversion Server\ svnserve.exe --service -r C:\svn_repository\webMethods_SVN 目前正在运行 我创建了一个名为“webMethods_SVN”的存储库,我可以通过
http://server830.com/svn/webMethods_SVN/访问我的存储库及其内容

但同样我无法通过
svn://server830.com/svn/webMethods_SVN/访问它

2)我的桌面在其他远程服务器上,我已经安装了 Tortoise SVN,可以通过 Tortoise SVN Repo 浏览器访问 server830 SVN 存储库 svn://plvm830 Tortoise SVN 还要求我提供身份验证详细信息并在访问存储库之前验证我。

有人可以建议我如何通过 SVN 协议在本地和远程访问我在 server830 创建的存储库吗?

0 投票
0 回答
1600 浏览

eclipse - How to generate certificate file for svn server, and import

I would like to use svn server to share source code in a repository among computers on a home network. I have svnserver and openssl installed on the computer with the repository. Can someone give me step by step instructions on generating a certificate, incorporating into svnserver, putting the certificate on the other computers, and accessing the repository from eclipse.

The computers are running versions of windows.

I'm following the steps at http://community.spiceworks.com/how_to/show/1469-how-to-become-your-own-certificate-authority-and-secure-spiceworks

and have put the following commands into a script file for cygwin

At this point, I think I copy the contents of server.key and server.key.insecure into the file C:\Program Files (x86)\VisualSVN Server\certs\server.pem

but, I'm not sure about that. Also, what file do I copy to the other computers and how to connect eclipse to the repository.

Also, is there an easier way to do this besides using svnserver, since all the machines are on the same home network, and they are running versions of windows?

0 投票
1 回答
134 浏览

svn - 是否有任何工具可以让 SVN 服务器将评论日志保存到 SQL 数据库中?

我很好奇是否有任何开源工具可以配置 SVN 服务器(例如 VisualSVN)来维护 SQL 数据库(例如 MySQL)中的评论日志。

我只对存储每个提交的存储库名称、修订号和相关用户评论感兴趣。理想情况下,我希望自动维护评论日志,因此对数据库和/或 SVN 存储库的任何更改都是同步的(假设所有更改在两种情况下都是合法的)。

作为第一种方法,可以编写一个提交后脚本来将提交评论存储到 SQL 数据库中,但我正在寻找更多。

0 投票
2 回答
219 浏览

svn - 允许任何用户名提交到 SVN

要从我们的旧 VCS 迁移,我想永久启用以任何用户名和不提示密码的方式提交到我们的存储库。我的脚本运行如下:

我需要服务器接受我为 ANYNAME 输入的任何名称,并且它不能要求输入密码,以便我的脚本可以继续提交。那可能吗?

我使用 VisualSVN,我的服务器在 Http 上运行,而不是 Https。

请帮忙,

谢谢!

0 投票
1 回答
4277 浏览

svn - “格式 6”上的 SVN 结帐错误

当我尝试使用 SVN 签出存储库时,出现错误:

E160043: '1' 和 '4' 之间的预期 FS 格式;找到格式“6”

我读过这与不匹配的版本有关,但是我的 SVN 服务器和客户端都运行版本 1.8.1。

(编辑:)我一直在关注本教程: http: //jason.pureconcepts.net/2012/10/updating-svn-mac-os-x/ 我从一个预构建的 MacPorts 版本的 SVN 开始,然后我构建了我的自己看看是否能解决问题。

我正在为 SVNServe 服务。我在服务器上测试服务器,所以客户端和服务器是同一个实例。

这是确切的版本(我相信它们是一个包):

如果我用 . 创建一个 repo --compatible-version 1.7,但这看起来很愚蠢,因为一切都是 1.8+ 版本。

任何帮助将非常感激。

0 投票
0 回答
377 浏览

svn - svn lock-modify-unlock 模型

我需要使用 lock-modify-unlock 模型配置一个 svn 存储库。还需要在用户签出项目时,所有文件必须具有只读权限集。当用户想要修改文件时,继续锁定文件(这将设置文件的写入权限),如果另一个用户想要修改文件,他不会这样做,因为他需要锁定文件才能获得写入权限文件的权限。

可能吗?

0 投票
2 回答
11244 浏览

apache - SVN 405 错误:无法获取资源信息

亲爱的 Stackoverflow 社区!最近我的 svn 服务器坏了,我几乎尝试了所有方法,但我无法让它再次工作。

操作系统:树莓派

我做了什么:安装软件包:

启用 dav_svn:a2enmod dav_svn

创建存储库:

添加它们:

设置所有者:

创建的用户:

创建的存储库文件:

创建的/etc/apache2/mods-enabled/dav_svn.conf文件:

导入它们:注意访问存储库http://不起作用;通过file://作品

其他都是默认设置!

错误信息:

系统日志:

Apache2/error.log:

当我尝试通过我的网络浏览器访问存储库时,一切正常:http: //i.stack.imgur.com/aNKzw.png

0 投票
1 回答
33 浏览

svn - 连接到SVN服务器的驱动器是否需要授权?

我使用 VisualSVN 作为 svnserver,它管理存储在 X: 驱动器中的存储库。不是每个人都可以访问 X: 驱动器,但我想让他们中的一些人访问存储库。他们是否需要访问 X: drive 或通过 visualsvn 的授权就足够了?

0 投票
2 回答
69 浏览

svn - SVN 服务器和 SVN 客户端:使用 svn 客户端更新多个服务器位置?

我是 svn 的新手,对此一无所知,想要一些有关如何更新服务器上多个位置的基本信息或指针,这是我的情况:我有一个 Web 应用程序,这个 Web 应用程序在三个不同的域上运行。这些域是在同一台服务器上创建的。比如http://www.domain-one/webapphttp://www.domain-two/webapphttp://www.domain-three/webapp. 所以我已经在三个域上设置了 web 应用程序,比如上面的 url,现在的问题是,当我更新本地系统上的代码时,我必须更新所有这三个位置,并且我通过 FTP 手动更新所有这三个位置。有什么方法可以让我更新我的代码并自动更新,或者只使用任何 svn 客户端(如 tortoise svn)做 udpate。(我使用 windows 7 并使用 apache 软件运行 linux)。可以安装任何需要的软件如果需要服务器。提前非常感谢任何帮助或指示。

0 投票
2 回答
24495 浏览

linux - SVN 意外的 HTTP 状态 405 方法不允许

一年前我在我的 RaspberryPI 上安装了 svnserver...

由于我最近更新了我的 RaspberryPI,sudo apt-get update然后sudo apt-get upgrade我无法再对我的存储库进行任何操作。当我尝试时checkout,它显示以下错误update

我检查了我的 svn 配置文件,但更新后它们没有改变。
有人可以帮助我吗?我不知道发生了什么:S

谢谢指教