Welcome Guest.   Make a donation to an author on the site April 25, 2014, 02:43:05 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Good Article For Beginners On Version Control (w/ Pictures & Examples)  (Read 8639 times)
tinjaw
Supporting Member
**
Posts: 1,926



I'm so glad breakbeat techno isn't an illegal drug

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: October 01, 2007, 01:39:22 PM »

There is a very good introduction to version control at BetterExplained.


Found via Lifehacker.
Logged

 
mouser
First Author
Administrator
*****
Posts: 32,704



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: October 01, 2007, 07:42:14 PM »

something's missing..
where the picture of the user screaming at the computer screen when he can't get the thing to check out properly because of some nonsensical error?
Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: October 02, 2007, 07:21:09 AM »

Always funny to read:
either: save your word document with _v2 at the end
or read through several pages of information to set up a version control system.

That said I can't get my colleague to use one of these or I would be a lot happier working on a functions include (web development) without having to yell "do you have this file open" a few times each day.
Logged

mouser
First Author
Administrator
*****
Posts: 32,704



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: October 02, 2007, 09:56:03 AM »

in case my comment gave the wrong impression, as annoying as version control can sometimes be, it's simply something you must learn how to use these days as a programmer.

svn is the easy choice of software, and there are some nice easy programs to get you started on a windows platform (http://tortoisesvn and http://rapidsvn).  I use to be a big fan of tortoisesvn but the shell integration can be a bit intrusive so i tend to use RapidSvn mostly now (it's a bit buggy but it gets the job done).

on linux the commandline main svn programs are fine -- but if you are hosting an svn repository, do expect to struggle a little to get it up and running initially.
Logged
mwb1100
Supporting Member
**
Posts: 1,230


View Profile Give some DonationCredits to this forum member
« Reply #4 on: October 02, 2007, 10:31:28 AM »

Here's the best intro to version control I've come across:

http://www.ericsink.com/scm/source_control.html

Eric Sink is pretty much always a good read.
Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: October 02, 2007, 10:55:42 AM »

There was some kind of decentralized version control software that started with a 'd' i think but I can't remember the name just a professor that created it mostly himself with his team. It worked really well but at the time I was looking for filehamster instead (i realised)... ahh I think it was Darcs (http://darcs.net/). ahh I have to say i just dabbled with it but in princple it seemed less strict than subversion + tortoise. Always found it overly complex for personel development use but then I only create websites and AHK scripts smiley
« Last Edit: October 02, 2007, 10:58:21 AM by justice » Logged

Armando
Charter Member
***
Posts: 2,666



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: October 02, 2007, 05:04:05 PM »

Nice articles. Thanks guys.
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
housetier
Charter Honorary Member
***
Posts: 1,321


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #7 on: October 18, 2007, 11:10:05 AM »

hah very good find! got me into reading about VCS again

thanks tinjaw  Thmbsup
Logged
Mandork
Supporting Member
**
Posts: 64


Hopeless or hapless?

View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: October 19, 2007, 05:02:35 PM »

Speaking of FileHamster, does anyone here actually use it for day-to-day work?  I have downloaded it and started using it (in conjunction with SyncBack, just in case) as a means of keeping track of my PhD thesis stuff.  It seems okay, but I just wondered what others' experiences were like.
Logged

Computers are useless. They can only give you answers.
Pablo Picasso
tinjaw
Supporting Member
**
Posts: 1,926



I'm so glad breakbeat techno isn't an illegal drug

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: October 19, 2007, 05:52:42 PM »

I haven't used it daily, but I have used it very often. I haven't had any problems and I trust it on some of my most important projects.
Logged

 
nevf
Charter Honorary Member
***
Posts: 102


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: October 21, 2007, 05:00:16 PM »

I wrote "Get up and running with TortoiseSVN and Subversion in 15 minutes." a while back which will be of interest to folks starting out with SubVersion.
Logged

Neville Franks, "Save anything you see on the Web or on your PC" with Surfulater
mouser
First Author
Administrator
*****
Posts: 32,704



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: October 21, 2007, 06:25:36 PM »

Oh that's excellent nevf!  Very nice  thumbs up thumbs up thumbs up
Logged
tinjaw
Supporting Member
**
Posts: 1,926



I'm so glad breakbeat techno isn't an illegal drug

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: October 21, 2007, 08:47:30 PM »

Yes, nevf, very nice. I have sent you a few credits for this. Thanks.
Logged

 
jandi
Participant
*
Posts: 7


View Profile Give some DonationCredits to this forum member
« Reply #13 on: October 22, 2007, 02:09:37 AM »

Speaking of FileHamster, does anyone here actually use it for day-to-day work?

I tried.  I really really tried.  Seemed like an ideal, easy solution for my MSc Thesis.  But given that it creates copies at every save, and that I am a compulsive saver (habit acquired from long time use of MS Word for sensitive documents that cause the program to crash precisely when you have not saved your work), I was not too happy with the tons of copies generated every day.   I decided to take the time to learn SVN (well, I'm using TortoiseSVN on a local repository), and am quite happy.
Logged
tinjaw
Supporting Member
**
Posts: 1,926



I'm so glad breakbeat techno isn't an illegal drug

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: October 22, 2007, 07:06:09 AM »

But given that it creates copies at every save,

FYI: There is an option (look at the files properties in FileHamster) for TimeDelayBetweenRevisions. This will limit how often a file is saved if you save often and don't want saves from every minute. The description of the option is "Specifies an artificial time delay between revisions limiting the number of revisions that can occur during a specified time period."

I decided to take the time to learn SVN (well, I'm using TortoiseSVN on a local repository), and am quite happy.

Glad to hear that another person has joined the cult learned to use Subversion.  Thmbsup
Logged

 
Muadib
Supporting Member
**
Posts: 29


View Profile Give some DonationCredits to this forum member
« Reply #15 on: October 25, 2007, 04:21:20 PM »

I was not too happy with the tons of copies generated every day.

Complementing tinjaw reply, you can adjust FileHamster to limit the amount of copies you wish to keep. Above that limit, it starts deleting old versions. I use this approach together with the one cited by tinjaw. In my case, I've adjusted to not save within the period of 5 minutes. You can find these options with a right-click above the folder been monitored (inside FileHamster's main window), choosing "Options" and going to "MaxRevisions".

Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: October 25, 2007, 06:38:02 PM »

something's missing..
where the picture of the user screaming at the computer screen when he can't get the thing to check out properly because of some nonsensical error?
* f0dder remembers mouser trying to set up subversion on the server.

on linux the commandline main svn programs are fine -- but if you are hosting an svn repository, do expect to struggle a little to get it up and running initially.

Well, if you do have some unix/linux experience, subversion is actually extremely easy to set up. Especially if you have a distro with a decent package manager (and you choose to use it). All it takes is running svnserve with a few well-explained command-line parameters, and "svnadmin create" to create a repository.

What's harder, and requires reading the handbook, is choosing a decent layout. And this can be hard when you're starting with subversion, I know I certainly messed up myself: first I thought I'd use a single repository for all my stuff. Once I moved to repo-per-project I didn't think about stuffing files in a "dev" (or "trunk" or "current" or whatever you want to call it) subfolder, etc...

And then there's of course getting into the habit and mindset of using version control, which tends to be the hardest, at least for some people. But it's nice once you get everything clicking into place.

The thing that remains for me, personally, is some commit log dicipline, deciding on some tags to add, and a format that's easily grepable so I can write a changelog.txt automagically...
Logged

- carpe noctem
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.049s | Server load: 0.12 ]