{"id":138,"date":"2011-10-03T15:41:30","date_gmt":"2011-10-03T19:41:30","guid":{"rendered":"http:\/\/www.joshmatthews.net\/blog\/?p=138"},"modified":"2011-10-03T15:41:30","modified_gmt":"2011-10-03T19:41:30","slug":"a-spoonful-of-sugar-helps-the-mozconfig-go-down","status":"publish","type":"post","link":"https:\/\/www.joshmatthews.net\/blog\/2011\/10\/a-spoonful-of-sugar-helps-the-mozconfig-go-down\/","title":{"rendered":"A spoonful of sugar helps the .mozconfig go down"},"content":{"rendered":"<p>In my work with new Mozilla contributors, I&#8217;ve seen a number of people get hung up on the whole .mozconfig voodoo madness. Yes, we made it possible to download the source and build it without having to even think about creating one, but as soon as you want to use a debug build, or build Fennec, the dream is over. Therefore, I&#8217;ve put together <a href=\"http:\/\/hg.mozilla.org\/users\/josh_joshmatthews.net\/mozconfig-creator\">mozconfig.py<\/a> which is designed to walk users through the process of creating a working .mozconfig file tailored to their needs.<\/p>\n<p>The best way to use it at present is as follows:<\/p>\n<pre>$ .\/mozconfig.py 2>~\/mozilla-central\/.mozconfig<\/pre>\n<p>This will send the generated file contents directly into the relevant .mozconfig, so all that&#8217;s left is running make. I&#8217;d love to be able to programmatically determine whether the program is actually invoked this way, so it could give helpful instructions otherwise. However, I&#8217;m open for ways in which to improve it (keep in mind the target audience of &#8220;people who need to work on common tasks that require changing .mozconfig options&#8221;), and I&#8217;m <i>really<\/i> keen on ideas of how best to market this (wiki pages, etc.) so that it reaches the widest possible audience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my work with new Mozilla contributors, I&#8217;ve seen a number of people get hung up on the whole .mozconfig voodoo madness. Yes, we made it possible to download the source and build it without having to even think about &hellip; <a href=\"https:\/\/www.joshmatthews.net\/blog\/2011\/10\/a-spoonful-of-sugar-helps-the-mozconfig-go-down\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":1,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts\/138\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}