{"id":142,"date":"2009-04-15T11:48:40","date_gmt":"2009-04-15T10:48:40","guid":{"rendered":"http:\/\/work.claudiotereso.com\/?p=142"},"modified":"2020-05-19T15:41:14","modified_gmt":"2020-05-19T14:41:14","slug":"sistema-de-controle-de-versoes-na-internet-gratuito","status":"publish","type":"post","link":"https:\/\/work.claudiotereso.com\/en\/sistema-de-controle-de-versoes-na-internet-gratuito\/","title":{"rendered":"[:pt]Sistema de Controle de Vers\u00f5es na Internet Gratuito[:en]Free Online Version Control System[:]"},"content":{"rendered":"<p>[:pt]Um dos problemas que me irritou durante anos na minha vida como programador foi a gest\u00e3o de vers\u00f5es dos projectos que desenvolvo. Al\u00e9m do problema \u00f3bvio de fazer altera\u00e7\u00f5es erradas ou apagar inadvertidamente blocos de c\u00f3digo, sempre tive o problema de desenvolver em v\u00e1rios computadores e ter de andar com o c\u00f3digo de um lado para o outro. Dos v\u00e1rios m\u00e9todos que usei, dois foram particularmente \u00fateis\/funcionais:<\/p>\n<p>&#8211; <em>pendrive <\/em>para levar o c\u00f3digo entre postos de trabalho tendo o cuidado de criar v\u00e1rias pastas com vers\u00f5es diferentes das fontes;<br \/>&#8211; <em>sites <\/em>como o box.net para guardar <em>online <\/em>as minhas fontes;<\/p>\n<p>Apesar de desenrascarem, nenhum destes m\u00e9todos\u00a0correspondeu \u00e0s\u00a0minhas\u00a0necessidades e de vez em quando algo corria mal. Depois de muitas chatices, umas maiores outras menores, decidi procurar uma solu\u00e7\u00e3o melhor e acabei por encontrar uma que realmente resolveu o meu problema e\u00a0que tem funcionado \u00e0s mil maravilhas. \u00c9 composta por:<\/p>\n<p>&#8211; <em>software <\/em><a href=\"http:\/\/tortoisesvn.tigris.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">TortoiseSVN <\/a>: <em>software <\/em><strong>gratuito<\/strong> de Controle de Vers\u00f5es (compat\u00edvel com SubVersion\/SVN) com integra\u00e7\u00e3o com o <em>Windows Explorer<\/em><br \/>&#8211; <em>site <\/em><a href=\"http:\/\/xp-dev.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">XP-Dev.com<\/a> : Reposit\u00f3rio <em>online <\/em><strong>gratuito <\/strong>(compativel com SubVersion\/SVN)<\/p>\n<p>Um\u00a0<a href=\"http:\/\/pt.wikipedia.org\/wiki\/Sistema_de_controle_de_vers\u00e3o\" target=\"_self\" rel=\"noopener noreferrer\">sistemas de controle de vers\u00f5es<\/a>, guarda numa base de dados centralizada (o reposit\u00f3rio) as v\u00e1rias fases\/vers\u00f5es de desenvolvimento de um projecto. Funciona especialmente bem quando h\u00e1 v\u00e1rios programadores a trabalhar no mesmo projecto, garantido &#8211; por exemplo &#8211; que v\u00e1rios programadores n\u00e3o alteram o mesmo c\u00f3digo ao mesmo tempo. E mesmo que o fa\u00e7am, tem ferramentas que comparam as v\u00e1rias altera\u00e7\u00f5es, quem as fez e quando foram feitas.<\/p>\n<p>Isto tudo, atrav\u00e9s da Internet e ainda por cima &#8230; gratuito. Melhor, n\u00e3o h\u00e1!!! \ud83d\ude42<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>ACTUALIZA\u00c7\u00c3O 23\/03\/2012 : A vers\u00e3o gratuita do xp-dev.com foi limitada a 2 projectos[:en]One problem that annoyed me for years in my life as a programmer has to do with managing versions of the projects they develop. Besides the obvious problem of making change or delete false inadvertently blocks of code, \u00a0I always had the problem of developing on multiple computers and have to go with the code from one place to another. Of the various methods I used, two were particularly useful \/ functional:<\/p>\n<p>&#8211; <em>Pendrive <\/em>to take the code between computers, taking care to create multiple folders with different versions of the sources;<br \/>&#8211; <em>Internet Sites <\/em>like box.net to store online all my\u00a0sources;<\/p>\n<p>Despite taking care of the problem, none of these methods correspond to my needs and from time to time something went wrong. After many problems, some bigger some smaller, I decided to seek a better solution and I finally found one that really solved my problem and that has worked swimmingly. It comprises:<\/p>\n<p>&#8211; <em>software <\/em><a href=\"http:\/\/tortoisesvn.tigris.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">TortoiseSVN <\/a>: <em><strong>free<\/strong><\/em> Version Control Software (compatible withSubVersion\/SVN) with\u00a0<em>Windows Explorer <\/em>integration<br \/>&#8211; <em>site <\/em><a href=\"http:\/\/xp-dev.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">XP-Dev.com<\/a> : <strong>free<\/strong> <em>online <\/em>repository\u00a0(compatible withSubVersion\/SVN)<\/p>\n<p><a href=\"http:\/\/pt.wikipedia.org\/wiki\/Sistema_de_controle_de_vers\u00e3o\" target=\"_self\" rel=\"noopener noreferrer\">Version Control Systems<\/a>, keep a central database \u00a0of the various stages \/ versions of a development project. It works especially well when there are multiple developers working on the same project, guaranting &#8211; for example &#8211; that several programmers do not modify the same code at the same time. And even if they do, have the tools that compare the various amendments, who did and where they were made.<\/p>\n<p>All this through the Internet and for &#8230; Free. Could it be better? No! \ud83d\ude42<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>UPDATE 23\/03\/2012: The free version of xp-dev.com \u00a0is now limited to 2 projects[:]<\/p>\n\n<!--themify_builder_content-->\n<div id=\"themify_builder_content-142\" data-postid=\"142\" class=\"themify_builder_content themify_builder_content-142 themify_builder tf_clear\">\n    <\/div>\n<!--\/themify_builder_content-->\n","protected":false},"excerpt":{"rendered":"<p>[:pt]Os sistemas de controlo de vers\u00f5es s\u00e3o fundamentais para equipas de programa\u00e7\u00e3o ou mesmo para quem trabalha sozinho.[:en]Version Control Systems are of prime imporante for programming teams and even for solo programmers.[:]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[19,12,15],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-programming","tag-free","tag-internet","tag-programacao","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":16,"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":385,"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/posts\/142\/revisions\/385"}],"wp:attachment":[{"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/work.claudiotereso.com\/en\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}