Mostrando postagens com marcador Source Control. Mostrar todas as postagens
Mostrando postagens com marcador Source Control. Mostrar todas as postagens

sexta-feira, 17 de junho de 2011

Using mercurial and bitbucket for projects

People tend to look for alternatives to SVN, MS Team Foundation Server, Git and others.

One option is a combo of mercurial and bitbucket. 
Why mercurial? Because is similar to git, is easy to use even in terminal and works in linux, mac and windows. Why BitBucket? Because its free source code hosting that works with mercurial, accept up to 5 members, has no limits of private and public repositories and no limit to its size.

What do you need on windows?
Install Mercurial (If you`re going to install Tortoise HG you don`t need to download Mercurial and THG alone, there is a package with both at mercurial`s page)
Install  TortoiseHG
Have any doubts on how to use? Access this manual http://tortoisehg.bitbucket.org/manual/0.9/explorer.html

What do you need on macosx?
Install Developer Tools (If you already have xcode don`t bother about this item)
Install Mercurial
Install MacHG
If you want another diff/merge application try DiffMerge

I didn`t have used it on linux yet but it shouldn`t be too dificult, if you did it please let me know so I can update this post, thanks.

What do you need to do on BitBucket?
Set up your account
Insert an ssh key, there is a excelente post at github that show how to do this -> GitHub Help

Any doubts? Send it to me or use stackoverflow!!


quarta-feira, 10 de março de 2010

Searching for labels in Team Foundation Server - TFS

In my new work I started to dealing with TFS Version Control programming in c#, for some problems you could use the microsoft library, for others you have to use the TFS Command Line Utility both in code.

Ok, some of you could ask me what is this Team Foundation Server?

It's the server storage for the version control of the Team Foundation Suite of Microsoft. The Version Control here is a combo, composed by Server (TFS) and (TFVSC).

While Team Foundation Version Control is equivalent to Source Safe, provided by Microsoft too there are other equivalents like Tortoise Subversion, a excelent alternative for those with no money to expend in the sooooooooo expensive Microsoft set of solutions.
But in the case of Tortoise you still need a server to host your files, for example assembla.

Ok enough of this small talk! got it?

In a certain point of the tool I was developing appeared a need to query the server for all the labels of a specific folder. You could use it to get files labels too.

So let's go to method that solved the problem =D.

That's it! Ask any questions that you need....

Here you could see a deep explanation about

That's all, hope you like it.

See you next time...