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

时间:2023-01-16 18:08:01

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.

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

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

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

10 个解决方案

#1


4  

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.

在失去一些*职业工作到硬盘崩溃之后,我开始热衷于“它直到源代码控制才存在”的理念。由于我不希望与世界其他地方分享我的项目的来源,我支付webhosting(使用Dreamhost,他们在基本的共享托管上有很多优惠,并且可以轻松一键安装,比如颠覆)并存储我的这样的数据。他们并不声称自己是任何类型的备份服务,但我真正想要的只是在某个地方的第二个副本。

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).

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

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

Assembla看起来很漂亮,虽然很难说你得到的是免费的。我肯定会尝试一下。

There is an extensive list at wikipedia.

*有一个广泛的列表。

#2


8  

Assembla is awesome.

Assembla太棒了。


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!

编辑:是的,这是一个好主意 - 我过去常常使用Vault的个人副本,发现它比我更关心管理(如果我的服务器出现故障或硬盘崩溃 - 不仅担心丢失而感到痛苦和备份数据,但停机时间)。当然,拥有自己的备份也没有什么坏处。涵盖所有基地!

#3


2  

  1. GitHub is a really great option for git.

    GitHub是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).

    大多数免费的公共托管机构都会坚持要求您使用OSS许可证(以及可能的文档)许可您的代码。这可能是你所谈论的另一件事(备份)。

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

    对于只是备份,您可能想要尝试付费服务甚至是mozy之类的东西。

#4


2  

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

我使用Assembla - 您可以根据需要共享代码,但不需要。这对我来说是个大加分。

#5


0  

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

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

#6


0  

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

我在亚马逊的S3服务上托管了大部分非代码备份。

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.

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

#7


0  

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.

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

#8


0  

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.

我在这个问题上列出了项目托管网站。在这些列表中,只有Origo允许您承载闭源项目。只要您想打开源代码,就可以选择此列表中的所有人。

#9


0  

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.

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

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

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

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

有了这个,你就有了备份和版本控制。我认为我的系统比我工作的系统好,大声笑。

#10


0  

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).

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

#1


4  

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.

在失去一些*职业工作到硬盘崩溃之后,我开始热衷于“它直到源代码控制才存在”的理念。由于我不希望与世界其他地方分享我的项目的来源,我支付webhosting(使用Dreamhost,他们在基本的共享托管上有很多优惠,并且可以轻松一键安装,比如颠覆)并存储我的这样的数据。他们并不声称自己是任何类型的备份服务,但我真正想要的只是在某个地方的第二个副本。

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).

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

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

Assembla看起来很漂亮,虽然很难说你得到的是免费的。我肯定会尝试一下。

There is an extensive list at wikipedia.

*有一个广泛的列表。

#2


8  

Assembla is awesome.

Assembla太棒了。


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!

编辑:是的,这是一个好主意 - 我过去常常使用Vault的个人副本,发现它比我更关心管理(如果我的服务器出现故障或硬盘崩溃 - 不仅担心丢失而感到痛苦和备份数据,但停机时间)。当然,拥有自己的备份也没有什么坏处。涵盖所有基地!

#3


2  

  1. GitHub is a really great option for git.

    GitHub是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).

    大多数免费的公共托管机构都会坚持要求您使用OSS许可证(以及可能的文档)许可您的代码。这可能是你所谈论的另一件事(备份)。

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

    对于只是备份,您可能想要尝试付费服务甚至是mozy之类的东西。

#4


2  

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

我使用Assembla - 您可以根据需要共享代码,但不需要。这对我来说是个大加分。

#5


0  

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

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

#6


0  

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

我在亚马逊的S3服务上托管了大部分非代码备份。

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.

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

#7


0  

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.

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

#8


0  

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.

我在这个问题上列出了项目托管网站。在这些列表中,只有Origo允许您承载闭源项目。只要您想打开源代码,就可以选择此列表中的所有人。

#9


0  

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.

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

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

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

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

有了这个,你就有了备份和版本控制。我认为我的系统比我工作的系统好,大声笑。

#10


0  

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).

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