<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fennec added to l10n dashboard</title>
	<atom:link href="http://blog.mozilla.com/axel/2009/02/27/fennec-added-to-l10n-dashboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/axel/2009/02/27/fennec-added-to-l10n-dashboard/</link>
	<description>Free your mind and your ass will follow.</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:14:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: sethb</title>
		<link>http://blog.mozilla.com/axel/2009/02/27/fennec-added-to-l10n-dashboard/comment-page-1/#comment-1490</link>
		<dc:creator>sethb</dc:creator>
		<pubDate>Fri, 27 Feb 2009 23:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/axel/?p=139#comment-1490</guid>
		<description>Yeah, that&#039;s all clear.  I can see how the structure changed based on your description above.  Thanks.</description>
		<content:encoded><![CDATA[<p>Yeah, that&#8217;s all clear.  I can see how the structure changed based on your description above.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Hecht</title>
		<link>http://blog.mozilla.com/axel/2009/02/27/fennec-added-to-l10n-dashboard/comment-page-1/#comment-1489</link>
		<dc:creator>Axel Hecht</dc:creator>
		<pubDate>Fri, 27 Feb 2009 22:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/axel/?p=139#comment-1489</guid>
		<description>So, there are two occurences of all-locales in the build logic. One is to load the list of all-locales, i.e., we need (for hg) a url to the hg repo. In this case http://hg.mozilla.org/mobile-browser/file/tip/locales/all-locales. The raw-file version of this, but that doesn&#039;t display nicely when you click on the link. The main point here is that you&#039;re seeing the tail to be locales/all-locales.

The second occurence is the AllLocalesWatcher. It&#039;s getting all changes to the repos, and if it&#039;s seeing the mobile-browser repo, it looks if locales/all-locales was changed. If so, it triggers reload of the above url.

The combination of the two keeps an up-to-date list of which locales build this app inside the scheduler, and that list is used to ignore changes to locales that shouldn&#039;t be built, and to kick of the right set of locales for nightlies and en-US-triggered builds.

Now to the fun part. How do we get the URL? For all other projects I had worked on before, the l10n.ini file was in the directory $(app)/locales/ in the outer-most repo. Either mozilla-central for firefox, or comm-central for thunderbird et al. comm-central does include other repos, but they&#039;re all checked out as child directories of comm-central. So when referencing paths from l10n.ini, I could say &quot;go two directories up, and then browser, toolkit, etc&quot; or &quot;go two directories up and then use browser/locales/all-locales&quot;.

There was already a light tweak required for CVS, which comes with a leading &#039;mozilla/&#039;, but that resolved happily with how I get files from CVS anyway.

Now, for mobile, to reference toolkit, I still need to say &quot;go up two, then toolkit, mobile, etc&quot;. But if I say &quot;go up two, then locales/all-locales&quot;, I end up outside of the mobile-browser repo. 

Thus, using the same depth for references to modules in a checked out version on disk as well as remote repository location died.

Is that any clear? I can&#039;t read as much as I typed on this small comment field.</description>
		<content:encoded><![CDATA[<p>So, there are two occurences of all-locales in the build logic. One is to load the list of all-locales, i.e., we need (for hg) a url to the hg repo. In this case <a href="http://hg.mozilla.org/mobile-browser/file/tip/locales/all-locales" rel="nofollow">http://hg.mozilla.org/mobile-browser/file/tip/locales/all-locales</a>. The raw-file version of this, but that doesn&#8217;t display nicely when you click on the link. The main point here is that you&#8217;re seeing the tail to be locales/all-locales.</p>
<p>The second occurence is the AllLocalesWatcher. It&#8217;s getting all changes to the repos, and if it&#8217;s seeing the mobile-browser repo, it looks if locales/all-locales was changed. If so, it triggers reload of the above url.</p>
<p>The combination of the two keeps an up-to-date list of which locales build this app inside the scheduler, and that list is used to ignore changes to locales that shouldn&#8217;t be built, and to kick of the right set of locales for nightlies and en-US-triggered builds.</p>
<p>Now to the fun part. How do we get the URL? For all other projects I had worked on before, the l10n.ini file was in the directory $(app)/locales/ in the outer-most repo. Either mozilla-central for firefox, or comm-central for thunderbird et al. comm-central does include other repos, but they&#8217;re all checked out as child directories of comm-central. So when referencing paths from l10n.ini, I could say &#8220;go two directories up, and then browser, toolkit, etc&#8221; or &#8220;go two directories up and then use browser/locales/all-locales&#8221;.</p>
<p>There was already a light tweak required for CVS, which comes with a leading &#8216;mozilla/&#8217;, but that resolved happily with how I get files from CVS anyway.</p>
<p>Now, for mobile, to reference toolkit, I still need to say &#8220;go up two, then toolkit, mobile, etc&#8221;. But if I say &#8220;go up two, then locales/all-locales&#8221;, I end up outside of the mobile-browser repo. </p>
<p>Thus, using the same depth for references to modules in a checked out version on disk as well as remote repository location died.</p>
<p>Is that any clear? I can&#8217;t read as much as I typed on this small comment field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seth bindernagel</title>
		<link>http://blog.mozilla.com/axel/2009/02/27/fennec-added-to-l10n-dashboard/comment-page-1/#comment-1486</link>
		<dc:creator>seth bindernagel</dc:creator>
		<pubDate>Fri, 27 Feb 2009 18:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/axel/?p=139#comment-1486</guid>
		<description>Nice post.  One quick question you might enjoy explaining:

How did the all-locales file actually end up blowing up your logic? 

Another general set of questions:  
*  What does AllLocalesWatcher pay attention to? 
*  I assume it&#039;s the same for Firefox?  
*  And, does AllLocalesWatcher update the all-locales in the master or is that something else? 

Would love to learn more about this, just out of my own curiosity...

This looks like it might have actually been a challenging but fun exercise because a lot of things are starting from the correct point given all you have learned with building and shipping Firefox over the years.</description>
		<content:encoded><![CDATA[<p>Nice post.  One quick question you might enjoy explaining:</p>
<p>How did the all-locales file actually end up blowing up your logic? </p>
<p>Another general set of questions:<br />
*  What does AllLocalesWatcher pay attention to?<br />
*  I assume it&#8217;s the same for Firefox?<br />
*  And, does AllLocalesWatcher update the all-locales in the master or is that something else? </p>
<p>Would love to learn more about this, just out of my own curiosity&#8230;</p>
<p>This looks like it might have actually been a challenging but fun exercise because a lot of things are starting from the correct point given all you have learned with building and shipping Firefox over the years.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

