主机要在虚拟主机上使用 Microsoft Visual SourceSafe 或 CVS 进行开发吗?

发布于 2024-10-05 23:08:58 字数 1436 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

佞臣 2024-10-12 23:08:59

我会从“为什么选择 VSS 或 CVS”这个问题开始?这是因为遗留原因,还是因为您不知道其他选择?

如果答案是“因为遗产”,那么你就没有太多选择。没有云提供商提供 VSS 支持,CVS 的选择也不是很好。 SourceForge.net 仍然提供 CVS 支持,搜索“CVS 托管”也会产生一些结果,但大多数都不是具有经过验证的可靠性和安全性的知名名称。

然而,考虑到您的选择,我非常有兴趣了解有关同时使用 VSS 和 CVS 的遗留项目的更多详细信息。 :-)

但是,如果答案是“因为我不知道还有什么”,我强烈建议您研究 SVN、Mercurial 或 GIT。有一些优秀的云提供商为这三者提供支持,从开源项目的免费支持到专有项目的多层付费支持。为这三者中的任何一个设置服务器都非常容易。更不用说它们都比 VSS 和 CVS 好几个数量级。

为了让您快速入门,您可以查看以下提供程序的简短列表:

  • CodePlex - SVN 和 Mercurial 支持,对开源项目免费,但可以控制源代码的可见性
  • GitHub - GIT 支持,开源免费计划,专有项目的付费计划
  • Google Code - SVN 和 Mercurial 支持,但开源项目免费 2GB他们确实对您的源的可见性有一定的控制
  • BitBucket - SVN 和 Mercurial 支持,免费供 5 个用户使用,无限制付费和专有项目
  • SourceForge - GIT、SVN、Mercurial 和 CVS 支持,开源项目免费
  • Unfuddle - GIT 和 SVN 支持,付费
  • CodebaseHQ - GIT、Mercurial 和 SVN 支持,付费

还有更多,具有各种定价模型(当然还有可靠性:-))

更新:如果您正在开发网络应用程序,您的网络主机也必须支持源代码控制。您可以将源代码(HTML、CSS、JS)放在单独的版本控制主机中,并仅将工作的最终版本部署到 Web 主机。

I would start with the question "Why VSS or CVS"? Is this because of a legacy reasons, or is it because you don't know other options?

If the answer is "because of legacy", then you don't have much choices. There are no cloud providers that offer VSS support, and the choices for CVS are not that great either. SourceForge.net still offers CVS support, and searching for "CVS hosting" also yields some results, but most are not well-known names with proven reliability and security.

However, given what your choices are, I would be quite interested to hear more details about a legacy project that uses both VSS and CVS. :-)

If, however, the answer is "because I don't know what else is there", I would strongly recommend to look into SVN, Mercurial or GIT. There are great cloud providers that offer support for these three ranging from free for open source projects to multiple tiers of paid support for proprietary projects. And it's quite easy to set servers for any of these three yourself. Not to mention that all of them are orders of magnitude better than VSS and CVS.

To give you a quick start, here's a short list of providers you can look at:

  • CodePlex - SVN and Mercurial support, free for open source projects, but there's control over the visibility of your source
  • GitHub - GIT support, free plans for open source, paid plans for proprietary projects
  • Google Code - SVN and Mercurial support, free 2GB for open source projects, though they do have some control over the visibility of your source
  • BitBucket - SVN and Mercurial support, free for 5 users, unlimited for paid and proprietary projects
  • SourceForge - GIT, SVN, Mercurial, and CVS support, free for open source projects
  • Unfuddle - GIT and SVN support, paid
  • CodebaseHQ - GIT, Mercurial and SVN support, paid

There are a lot more out there, with various pricing models (and reliability of course :-))

Update: If you are working on a web app, your web host dos necessarily have to support also the source control. You can have your sources (HTML, CSS, JS) in a separate version control host, and deploy to the web host only the final version of your work.

神爱温柔 2024-10-12 23:08:59

CVS 要求 CVS 服务器正在运行(/可用),并且我愿意打赌 SourceSafe 也需要同样的服务器。
当您正常获得网络托管时,您只是获得一个存储文件的位置,并且某些服务器软件将使其通过 http 可用。

我原本以为这个问题是“如何使用...”。仔细检查问题后,“要使用的主机...”并不完全有意义。希望我提供的信息有用。

CVS requires a CVS server to be running (/ available) and I'd be willing the bet that SourceSafe would require the same.
When you get web hosting normally you just get a place to store files and some server software will make it available over http.

I originally thought that this question read "How to use...". Upon double checking the question, "Host to use..." doesn't completely make sense. Hopefully the information I've presented is useful.

凉月流沐 2024-10-12 23:08:59

您可以访问 svnhostingcomparison.com 获取 SVN 提供商列表。

You can check out svnhostingcomparison.com for a list of SVN providers.

温柔一刀 2024-10-12 23:08:59

使用 CVS 进行 Web 开发

尝试 cvsdude.com

只需创建一个独立的本地存储库(除非您在团队中,请参阅下面的注释)。 TortoiseCVS 非常适合 Windows,因为您可以将其与 shell 集成并获得右键单击上下文相关菜单。请务必将 CVS 关键字 $RCSfile: $$Revision: $ 添加到您的 HTML 文件中。这将允许您告诉创建您正在查看/调试的网页的文件名称和版本。
像这样:
当您在 CVS 中检查它时,会将其更改为:

这里有一个网上参考:
http://www.badgertronics.com/writings/cvs/index.html

注意:如果您在开发组中,您将需要一台服务器。有一些安全问题,因此请阅读文档。此外,还有一个很棒的 CVS Apache 模块,可让您浏览和比较代码版本。它还对源进行着色,显示谁/何时进行了更改等。

Use CVS for web development

try cvsdude.com

Just create a stand alone local repository (unless you are on a team, see note below). TortoiseCVS is great for Windows as you can integrate it with the shell and get a right click context sensitive menu. Be sure to add the CVS keywords $RCSfile: $ and $Revision: $ to your HTML files. This will allow you to tell the file(s) name and version that create a web page you are viewing/debugging.
Like this: <!-- $RCSfile: $ $Revision: $ -->
When you check it in CVS will change it to: <!-- $RCSfile: keyword.html,v $ $Revision: 1.3 $ -->.

Here is an online reference:
http://www.badgertronics.com/writings/cvs/index.html

Note: If you are in a dev group you will want a server. There are some security issues, so read the docs. Also, there is an awesome Apache module for CVS that will let you browse and compare code versions. It also colorizes the source, shows who/when changes were made, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文