为每个项目使用make和版本控制系统? [英] use make and version control system for every project?

查看:51
本文介绍了为每个项目使用make和版本控制系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在这里看到一个建议,即使你是唯一一个工作在

的人,也应该尝试使用make和

版本控制系统。程序。这是一个很好的建议吗?你们有多少人这样做?


谢谢,


-AK

解决方案

AK写道:

我最近在这里读到一个建议,即使你是唯一一个工作的人应该尝试使用make和
版本控制系统在
程序上。这是一个很好的建议吗?你们有多少人这样做?



就个人而言,我在每个项目中使用make。我甚至使用

make在我的纯Python包中运行setup.py. (因为它只是

更容易''输入make install''而不是''python setup.py install - home =〜''。)

它没有必要,但它可以节省大量的工作并保持一切

最新。


版本控制,取决于。我之前已经将CVS用于一些个人项目

,并且不能说我曾经发现它有用,而且它肯定是一个

让事情保持最新的痛苦。我建议,对于个人项目,

至少在版本控制之前没有打扰,直到项目相当稳定。


但是如果你不使用版本控制,一定要经常备份

(并将备份存储在另一个介质上;硬盘崩溃;它发生在我身上的b $ b) 。

my-2-cents-ly yr''s,


-

CARL BANKS http://www.aerojockey.com/software


当最新的Lady Turnpot下降到厨房里时,她的芹菜绿色长袍裹着她的奶油色的长袍,她的奶油色的胸部上升和下降

像一个气质的蛋奶酥,她的蛋挞口在厌恶的情况下,

sous-chef对这个洗碗男孩低声说道,我不知道该怎么做

她。

- 法国MontendreLaurel Fortuner

1992 Bulwer-Lytton小说竞赛获奖者


AK写道:

我最近在这里读到一条建议,应该尝试使用make和
版本控制系统,即使你是唯一一个在
程序上工作的人。这是一个很好的建议吗?你们有多少人这样做?




是的,是的。我的所有网站和程序都是用make构建的,甚至是我的简历(其中一些变种是从模板构建的然后

每个都自动转换为一堆格式化。


使用源代码控制,即使对于你的单独项目,也总是建议:你可以获得一些自动备份(特别是如果

您的源控制服务器位于不同的计算机上),以及

同时在不同分支上工作的能力以及

精确的权威信息你对你的软件做了什么和

的时候。


-

Erik Max Francis&& ma*@alcyone.com && http://www.alcyone.com/max/

__美国加利福尼亚州圣何塞市&& 37 20 N 121 53 W&& & tSftDotIotE

/ \每个路径都有它的水坑。

\ __ /(英语谚语)


< blockquote> AK写道:


我最近在这里看到一个建议,即使你是唯一一个工作的人应该尝试使用make和
版本控制系统在
程序上。这是一个很好的建议吗?你有多少人这样做?




我不使用Python制作,但是我用它来编译任何东西

嵌入式开发。


我总是*在这一点上使用CVS,我深感遗憾的是,我花了多少时间没有使用它和许多不同的我做出否定的方式因为这些而导致了进展(丢失的文件,无法兼容的各种版本之间无法解决的问题,无法识别

究竟是什么时候以及为什么要完成给定的事情等等。)


我强烈建议学习使用CVS,或*任何同样简单的

版本控制系统*,即使对于个人项目来说也是如此,以便它在早期成为第二自然,你永远不会发现它没有它。


-Peter

Hi, I recently read an advice here that one should try to use make and
version control system even if you''re the only one working on the
program. Is that a good advice? How many of you do that?

Thanks,

-AK

解决方案

AK wrote:

Hi, I recently read an advice here that one should try to use make and
version control system even if you''re the only one working on the
program. Is that a good advice? How many of you do that?


Personally, I use make on every single one of my projects. I even use
make to run setup.py in my pure Python packages. (Cause it''s just
easier to ''type make install'' than ''python setup.py install--home=~''.)
It''s not necessary, but it can save a lot of work and keep everything
up-to-date.

Version control, it depends. I''ve used CVS for some personal projects
before, and can''t say I''ve ever found it useful, and it''s definitely a
pain to keep things up-to-date. I recommend, for personal projects,
not bothering with version control at least until the project is
fairly stable.

But if you don''t use version control, be sure to make frequent backups
(and store the backups on another medium; hard disks crash; it
happened to me).
my-2-cents-ly yr''s,

--
CARL BANKS http://www.aerojockey.com/software

As the newest Lady Turnpot descended into the kitchen wrapped only in
her celery-green dressing gown, her creamy bosom rising and falling
like a temperamental souffle, her tart mouth pursed in distaste, the
sous-chef whispered to the scullery boy, "I don''t know what to make of
her."
--Laurel Fortuner, Montendre, France
1992 Bulwer-Lytton Fiction Contest Winner


AK wrote:

Hi, I recently read an advice here that one should try to use make and
version control system even if you''re the only one working on the
program. Is that a good advice? How many of you do that?



Yes, and yes. All my Web sites and programs are built with make, even
my resume (of which a few variations are built from templates and then
each is automatically converted to a bunch of formats).

Using source control, even for your solitary projects, is always
advisable: you get a little touch of automatic backups (particularly if
your source control server is on a different machine), as well as the
ability to work on different branches simultaneously and have
authoritative information on precisely what you did to your software and
when.

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ Every path has its puddle.
\__/ (an English proverb)


AK wrote:


Hi, I recently read an advice here that one should try to use make and
version control system even if you''re the only one working on the
program. Is that a good advice? How many of you do that?



I don''t use make with Python, but I use it with anything
compiled, as with embedded development.

I *always* use CVS at this point, and I deeply regret the years that
I spent not using it and the many varied ways in which I made negative
progress because of that (lost files, incompatibilities that could not
be resolved between various versions of things, inability to identify
exactly when and why a given thing was done, etc).

I _strongly_ recommend learning to use CVS, or *any equally simple
version control system*, even for personal projects, so that it becomes
second nature early on and you never find yourself without it.

-Peter


这篇关于为每个项目使用make和版本控制系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆