Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Tracking code & scripts

Reply
Thread Tools

Tracking code & scripts

 
 
Stuart Clarke
Guest
Posts: n/a
 
      11-09-2010
Hey all,

I was hoping to get some advice on how every keeps track of their own
personal scripts and development. I have several scripts which I use for
various tasks and I regularly have to update them and make small changes
to them. At present I am using an Excel spreadsheet to track changes and
version upgrades but this is dirty.

Does anyone have any other suggestions?

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Dave Baldwin
Guest
Posts: n/a
 
      11-09-2010

On 9 Nov 2010, at 15:14, Stuart Clarke wrote:

> Hey all,
>
> I was hoping to get some advice on how every keeps track of their own
> personal scripts and development. I have several scripts which I use for
> various tasks and I regularly have to update them and make small changes
> to them. At present I am using an Excel spreadsheet to track changes and
> version upgrades but this is dirty.
>
> Does anyone have any other suggestions?
>


http://git-scm.com/

Dave.

> --
> Posted via http://www.ruby-forum.com/.
>



 
Reply With Quote
 
 
 
 
Jeremy Bopp
Guest
Posts: n/a
 
      11-09-2010
On 11/9/2010 9:14 AM, Stuart Clarke wrote:
> Hey all,
>
> I was hoping to get some advice on how every keeps track of their own
> personal scripts and development. I have several scripts which I use for
> various tasks and I regularly have to update them and make small changes
> to them. At present I am using an Excel spreadsheet to track changes and
> version upgrades but this is dirty.
>
> Does anyone have any other suggestions?


It sounds like you want a version control solution. A spreadsheet is
definitely lacking. I suggest you use Git:

http://git-scm.com/

It's supported on a wide range of platforms, efficient, and relatively
easy to use for basic work. It also does not require that you set up
any kind of server, unlike another popular alternative named Subversion
(SVN). You can keep everything right in your workspace.

-Jeremy

 
Reply With Quote
 
Phillip Gawlowski
Guest
Posts: n/a
 
      11-09-2010
On Tue, Nov 9, 2010 at 4:14 PM, Stuart Clarke
<(E-Mail Removed)> wrote:
> Hey all,
>
> I was hoping to get some advice on how every keeps track of their own
> personal scripts and development. I have several scripts which I use for
> various tasks and I regularly have to update them and make small changes
> to them. At present I am using an Excel spreadsheet to track changes and
> version upgrades but this is dirty.
>
> Does anyone have any other suggestions?



Use decent version control. Like Mercurial: mercurial.selenic.com

It wins over Git in three instances: 1) It is fast on non-Linux
systems, 2) it has a syntax that is not arcane, 3) it works very well
for a sole developer (you'll only need "hq init", "hg add", "hg commit
-m 'message'", and "hg update [version]").

--
Phillip Gawlowski

Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.

 
Reply With Quote
 
Jeremy Bopp
Guest
Posts: n/a
 
      11-09-2010
On 11/9/2010 11:26 AM, Phillip Gawlowski wrote:
> On Tue, Nov 9, 2010 at 4:14 PM, Stuart Clarke
> <(E-Mail Removed)> wrote:
>> Hey all,
>>
>> I was hoping to get some advice on how every keeps track of their own
>> personal scripts and development. I have several scripts which I use for
>> various tasks and I regularly have to update them and make small changes
>> to them. At present I am using an Excel spreadsheet to track changes and
>> version upgrades but this is dirty.
>>
>> Does anyone have any other suggestions?

>
>
> Use decent version control. Like Mercurial: mercurial.selenic.com
>
> It wins over Git in three instances: 1) It is fast on non-Linux
> systems, 2) it has a syntax that is not arcane, 3) it works very well
> for a sole developer (you'll only need "hq init", "hg add", "hg commit
> -m 'message'", and "hg update [version]").


Not to be too picky here, but point 3 is exactly equivalent to what you
would do with git in this instance.

I haven't personally used hg myself, but a GUI should help both git and
hg be easier for a novice user. For git on Windows there is TortoiseGit:

http://code.google.com/p/tortoisegit/

I'm sure hg has an equivalent.

Regarding the performance, I'm fairly sure that for small projects such
as that proposed here the difference in negligible. Also, I don't think
there are performance problems for git on anything *except* Windows.
Git on Windows has been improving at any rate.

In any case, there are some great options available. Give some a try,
and pick what fits best into your work flow.

-Jeremy

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Python Scripts with IIS - ASP or Python-based CGI scripts withIIS - which makes more sense? davidj411 Python 0 06-27-2008 04:38 PM
What is required for perl scripts to run correct when launched from rc scripts on HPUX 11? deanjones7@gmail.com Perl Misc 13 09-10-2007 11:58 AM
Stupid question: Making scripts python-scripts Jan Danielsson Python 8 07-22-2005 12:20 AM
Re: Stupid question: Making scripts python-scripts Jp Calderone Python 0 07-21-2005 02:38 PM
Tracking Someone Tracking Me Edw. Peach Computer Security 4 07-07-2005 05:50 PM



Advertisments