{"id":103,"date":"2008-04-06T12:31:07","date_gmt":"2008-04-06T16:31:07","guid":{"rendered":"http:\/\/www.justdave.net\/dave\/?p=103"},"modified":"2012-01-05T12:51:22","modified_gmt":"2012-01-05T17:51:22","slug":"bugzillamozillaorg-now-in-version-control","status":"publish","type":"post","link":"https:\/\/www.justdave.net\/dave\/2008\/04\/06\/bugzillamozillaorg-now-in-version-control\/","title":{"rendered":"bugzilla.mozilla.org now in version control"},"content":{"rendered":"<p>So this is something we&#8217;ve been wanting for a LONG time, and we finally got it set up as we were staging bugzilla.mozilla.org for last week&#8217;s upgrade.\u00c2\u00a0 The exact code that we&#8217;re running on bugzilla.mozilla.org is now directly checked out onto the production servers from a version control system.\u00c2\u00a0 What&#8217;s more, there&#8217;s a read-only mirror of it visible to the public, including all of our custom templates and everything, so anyone is welcome to check out the exact code we&#8217;re running and make patches against it if there was something about one of our customizations that bothered you, or you felt like fixing one of the myriad of bugs in the <a title=\"Open Bugs in the Other b.m.o issues component on bugzilla.mozilla.org\" href=\"https:\/\/bugzilla.mozilla.org\/buglist.cgi?query_format=advanced&amp;short_desc_type=allwordssubstr&amp;short_desc=&amp;product=mozilla.org&amp;component=Bugzilla%3A+Other+b.m.o+Issues&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;status_whiteboard_type=allwordssubstr&amp;status_whiteboard=&amp;keywords_type=allwords&amp;keywords=&amp;resolution=---&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;order=Reuse+same+sort+as+last+time&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=\" target=\"_blank\">Other b.m.o issues<\/a> component in Bugzilla that are local to our installation rather than upstream Bugzilla.<\/p>\n<p>We ended up using Bazaar for the version control.\u00c2\u00a0 This was a hard decision to make because Mozilla is using Mercurial for most of the newer stuff these days, so we really wanted to follow suit and not have &#8220;yet another VCS&#8221; in use, but we wanted to be able to merge in code from the upstream Bugzilla repo periodically (which still lives in CVS, and doesn&#8217;t appear like that&#8217;ll be changing any time soon), and someone was already doing a <a href=\"http:\/\/bzr.everythingsolved.com\/bugzilla\/trunk\/\" target=\"_blank\">sync of Bugzilla from cvs-&gt;bzr<\/a> every 6 hours.\u00c2\u00a0 Trying to set up any kind of regular import to Hg wasn&#8217;t turning out to be very fun.<\/p>\n<p>So, if you want to check out a copy of what we&#8217;re running, you can do this:<\/p>\n<p>bzr co http:\/\/dm-bugstage01.mozilla.org\/bmo\/3.0\/<\/p>\n<p>Have fun!<\/p>\n<p><strong>UPDATE<\/strong>: Bugzilla&#8217;s upstream is now natively in Bazaar and no longer exporting from CVS, and BMO&#8217;s source has moved and is now in a permanent IT-supported Bazaar repo instead of hacked onto the staging box. The new URL is <a href=\"http:\/\/bzr.mozilla.org\/bmo\/\">http:\/\/bzr.mozilla.org\/bmo\/<\/a> (followed by the version number of course, which has changed a few times since then, too, and will probably change again).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So this is something we&#8217;ve been wanting for a LONG time, and we finally got it set up as we were staging bugzilla.mozilla.org for last week&#8217;s upgrade.\u00c2\u00a0 The exact code that we&#8217;re running on bugzilla.mozilla.org is now directly checked out onto the production servers from a version control system.\u00c2\u00a0 What&#8217;s more, there&#8217;s a read-only mirror &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.justdave.net\/dave\/2008\/04\/06\/bugzillamozillaorg-now-in-version-control\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;bugzilla.mozilla.org now in version control&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-103","post","type-post","status-publish","format-standard","hentry","category-bugzilla","category-work"],"_links":{"self":[{"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":3,"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":211,"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/posts\/103\/revisions\/211"}],"wp:attachment":[{"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.justdave.net\/dave\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}