Saturday, September 12, 2009

Folip In Colon System

CVS on the Mac, an exercise in patience.

The question CVS on the Mac platform is at least problematic, as long as you are part of those who want a medium level of personalization and choice, and eats up the time to work (or play) instead of running the tools that should make you work (or play). Those who enjoy fiddling for the sake of hacking are not among those for which it is useless to continue reading what follows.

Hi! I'ma Mac!
And I have to install a CVS client on my OS X 10.5 aka Leopard.
After exhausting research I have come to a junction consisting of two options: Suppose a
Mac Guy must install the cvs client on OS X.
would have two options:


  1. Install the Developers Tools

  2. Use a self-contained client



The first option forces the installation of a gift basket of 1GB (customized version of installation. Otherwise have 3GB and pass) with a sea of \u200b\u200b(in) utilities to test the application in Cocoa that never writes. Along with the gift basket above, will be installed on the server and the client cvs, of course.
This option is obvious, it forces the user to install software, compilers and woodwind instruments many of which will never need.
it was claimed by many that 'so much with what does a HD today ...' but this is not the problem. It is not the cost the biggest deterrent to this option. It is not the mere employment of disk space that chess could be used for your iTunes library, Your personal projects, your photos, images at 300dpi and 72dpi for those in work, and the MySQL database with many fine php files in a row like little Indians, and the software you use every single day for work, communicate, have fun in short all these useless trinkets. No, not that.
Forcing the user to install a sea of \u200b\u200bfutility to 3mb (much 'weight' cvs) he needs is not to choice. Had no choice. Or the gift basket, or anything. This is where the problem is.
If you choose the high road as the Apple shows there, then set up the gift basket and died there. You will have your cvs client.

You may choose, so to speak, even for darwinport, macports or fink, but it happens, All three options require the Dev Tools installed then you might as well ignore them and install cvs directly with the Dev Tools.

At this point in our history we must introduce two other characters: The Difference
and La Union.
You must set your client to talk amicably with the cvs server, make a working copy on your HD (yes, always the full 3 GB of useless stuff for you). How to do it without opening the terminal saint? Search on MacUpdate
right for you.
find on MacUpdate 5 software including:


  1. 3 PPC

  2. 1 Universal

  3. a freeware / pay-per



drop, being as we are accustomed to the power of more than rosette stele is torture, the software on ppc, and we diverted only 2 (two) universal. The first
requires cvs installed and allows you the most common operations. At least it seems at first glance.
For a more articulate, say 5 minutes, we find that you can not use a diff-merge software of our choice, we use what is already a rule. Or use FileMerge (contained in the gift basket above) or the old and holy diff. Well. And if you want to use TextWrangler or any other? The silent and help us with him.

say a few words on the much-vaunted FileMerge. Two words in name and fact. You do not need . Anyone who has used WinMerge (freeware) will find himself thrilled with the face in front of this window from which you can not do any operation on files directly in comparison, which commands are placed in a convenient drop-down menu, because we have communicated, the icon Apple's designers were currently on vacation and have not had time to prepare anything from press and programmers, as a protest against the holidays, they say, unfair to them, went on strike at the very moment they had to implement the context menu .

short, let us not even in the dance names like Araxis and anything else in the company of filemerge. Lasciamo laddove si trova (nella cartella Dev/Application) e non ci pensiamo più.
Il secondo , di cui parleremo meglio dopo, va già molto meglio (dopo filemerge il mondo pare sorriderci e gli augelli far festa).
Che non vi venga in mente però di usare spaces con smartcvs. Che non vi venga in mente di usare la keyboard per switchare applicazioni. Un bug nel software lo rende inutilizzabile ogni volta che lo richiamate dal command+tab a partire da uno space diverso da quello ove lui si trovi.
Quindi, in summa, o non usate spaces oppure vi preparate a spostarvi di volta in volta da uno spazio all’alto alla ricerca del nostro (NonTanto)SmartCVS.
Dimenticavamo di aggiungere che la versione pro costa $80 (bug incluso, of course. E’ terminato il tempo nel quale acquistando un software avevi diritto all’uso normale di quest’ultimo).

Seconda opzione: usare un self contained client
Quali sono I candidati?


  1. Eclipse (e parentela)

  2. Il già visto (NonTanto)SmartCVS.




Entrambi in java per cui non attendetevi UI spettacolari, effetti speciali, riflessioni, eyecandy, yadayada (questo non è per forza di cose un male) e prestazioni al fulmicotone (questo è male).

Eclipse : download base con cvs client, diff e merge integrato. Nulla di more. 134MB and you get off thinking.
Face the whims of the workspace (idiosyncrasy of eclipse), you setup the repo, proceed to check out while you wait in the various dialogues that follow each other eclipse information he is presenting to the cvs server and making the necessary pleasantries, and finally , much in the end, you will get your working copy. At this point you would like mica
work on your project with eclipse? Naaaaaa! Turn on your credit
TextMate and start working. After intensive
changes you would like to proceed to commit. Unaware of the splendid isolation in which the eclipse live and kicking, thinking that everything that happens in your workspace simply never existed and never will exist, You are going to do then except to note that the eclipse did not detect any changes made in the files of the project because they were not made with his editor.
Do not worry. You just have to wake up with a nice eclipse command + r because being aware of what has happened. Then, switch module and proceed to commit. Go now to prepare a good coffee because of the eclipse time, including connection, the index recovered from repo and everything else, to put it there for this operation.

Hi! I'ma PC.
equivalent of this in Windows? Install TortoiseCVS
(Freeware) Install 15MB
WinMerge (Freeware) 2.90MB
Indicate in TortoiseCVS, ticked in your preferences, you want to use WinMerge for operations diff / merge.
Work.

Windows, in these contexts, it is far away. Elsewhere. Almost in the celestial spheres.