我应该为我的个人项目使用软件托管解决方案吗?

发布于 2024-07-04 02:23:59 字数 259 浏览 8 评论 0原文

现在,我将所有项目都保存在笔记本电脑上。 我认为我不应该这样做,而是使用版本控制系统并从外部托管存储库(Google Code、SourceForge 等)将它们签入/签出。 我在这里看到了几个好处 - 首先,如果我的计算机崩溃和烧毁或者我的外部硬盘崩溃和烧毁,我不必担心丢失我的代码; 其次,我可以与世界分享我的代码,甚至在需要时获得更多帮助。

这是一个好主意吗? 如果是这样,我应该调查哪些其他项目主机(除了 Google Code 和 SourceForge)?

Right now, I keep all of my projects on my laptop. I'm thinking that I shouldn't do this, but instead use a version control system and check them in/out from an external hosting repository (Google Code, SourceForge, etc). I see several benefits here - first, I don't have to worry about losing my code if my computer crashes and burns or my external HDD crashes and burns; second, I can share my code with the world and perhaps even get more help when I need it.

Is this a good idea? If so, what are some other project hosts that I should investigate (other than Google Code and SourceForge)?

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

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

发布评论

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

评论(10

伴我老 2024-07-11 02:23:59

Assembla 太棒了。


编辑:是的,这个是个好主意 - 我曾经使用 Vault 的个人副本,发现它比我的要多关心管理(以防我的服务器宕机或硬盘崩溃 - 不仅担心丢失和备份数据,而且担心停机时间)。 当然,拥有自己的备份也没什么坏处。 覆盖你所有的基地!

Assembla is awesome.


EDIT: Yes, this is a good idea - I used to use a personal copy of Vault and found it was more than I cared to manage (in case my server went down or hard drive crashed - not only was it painful to worry about losing and backing up data, but the downtime). Of course, it doesn't hurt to have your own backup as well. Cover all your bases!

热血少△年 2024-07-11 02:23:59

在因硬盘崩溃而失去一些自由职业后,我开始热衷于“只有在源代码控制中它才存在”的哲学。 由于我不想与世界其他地方共享我的项目的源代码,因此我支付网络托管费用(使用 Dreamhost 他们在基本共享托管和简单的一键安装(例如 subversion)方面有很多优惠,并以这种方式存储我的数据。 他们没有声称提供任何类型的备份服务,但我真正想要的是异地某处的第二个副本。

如果我决定分享代码,我可以稍后将其公开。 请注意,sourceforge 不允许私人/个人项目,并且 Google Code 强制您使用开源许可证来许可您的代码。 两者都对您可以创建的项目数量有一些限制(并且并不是真正打算存储每个人和他们兄弟的个人项目)。

Assembla 看起来相当漂亮,尽管很难说你免费得到了什么。 我一定会尝试一下。

维基百科上有一个详细列表

After losing some freelance work to a hard drive crash, I've become keen on the philosophy that "It doesn't exist until its in source control". As I don't want to necessarily share the source for my projects with the rest of the world, I pay for webhosting (using Dreamhost who have great deals on basic shared hosting and easy one-click installs for things like subversion) and store my data that way. They don't claim to be any sort of backup service, but all I really want is a second copy offsite somewhere.

If I do decide to share the code I can always make it public later. Do note that sourceforge does not allow private/personal projects, and Google Code forces you to license your code using an open source license. Both have some limitations on the number of projects you can create (and aren't really intended to store everybody and their brother's personal projects).

Assembla looks pretty slick although it is hard to tell what all you get for free. I'm definitely going to try it out.

There is an extensive list at wikipedia.

年少掌心 2024-07-11 02:23:59

在线备份既便宜又简单。 你为什么不呢?

Online backup is cheap and easy. Why would you not?

萧瑟寒风 2024-07-11 02:23:59

我使用 Assembla - 如果您愿意,您可以分享您的代码,但您不需要这样做。 这对我来说是一个很大的优势。

I use Assembla - You can share your code if you want, but you are not required to. That's a big plus to me.

柠檬 2024-07-11 02:23:59
  1. GitHub 对于 git 来说是一个非常好的选择。

  2. 大多数免费的公共托管服务都会坚持要求您使用 OSS 许可证(可能还有您的文档)来许可您的代码。 这可能与您谈论的不同(备份)。

  3. 如果只是备份,您可能想尝试付费服务,甚至是 mozy 之类的服务。

  1. GitHub is a really great option for git.

  2. Most of the free, public hosting sights will insist that you license your code with an OSS license (and, possibly, your documentation). That's potentially a different thing that you're talking about (backups).

  3. For just backups, you may want to try a for-pay service or even something like mozy.

青衫负雪 2024-07-11 02:23:59

如果你使用 Git,Github 是一个非常棒的托管服务; 当然每个人都应该使用 Git。 默认是免费的公共项目托管,但如果您的东西是专有的(或者可能令人尴尬),您可以每月支付一些费用从他们那里获得私人托管。

Github is a really great hosting service if you use Git; and of course everyone should use Git. The default is free public project hosting, but if your stuff is proprietary (or perhaps embarrassing) you can get private hosting from them for some cost per month.

月朦胧 2024-07-11 02:23:59

如果您想以某种形式公开您的项目,那么托管解决方案可能对您有用。

我在这个问题中列出了项目托管站点。 在这些列表中,只有 Origo 允许您托管闭源项目。 只要你想开放你的来源,你就可以选择这个列表中的所有人。

If you want to make your projects in some form public, than a hosting-solution may be useful for you.

I made a listing of project-hosting-sites at this question. Of these list only Origo allows you also to host a closed-source-project. As long as you want to open up your source, you can choose everyone on this list.

追我者格杀勿论 2024-07-11 02:23:59

我将大部分非代码备份托管在 Amazon 的 S3 服务上。

代码运行在 Slicehost 虚拟服务器上,该服务器具有自动快照备份(每日和每周)并运行 Subversion 和 Trac它的网络界面。

I host most of my non-code backups on Amazon's S3 service.

Code goes on a Slicehost virtual server that has automated snapshot backups (daily as well as weekly) and runs Subversion and the Trac web interface to it.

淡忘如思 2024-07-11 02:23:59

只要您想将您的个人项目作为开源发布,您就有很多可能性可供选择,因为有很多托管商提供此服务。

如果您只想将代码存储在网上某处,但不想与世界共享:
一些托管商也允许私人存储库,但据我所知,唯一免费的存储库是 Bitbucket (我自己将其用于我的私人存储库)和开源项目)。
它们允许无限数量的公共私有 Mercurial 和 Git 存储库,唯一的限制是不超过五个用户可以访问您的私人存储库(您可以拥有更多,但它不再免费)。

As long as you want to publish your personal projects as open source, you have a lot of possibilities to choose from, because there are lots of hosters that provide this.

If you just want to store your code somewhere online, but not share it with the world:
Some hosters also allow private repositories, but the only free one that I know of is Bitbucket (which I use myself for my private and open source projects).
They allow an unlimited number of public and private Mercurial and Git repositories, the only limitation is that no more than five users can access your private repositories (you can have more, but then it's not free anymore).

游魂 2024-07-11 02:23:59

对于我的个人项目,我使用本地 Fedora 服务器上的 git 存储库(每天备份)。 我 .tgz 存储库和 mysqldb(用于 bugzilla)并将其备份到 Carbonite 和本地冗余硬盘上。

我可以将 git 存储库从任何其他机器克隆到所有其他环境中。

有了这个,您就拥有了备份和版本控制。 我认为我的系统比我工作时的系统要好,哈哈。

For my personal projects I use a git repository on a local Fedora Server (that is backed up daily). I .tgz the repository and mysqldb (for bugzilla) and back it up on Carbonite AND a local, redundant hard drive.

I can clone the git repository from any of my other machines into all other environments.

With this you have a backup and version control. I think my system is better than the one I have at work, LOL.

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