{"id":260,"date":"2009-01-20T18:54:44","date_gmt":"2009-01-20T17:54:44","guid":{"rendered":"http:\/\/people.iola.dk\/arj\/?p=260"},"modified":"2009-01-20T18:56:59","modified_gmt":"2009-01-20T17:56:59","slug":"distributed-development-using-bzr","status":"publish","type":"post","link":"https:\/\/people.iola.dk\/arj\/2009\/01\/20\/distributed-development-using-bzr\/","title":{"rendered":"Distributed development using bzr"},"content":{"rendered":"<p>It&#8217;s no secret that I have been a big fan of distributed development tools for a while. One of the maybe best things about them is that they have almost zero overhead settings up. This means that the biggest argument for not using (are there really any?) a version control system is gone. We have been using <a href=\"http:\/\/bazaar-vcs.org\/Bzr\">bzr<\/a> in <a href=\"http:\/\/www.mymediasystem.org\">MMS<\/a> for quite a while and recently the core team of developers with access to the source code has grown quite a bit.\u00c2\u00a0 So we started having trouble with revision numbers, since they are in a distributed version control by definition not absolute. But fear not, there is a good solution to &#8220;work around&#8221; that problem. One that goes well with the good idea of having multiple branches. I&#8217;ll just use mms as an example. First thing to do is to create a local main branch, a mirror of the what is available on the web:<\/p>\n<blockquote><p>bzr get http:\/\/bazaar.launchpad.net\/~team-mms\/mms\/1.1.0 mms-1.1.0<\/p><\/blockquote>\n<p>Now we have a local version of the main repo. So lets branch that for our own changes:<\/p>\n<blockquote><p>bzr branch mms-1.1.0 mms-1.1.0-arj<\/p><\/blockquote>\n<p>Then whenever I want to do something I just work in mms-1.1.0-arj. Commit to that locally. Then when the changs are look good enough to be push, do a <em>bzr pull<\/em> in the main repo, <em>bzr merge ..\/mms-1.1.0-arj<\/em>. Then <em>bzr push<\/em> to push the changes to main repo.<\/p>\n<p>When changes come in from other people through local the main repo, just do a <em>bzr merge ..\/mms-1.1.0<\/em> inside the mms-1.1.0-arj directory.<\/p>\n<p>Futhermore if one is working on a big new feature, it might be a good idea to create another local branch just for that. This makes it easier to track everything in the long run.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s no secret that I have been a big fan of distributed development tools for a while. One of the maybe best things about them is that they have almost zero overhead settings up. This means that the biggest argument for not using (are there really any?) a version control system is gone. We have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[308],"tags":[107,108,84,109],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-blog","tag-bzr","tag-dvcs","tag-mms","tag-version-control"],"_links":{"self":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":6,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts\/260\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}