macos Mac OSX 的 SVN 服务器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2078094/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 06:41:13  来源:igfitidea点击:

SVN server for Mac OSX

svnmacos

提问by Peter Morris

I used to use Visual SVN on Windows. Now I am on Mac OSX.

我曾经在 Windows 上使用 Visual SVN。现在我在 Mac OSX 上。

Does anyone know of an SVN server for MAC OSX which is as easy to use as Visual SVN on Windows? I don't want to be typing in console commands, I'd like a nice and simple UI :-)

有谁知道用于 MAC OSX 的 SVN 服务器,它与 Windows 上的 Visual SVN 一样易于使用?我不想输入控制台命令,我想要一个漂亮而简单的 UI :-)

Cheers

干杯

采纳答案by Hammad Khan

Mac OSX LION and Snow Leopard comes with SVN Server by default. An easy tutorial can be found here

Mac OSX LION 和 Snow Leopard 默认带有 SVN 服务器。可以在这里找到一个简单的教程

Basically you will be using command line (shell) environment. No GUI tool is available.

基本上,您将使用命令行(shell)环境。没有可用的 GUI 工具。

To create a repository issue this command

要创建存储库发出此命令

svnadmin create MyFirstRepository

This will create a repository with the above name in the current folder.

这将在当前文件夹中创建一个具有上述名称的存储库。

The next step is to import a directory. Use this command

下一步是导入目录。使用这个命令

svn import destination-folder file:///path-to-repository -m "Initial Import"

The third step would be to checkout what you just checked in.

第三步是结帐您刚刚签入的内容。

svn checkout file:///path-to-repository destination-folder

回答by oldNoakes

I know that you want a simple GUI app to install the server, but you can get apache serving your subversion repository with WebDAV authentication really quickly and easily. Using macports to install all the dependencies and with a few basic changes to the configuration options in apache, you are good to go.

我知道您需要一个简单的 GUI 应用程序来安装服务器,但是您可以通过 WebDAV 身份验证快速轻松地让 apache 为您的 subversion 存储库提供服务。使用 macports 安装所有依赖项,并对 apache 中的配置选项进行一些基本更改,您就可以开始了。

Here is the basic setup (from Macports wiki) : MacPorts Subversion with Apache

这是基本设置(来自 Macports wiki):MacPorts Subversion with Apache

The command line is your friend!

命令行是你的朋友!

回答by Andreas Kraft

Another nice stack for a subversion server can be found at http://bitnami.org/stack/subversion. From the description:

可以在http://bitnami.org/stack/subversion找到另一个用于 subversion 服务器的不错的堆栈。从描述来看:

BitNami Subversion Stack greatly simplifies the deployment of Subversion and its required dependencies. It can be deployed using a native installer, as a virtual machine or in the cloud.

BitNami Subversion Stack 极大地简化了 Subversion 及其所需依赖项的部署。它可以使用本机安装程序、作为虚拟机或在云中进行部署。

回答by RJStanford

As an aside, it should be noted that Snow Leopard (at least) comes with an SVN server bundled by default. I believe that Leopard did as well. Either way, you're far better off just using it instead of rolling your own solution.

顺便说一句,应该注意的是,Snow Leopard(至少)默认捆绑了一个 SVN 服务器。我相信 Leopard 也是如此。无论哪种方式,您最好只使用它而不是滚动您自己的解决方案。

Apple's instructions: http://developer.apple.com/library/mac/#featuredarticles/SubversionXcode3/

苹果的说明:http: //developer.apple.com/library/mac/#featuredarticles/SubversionXcode3/

A slightly more complicated integration: http://ursecta.com/wp/2009/11/subversion-server-on-snow-leopard-server/

稍微复杂一点的集成:http: //ursecta.com/wp/2009/11/subversion-server-on-snow-leopard-server/

回答by r00fus

I know you're itching for Visual SVN-alike on the mac, but one of the big reasons you're not getting a lot of answers is that SVN and Apache don't exist by default on Windows (an itch that Visual SVN scratches), but do exist on OSX.

我知道你很想在 mac 上使用类似 Visual SVN 的东西,但是你没有得到很多答案的一个重要原因是 Windows 上默认不存在 SVN 和 Apache(Visual SVN 挠痒痒) ),但在 OSX 上确实存在。

The argument goes like this: if you're savvy enough to be using SVN, then most likely you will either be happy with what OSX has by default (command line!), or you likely have a Linux server somewhere that serves SVN for you.

论点是这样的:如果您足够精通使用 SVN,那么您很可能会对 OSX 的默认设置感到满意(命令行!),或者您可能在某处拥有一台 Linux 服务器为您提供 SVN .

I recommend a couple of options for you in addition to what everyone else mentions:

除了其他人提到的内容之外,我还为您推荐了几个选项:

  1. Keep your existing windows machine as a server for your SVN needs
  2. Run a VMWare appliance + VMWare fusion (here are some Trac+SVN appliances)
  1. 保留您现有的 Windows 机器作为您的 SVN 需求的服务器
  2. 运行 VMWare 设备 + VMWare 融合(这里有一些Trac+SVN 设备

回答by petert

I can recommend Versions, if you need a comprehensive 3rd-party app.

如果您需要全面的 3rd 方应用程序,我可以推荐Versions

Until recently I had a simple setup - a local SVN (file) repository on my local drive; then used Xcode's SCM (Source Control Management) windows to manage SVN commands - it's not too bad for most of the day-to-day actions. Obviously, this is assuming you're using Xcode?

直到最近,我才进行了一个简单的设置——本地驱动器上的本地 SVN(文件)存储库;然后使用 Xcode 的 SCM(源代码控制管理)窗口来管理 SVN 命令 - 对于大多数日常操作来说还不错。显然,这是假设您使用的是 Xcode?

回答by vinnyjames

You can download subversion for OSXfrom WANdisco. They also have uberSVNwhich is a web based tool similar to VisualSVN with much more functionality.

您可以从 WANdisco下载 OSX的 subversion。他们还有uberSVN,这是一个基于 Web 的工具,类似于 VisualSVN,具有更多功能。

回答by Damien Wilson

While this isn't mac-central per-say, Warehousewas open sourced some time ago and might be worth a look. It's a web-based GUI for svn and git repository management.

虽然这不是 mac-central per-say,但Warehouse前一段时间是开源的,可能值得一看。它是用于 svn 和 git 存储库管理的基于 Web 的 GUI。

回答by Ryan Joy

The server and the GUI are separate components. As for great SVN GUIs, Versions.appseems to be the favorite.

服务器和 GUI 是独立的组件。至于出色的 SVN GUI,Versions.app似乎是最受欢迎的。

Editing to add the following additional SVN apps:

编辑以添加以下额外的 SVN 应用程序:

http://ciaranwal.sh/2007/10/10/svn-plug-in-for-textmate(TextMate plugin)

http://ciaranwal.sh/2007/10/10/svn-plug-in-for-textmate(TextMate插件)

https://www.smartsvn.com/

https://www.smartsvn.com/

http://www.syncrosvnclient.com/index.html

http://www.syncrosvnclient.com/index.html

http://www.zennaware.com/

http://www.zennaware.com/