<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tarin&#039;s Blog</title>
	<atom:link href="http://tarinc.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tarinc.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Feb 2011 19:02:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tarinc.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tarin&#039;s Blog</title>
		<link>http://tarinc.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tarinc.wordpress.com/osd.xml" title="Tarin&#039;s Blog" />
	<atom:link rel='hub' href='http://tarinc.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RPM Lint and Mock</title>
		<link>http://tarinc.wordpress.com/2010/12/12/rpm-lint-and-mock/</link>
		<comments>http://tarinc.wordpress.com/2010/12/12/rpm-lint-and-mock/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 11:14:41 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=28</guid>
		<description><![CDATA[This post is very old; Ive had it sitting as a draft for ages. rpmlint is a tool for checking common errors in rpm packages. It can be used to test individual packages and spec files before uploading or to check an entire distribution. By default all applicable checks are processed but specific checks can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=28&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is very old; Ive had it sitting as a draft for ages.</p>
<blockquote><p><strong>rpmlint</strong> is a tool for checking common errors in rpm packages. It  can be used to test individual packages and spec files before uploading or to check an entire  distribution. By default all applicable checks are processed but  specific checks can be performed by using command line parameters. ﻿</p></blockquote>
<p>I love man pages; they always have the best descriptions. rpmlint is one of the most sensitive tools I&#8217;ve ever used on Linux. One little thing and it warns you even if its commented out. In the users perspective that&#8217;s a good thing since it sort of forces developers to create better installation scripts; however developing an RPM to get warnings for some pretty useless things gets not necessarily frustrating but really annoying.</p>
<p>Ive built 3 RPM packages recently:</p>
<ol>
<li>Installation of a yum repository (special thanks to rpmfusion)</li>
<li>64-bit Firefox nightly</li>
<li>32-bit Firefox nightly</li>
</ol>
<p>The amount of time i spent on making these RPMs was actually fairly short considering the emo tools that have to be used to validate them. Both Firefox nightly RPMs are the same (save for the source tar ball).</p>
<blockquote><p><strong>Mock</strong> is  a simple program that will build source RPMs inside a chroot.<br />
It doesn’t do anything terribly fancy other than populate a chroot with<br />
the  contents  specified  by a configuration file, then build any input<br />
SRPM(s) in that chroot.</p></blockquote>
<p>I haven&#8217;t worked with Mock too much however from what i can tell so far; it is a fairly strong tool however just as annoying as rpmlint if not more. The tool just compiles a program with the default packages just like the description above says however what it doesn&#8217;t tell you is that it also checks for really small things such as the use of wild cards.</p>
<p>Now lets see how mock works; you must build a package and its source RPM (rpmbuild -ba ~/rpmbuild/SPECS/file.spec) and then run mock for a preferred operating system (mock -r fedora-13-x86_64 ~/rpmbuild/SRPS/file.src.rpm) then see the output for any errors; Heres the kicker; for you to create a source RPM the package must build correctly; therefore you assume that everything is fine minus any non-default packages.</p>
<blockquote><p>File not found by glob: /builddir/build/BUILDROOT/minefield-4.0b8pre-1.fc14.x86_64/usr/lib64/minefield-4.0b8pre/*</p></blockquote>
<p>I got this error every time i used mock; I tried to fix it about a dozen times and i just couldn&#8217;t figure out where this issue was in the spec file. After a couple frustrating hours i figured out that it was the wild card being used in the %files section of the spec file.</p>
<p>After fixing that ridiculous issues; mock successfully completes; but just because it completes doesn&#8217;t mean everything works; you now have to comb through a log file and attempt to spot any errors.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=28&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/12/rpm-lint-and-mock/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Release 0.3: Update</title>
		<link>http://tarinc.wordpress.com/2010/12/12/release-0-3-update/</link>
		<comments>http://tarinc.wordpress.com/2010/12/12/release-0-3-update/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 11:04:12 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=170</guid>
		<description><![CDATA[The semester is wrapping up and we&#8217;ve done a lot of work over the last couple of weeks to set everything right. Ive attempted to get as much work done as i can however the amount of work was sometimes overwhelming. As the project stands now, the system is working however not complete. Ill post [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=170&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The semester is wrapping up and we&#8217;ve done a lot of work over the last couple of weeks to set everything right. Ive attempted to get as much work done as i can however the amount of work was sometimes overwhelming. As the project stands now, the system is working however not complete. Ill post some of the changes that we&#8217;ve made since <a href="http://tarinc.wordpress.com/2010/11/25/release-0-2-update/">release 0.2</a> as well as future updates that need to be made.</p>
<p>Repository RPM:</p>
<ul>
<li>Bumped version to 0.4</li>
<li>Cleaned up .repo file</li>
<li>Removed invalid gpg key</li>
<li>Fixed a typo</li>
</ul>
<p>Repository:</p>
<ul>
<li>Includes drpm and srpm directories which hold Delta RPMs and Source RPMs respectively.</li>
</ul>
<p>Minefield RPM:</p>
<ul>
<li>Passes rpmlint; I did say that it passed in my release 0.2 however that was only for the spec file. The rpms output 2 warnings: no documentation; no manual</li>
<li>Both 32 bit and 64 bit source RPMs are now in the repository</li>
</ul>
<p>Minefield Spec file:</p>
<ul>
<li>Removed a buildrequires (tree)</li>
<li>Removed use of the &#8220;install&#8221; command because of permission issues and replaced with &#8220;cp&#8221; which can copy files/directories with their file permissions</li>
</ul>
<p>Automation:</p>
<ul>
<li>Script now takes URL as the argument; version number and architecture are taken from the URL.</li>
<li>Script validates configuration</li>
<li>Removes partial wget downloads</li>
<li>Performs local jobs first before going out to download minefield</li>
</ul>
<p>The main goal for this release was getting automation to a point where it can be implemented into a system and not have to worry about any issues caused by future changes. Achieving this is relatively difficult however Ive made it so that the only thing that needs to change is the URL to access the latest minefield. Ive talked about how to set up the server side of our program <a href="http://tarinc.wordpress.com/2010/12/08/setting-up-the-server/">here</a>.</p>
<blockquote><p>don&#8217;t worry about integrating anything into Mozilla&#8217;s systems this<br />
quarter  as I pretty much have to switch gears to finish another couple<br />
of goals.</p></blockquote>
<p>Although our project page said that our goal for this release would be to have our system implemented into Mozilla&#8217;s infrastructure; it looks like it wont. I have blogged about everything to get the system working on their side so i have done my part. It is now up to them to implement it. I will be happy to assist them in doing so and to make any improvements to what we have developed.</p>
<p>Future updates to be done:</p>
<ul>
<li>Complete automation scripts
<ul>
<li>validation is incomplete</li>
<li>only tested for nightlies</li>
</ul>
</li>
<li>Implement RPM signing</li>
<li>Fix any outstanding bugs. Ive talked about bugs <a href="http://tarinc.wordpress.com/2010/12/10/bugs/">here</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=170&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/12/release-0-3-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Recent Changes</title>
		<link>http://tarinc.wordpress.com/2010/12/11/recent-changes/</link>
		<comments>http://tarinc.wordpress.com/2010/12/11/recent-changes/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 07:49:25 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=153</guid>
		<description><![CDATA[The automation scripts have been disabled for a couple days because i was planning on making some major changes to them. I made some changes to it tonight but I&#8217;m not done with it yet. Expect updates in the very near future. Some of the changes I&#8217;ve made so far: Version number changes: Old: minefield-4.0b8pre-20101211.fc13.rpm [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=153&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The automation scripts have been disabled for a couple days because i was planning on making some major changes to them. I made some changes to it tonight but I&#8217;m not done with it yet. Expect updates in the very near future. Some of the changes I&#8217;ve made so far:</p>
<ul>
<li>Version number changes:<br />
Old: minefield-4.0b8pre-20101211.fc13.rpm<br />
New: minefield-20101211.1-4.0b8pre.i686.rpm</p>
<p>The versioning system was changed to make the rpm version number valid. The version number is not allowed to have any letters so i just switched the version and the release numbers. At the end of the version i added a .1 to add support for releasing multiple nightlies in one day. The .1 will increment if there are more than 1 release on the same day. The fc13 part was removed as this release isn&#8217;t tied to any release of Fedora; since the program we packaged is pre-compiled it should theoretically work on most if not all versions of Fedora.</li>
</ul>
<ul>
<li>Delta RPMs:<br />
drpm files will now be generated; this will reduce the download size for users updating from an older nightly.</li>
<li>Source RPMS:<br />
src.rpm files are placed in a sub directory under the correct architecture.</li>
<li>Spec File:<br />
The use of the command &#8220;install&#8221; was removed; it has been replaced by the &#8220;cp&#8221; and &#8220;mkdir&#8221; commands. The reason I did this was because cp is capable of keeping file permissions the same without having to specify it.</p>
<p>A buildRequires was removed as a result of switching out the tree command with cp. The spec file no longer installs one file at a time; it simply copies the entire directory to the correct location.</p>
<p>Although it was fast enough; the above changes have significantly improved the install speed of the application.</li>
</ul>
<p>All of the older nightlies with the old versioning has been removed. To take advantage of the new system; remove your current minefield and install the latest one with YUM.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=153&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/11/recent-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Bugs</title>
		<link>http://tarinc.wordpress.com/2010/12/10/bugs/</link>
		<comments>http://tarinc.wordpress.com/2010/12/10/bugs/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 04:54:41 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=132</guid>
		<description><![CDATA[Armen, our contact at the Mozilla release engineering team has posted about our progress on the project on his blog. I&#8217;m honored that I could be part of a team which developed a great application and that my work can somehow be used in the future and further developed by others. Unfortunately there are issues [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=132&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Armen, our contact at the Mozilla release engineering team has posted about our progress on the project on his <a href="//home/armenzg/&quot;. Is it supposed to be like that?      * Should we be listed under &quot;debug and development software sources&quot; on the Software Sources manager?      * Minefield gets unpacked under /usr/lib/minefield-4.0b8pre. Should this be instead /usr/lib/minefield? (version agnostic)     * Minefield when launched from Applications-&gt;Internet-&gt;Minefield starts with the ProfileManager and allows running the nightly build with the other instances of Firefox (&quot;minefield --no-remote --ProfileManager); should this not be a feature?     * Since /usr/lib/minefield-4.0b8 is owned by &quot;root&quot; Firefox's update system doesn't work. If we change ownership then updates work again and I wonder what bug would I hit if I can receive updates through yum and through AUS. Only one way to find out!     * I also believe that there is not a way to offer partial updates through yum as we do through our normal update system" target="_blank">blog</a>. I&#8217;m honored that I could be part of a team which developed a great application and that my work can somehow be used in the future and further developed by others. Unfortunately there are issues with what we have developed and I would like to address them here. I have pulled the list of issues and problems that Armen posted on his blog as well as other issues that I have found with my own testing.</p>
<ul>
<li><strong>Current and previous Minefield nightly show up under &#8220;Add/Remove Software&#8221;</strong></li>
</ul>
<p><img src="http://tarinc.files.wordpress.com/2010/12/screenshot2010-12-07at12-16-36pm.png?w=200&#038;h=55" border="0" alt="" width="200" height="55" /></p>
<p>Ive been looking into this after reading Armen&#8217;s blog and I&#8217;m not quite sure what is causing it. I am fairly confident to say that it isn&#8217;t on our side. It may be a bug in the &#8220;Add/Remove Software&#8221; application or a way Fedora implemented their filters. I updated another application on my system that is on the official repositories and it too shows up twice.</p>
<p><img class="alignnone size-medium wp-image-135" title="twice" src="http://tarinc.files.wordpress.com/2010/12/twice.jpg?w=197&#038;h=61" alt="" width="197" height="61" /></p>
<ul>
<li><strong> Setting Minefield as the default browser seems to mess up the &#8220;Preferred Web Browser&#8221; icon.</strong></li>
</ul>
<ul>
<li><strong>Using the &#8220;Preferred Web Browser&#8221; launcher opens the users home directory.</strong></li>
</ul>
<p>Using the &#8220;Default Browser&#8221; dialog simply doesn&#8217;t work; I highly recommend not using that dialog. If you wish to set Minefield as the default browser navigate to System -&gt; Preferences -&gt; Preferred Applications. To fix the above 2 issues, it should match the following:</p>
<p><img class="alignnone size-medium wp-image-136" title="defaultbrowser" src="http://tarinc.files.wordpress.com/2010/12/defaultbrowser.jpg?w=300&#038;h=256" alt="" width="300" height="256" /></p>
<p>When using the &#8220;Default Browser&#8221; dialog, the command is set to: /usr/lib/minefield-4.0b8pre/firefox &#8220;%s&#8221;; The quotation marks cause the browser to open the home directory; removing the quotations will fix that issue alone. The other issue which is the &#8220;Preferred Web Browser&#8221;&#8216;s icon; the &#8220;Command&#8221; field must not be an absolute path.</p>
<p>After changing this; The &#8220;Preferred Web Browser&#8221; will automatically change to the same exact command as the one that opens the menu item.</p>
<ul>
<li><strong>Should we be listed under &#8220;debug and development software sources&#8221; on the Software Sources manager?</strong></li>
</ul>
<div><img style="border:0 none;" src="http://tarinc.files.wordpress.com/2010/12/screenshot2010-12-07at10-38-17am.png?w=240&#038;h=154" border="0" alt="" width="240" height="154" /></div>
<div>Although it would make sense to put it there; the repository is installed by the user and should be listed as a regular repository. Unless this is really bothersome, I will look into changing it.</div>
<ul>
<li><strong>Minefield gets unpacked under /usr/lib/minefield-4.0b8pre. Should this be instead /usr/lib/minefield?</strong></li>
</ul>
<p>The version number is in the unpacked directory&#8217;s name to keep some level of consistency with other packages on the system as well as Firefox itself. The Firefox executable points to /usr/local/lib/firefox-4.0b8pre. Firefox itself is compiled with that directory. The reason files are not placed in /usr/local/lib is so that we follow at least some of the Fedora guidelines for packaging software.</p>
<ul>
<li><strong>Minefield when launched from Applications-&gt;Internet-&gt;Minefield   starts with the ProfileManager and allows running the nightly build   with the other instances of Firefox (&#8220;minefield &#8211;no-remote   &#8211;ProfileManager); should this not be a feature?</strong></li>
</ul>
<p>Personally I don&#8217;t like this feature as I can imagine it would get really annoying. However it was suggested by Chris to be implemented to help out new users with using the nightly. I leave this option to Armen whether to keep or not.</p>
<blockquote><p>To remove this change:</p>
<ul>
<li>edit /usr/share/applications/minefield.desktop</li>
<li>remove “–no-remote –ProfileManager” from the end of the line which starts with “Exec”</li>
</ul>
</blockquote>
<ul>
<li><strong>Since /usr/lib/minefield-4.0b8 is owned by &#8220;root&#8221; Firefox&#8217;s update  system doesn&#8217;t work. If we change ownership then updates work again and I  wonder what bug would I hit if I can receive updates through yum and  through AUS. Only one way to find out!</strong></li>
</ul>
<p>Updating the nightly from yum will remove the directory and recreate the directory. This will ensure that even if the version bumps up, the old directory will disappear and the new directory will appear in its place. From the best of my knowledge using AUS should not cause any issues unless the version number changes. I would highly recommend using one or the other and not both.</p>
<ul>
<li><strong>I also believe that there is not a way to offer partial updates through yum as we do through our normal update system</strong></li>
</ul>
<p>Delta RPMs will allow for partial updates. It is roughly the equivalent to the way patch files are with the diff command. I will implement this into the repository as well as the automation scripts as soon as i can.</p>
<ul>
<li><strong>Minefield is being listed in the wrong group. It is listed as &#8220;Other&#8221; however it should be listed under &#8220;Internet&#8221;</strong></li>
</ul>
<p>No idea whats causing this; The spec file specifies the group exactly the same way as other packages but it still shows up under &#8220;Other&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=132&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/10/bugs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>

		<media:content url="http://tarinc.files.wordpress.com/2010/12/screenshot2010-12-07at12-16-36pm.png?w=200" medium="image" />

		<media:content url="http://tarinc.files.wordpress.com/2010/12/twice.jpg?w=300" medium="image">
			<media:title type="html">twice</media:title>
		</media:content>

		<media:content url="http://tarinc.files.wordpress.com/2010/12/defaultbrowser.jpg?w=300" medium="image">
			<media:title type="html">defaultbrowser</media:title>
		</media:content>

		<media:content url="http://tarinc.files.wordpress.com/2010/12/screenshot2010-12-07at10-38-17am.png?w=300" medium="image" />
	</item>
		<item>
		<title>Setting up the Server</title>
		<link>http://tarinc.wordpress.com/2010/12/08/setting-up-the-server/</link>
		<comments>http://tarinc.wordpress.com/2010/12/08/setting-up-the-server/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 19:08:21 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=125</guid>
		<description><![CDATA[Although we haven&#8217;t implemented automatic signing or any signing at this point, I wanted to give something for you to work with. Ive made some last minute changes and some comments to the scripts just to ease the learning curve of using these scripts. Ive uploaded a copy of the automation scripts to &#8220;http://tarin.freehostia.com/files/scripts.tar.gz&#8221;. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=125&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Although we haven&#8217;t implemented automatic signing or any signing at this point, I wanted to give something for you to work with. Ive made some last minute changes and some comments to the scripts just to ease the learning curve of using these scripts.</p>
<p>Ive uploaded a copy of the automation scripts to &#8220;http://tarin.freehostia.com/files/scripts.tar.gz&#8221;. The steps to actually getting this to work is as follows:</p>
<ol>
<li>Create a new user. (Not required but highly recommended; the scripts remove files in the home directory / repository)</li>
<li>Download the scripts from http://tarin.freehostia.com/files/scripts.tar.gz</li>
<li>Extract the tar ball into the home directory of the new user (or current user if u decided to use it)</li>
<li>Verify that the directory structure is as follows:
<ul>
<li> ~ (home directory)
<ul>
<li>UpdateRepo.bash</li>
<li>includes
<ul>
<li>BuildDesktopFile.bash</li>
<li>BuildSpecFile.bash</li>
</ul>
</li>
<li>&#8230;</li>
</ul>
</li>
</ul>
</li>
<li>edit UpdateRepo.bash; The top of the file holds all the configuration (there&#8217;s only 1 thing to configure)<br />
Change the path to the parent directory of your repository. (do not end with a trailing slash)</li>
<li>Run the script with the following commands:<br />
~/UpdateRepo.bash http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-4.0b8pre.en-US.linux-i686.tar.bz2<br />
~/UpdateRepo.bash http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-4.0b8pre.en-US.linux-x86_64.tar.bz2</li>
</ol>
<p>Troubleshooting:</p>
<p><strong>Q: I run the script but i get &#8220;Bad Configuration: * unwritable&#8221;. Help!</strong><br />
A: Verify that the new user has access to write to your repository.</p>
<p><strong>Q: I run the script but i get &#8220;Missing Dependency: rpmdevtools&#8221;. Help!</strong><br />
A: To fix this, login as root and type in: &#8220;yum install rpmdevtools -y&#8221;. This should install required packages.</p>
<p><strong>Q: I have a different problem!</strong><br />
A: The scripts are currently experimental, any issues or errors should be posted here.</p>
<p>EDIT: Fixed links</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=125&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/08/setting-up-the-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Clarification Part 2</title>
		<link>http://tarinc.wordpress.com/2010/12/08/clarification-part-2/</link>
		<comments>http://tarinc.wordpress.com/2010/12/08/clarification-part-2/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 18:31:36 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=115</guid>
		<description><![CDATA[* Any reason that the source files are provided as RPMs rather than tar balls or checked in into an hg repository? The command used to create RPM packages is &#8220;rpmbuild&#8221;; we used the &#8220;-ba&#8221; option to make rpmbuild generate all required packages for a standard Fedora release; This includes .rpm, .src.rpm and debuginfo. debuginfo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=115&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>* Any reason that the source files are provided as RPMs rather than tar balls or checked in into an hg repository?</p>
<p>The command used to create RPM packages is &#8220;rpmbuild&#8221;; we used the &#8220;-ba&#8221; option to make rpmbuild generate all required packages for a standard Fedora release; This includes .rpm, .src.rpm and debuginfo. debuginfo is disabled inside the spec file since we are not building the nightly; we are simply extracting the binary to a location.</p>
<p>The .src.rpm package is used to add support for the &#8220;yumdownloader &#8211;source&#8221; command and to follow the the general guidelines of a Fedora YUM repository. A .src.rpm package can be extracted and viewed like a tar ball, that is one of the benefits of using it; another benefit is that anyone who installs the SRPM and has the &#8220;rpmdevtools&#8221; package installed will have an organized, structured and fixed location where the source is stored.</p>
<p>A .rpm is the equivalent to a windows installer;  the .src.rpm is a &#8220;how to&#8221; for the OS to build that .rpm. The reason it isn&#8217;t stored in a SVN is simply because of the design of how an RPM is built; When a .src.rpm package is installed, it installs everything to create the .rpm however not the .rpm itself.</p>
<p>When viewing the .src.rpm and .rpm with an archiving tool the only difference is the access to the SPEC file. A spec file is a file which holds instructions for the OS to install the an application.</p>
<p>* Any reason that the RPM to add the “Firefox Nightly” repo to Fedora is  provided as one of the directories (“noarch”) inside of the repo as a  whole? I would have expected this file to provided from another website</p>
<p>The repository RPM is there for convenience; all it does is adds the .repo file and the gpg key to the system. All directories in the repository are simply the architecture and the repository meta data; &#8220;noarch&#8221; means that no matter which architecture you are using, this package is installable.</p>
<p>You can provide this file from another website, or any of the files in the repository. That is simply your choice. Normally most users don&#8217;t care about the back end of a repository and wont even know about how it functions. The only reason it is included in the repository is for convenience.</p>
<p>If you were to change something in the RPM such as the server location or gpg key, how would you make the user update their system with the latest repository, or better yet, make it convenient? Adding this package to the repository was meant to answer this question, all we need to do is bump the version or the release number and the user just needs to do a yum update and with a simple system function they are up to date.</p>
<p>&nbsp;</p>
<p>Tom &#8216;spot&#8217; Callaway, Manager of the Fedora Engineering team at Red Hat created a repository for Google Chromium <a href="http://repos.fedorapeople.org/repos/spot/chromium/" target="_blank">here</a>. The directory structure is slightly different than what we&#8217;re using however the general idea is the same. I posted this here so you have something to compare the repository that we built to other repositories built for Fedora.</p>
<p>Any other questions or concerns feel free to leave a comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=115&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/08/clarification-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Small Updates</title>
		<link>http://tarinc.wordpress.com/2010/12/08/small-updates/</link>
		<comments>http://tarinc.wordpress.com/2010/12/08/small-updates/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 06:27:23 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=109</guid>
		<description><![CDATA[Packages from December 8th and later contain an updated menu item which opens the Firefox profile manager every time minefield is opened via the menu. This change should make it so that end users which aren&#8217;t aware of profile related issues the ability to access minefield. The only unfortunate issue this introduces is that the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=109&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Packages from December 8th and later contain an updated menu item which opens the Firefox profile manager every time minefield is opened via the menu. This change should make it so that end users which aren&#8217;t aware of profile related issues the ability to access minefield. The only unfortunate issue this introduces is that the button which reads &#8220;Don&#8217;t ask at startup&#8221; wont work.</p>
<p>To remove this change:</p>
<ul>
<li>edit /usr/share/applications/minefield.desktop</li>
<li>remove &#8220;&#8211;no-remote &#8211;ProfileManager&#8221; from the end of the line which starts with &#8220;Exec&#8221;</li>
</ul>
<p>This change will remain in the final version unless requested to be removed by Mozilla.</p>
<p>Ive made some changes to the automation scripts to remove any potential issues that may arise when the Minefield version number changes. The scripts were slightly redesigned as a result which actually benefits us in the long run.</p>
<ul>
<li>The script to update the repository takes an argument; That argument before the change was the architecture to build Minefield; after the changes I made today the argument is now the URL to the Minefield tar ball. The version number and architecture are taken off the URL. This little change assumes that the naming convention of Minefield remains relatively the same. However it makes the scripts a lot more robust as it requires very little to be changed should it break.</li>
<li>The order in which the script processes stuff has changed. The script now does all local things first such as building the spec file and desktop file before downloading the tar ball. This was done to ensure that bandwidth isn&#8217;t wasted on either side just to find out there&#8217;s something wrong locally.</li>
<li>The output of the script was changed from &#8220;Neat&#8221; (only showed errors should they arise) to a little more convenient. If the script is run manually the script should output additional information  to show the status of the update. (shows download process)</li>
</ul>
<p>Issues remaining:</p>
<ul>
<li>When i gave the script to my colleague he was unable to run the script; the issue lied with the use of the function &#8220;dirname&#8221;; the script will only run when called with an absolute path or directly(your sitting in your home directory and the script is sitting in a directory called project; call it using either ~/project/UpdateRepo.bash or project/UpdateRepo.bash. Using ./project/UpdateRepo.bash or any other relative path will not work.)</li>
<li>RPM signing; I did plan on doing it yesterday however moving our scripts over to a new server introduced some additional work. We have to recreate gpg keys. Since this isn&#8217;t absolutely vital for the system to work it hasn&#8217;t really received my full attention however it should be done soon.</li>
</ul>
<p>The end is nearing! Unfortunately I am completely swamped with work however I should be able to finalize most of the automation sometime later this week. I am currently working on another post  on instructions on how to set up the server side of things, including gpg keys, script configuration, etc.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=109&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/08/small-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Clarification</title>
		<link>http://tarinc.wordpress.com/2010/12/07/clarification/</link>
		<comments>http://tarinc.wordpress.com/2010/12/07/clarification/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 21:39:21 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=101</guid>
		<description><![CDATA[Based on the comments that Armen is leaving, I don&#8217;t think I&#8217;m explaining this clearly; I guess lack of communication from our side or even the complexity of the system that we are trying to implement is at fault however ill try to summarize everything about the project the best i can in this post [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=101&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Based on the comments that Armen is leaving, I don&#8217;t think I&#8217;m explaining this clearly; I guess lack of communication from our side or even the complexity of the system that we are trying to implement is at fault however ill try to summarize everything about the project the best i can in this post so we can understand the system a little more clearly.</p>
<p>The structure of our Repository:</p>
<p>http://chile.proximity.on.ca/ffrepo</p>
<ul>
<li>i686
<ul>
<li>*.rpm<br />
This is the actual 32bit Minefield installation RPM; using the command &#8220;yum install minefield&#8221; will download and install the latest version of this package; Or if a manual installation was to be done; This package must be installed.</li>
<li>*.src.rpm<br />
Source RPM files contain the source code to build the above RPM; It includes the spec file, desktop file and the minefield tar ball. This package is optional and the only reason it is included is to allow outside users to see how we built the RPM and to meet the expectations of leaving the RPM open source.</li>
</ul>
</li>
<li>noarch
<ul>
<li>Similar to the i686 directory; The src.rpm is the source code for the .rpm file. The RPM in this directory is not related to minefield. Its sole purpose is to allow end users to install our yum repository easily. It is included inside the repository should we ever need to update the end user. &#8220;noarch&#8221; indicates that the package is not limited to any system architecture. The RPM here is updated on a need to need basis and not generated daily therefore it uses a different naming convention.</li>
</ul>
</li>
<li>repodata
<ul>
<li>This directory is automatically generated when the repository is created/updated.</li>
</ul>
</li>
<li>x86_64
<ul>
<li>This directory is exactly the same as i686 however the tarball inside these RPMs contain the 64 bit version of minefield.</li>
</ul>
</li>
</ul>
<p>Automation:</p>
<p>The automation script is a block of code which automatically creates both .src.rpm and .rpm files for i686 and x86_64. The following contains a basic order of how this script works:</p>
<ol>
<li>Download the latest tarball from mozilla&#8217;s ftp server</li>
<li>Creates a fresh spec file with unique properties(version/release numbers) and a desktop file</li>
<li>Update the repository</li>
</ol>
<p>This script is designed to build either 32 bit or 64 bit minefield and not both at the same time; This means that to build both 32 bit and 64 bit minefield; the script must be run twice with a different argument.</p>
<p>Other potential changes:</p>
<ul>
<li>With respect to Armen&#8217;s request; The RPM does not create a profile however after today&#8217;s small presentation to Chris; he suggested that every time minefield is opened, the profile manager should pop up.</li>
</ul>
<ul>
<li>Include Automatic RPM signing inside the automation scripts using the &#8220;expect&#8221; packages.</li>
</ul>
<p>Other Concerns:</p>
<p>Armen left a comment regarding the naming convention of minefield (minefield-4.0b8pre-20101207). His comment was about how multiple nightlies may be released a day and the automation script should be able to handle that. Currently The scripts are designed to run at the top of the hour after the nightly has been been released; 7 AM EST for 32 bit and 8 AM EST for 64 bit. However the scripts can also be run manually whenever any updates are needed. However the naming convention does not consider the fact that more than one nightly can be released on a single day therefore if the scripts were run manually; they will override the one that was automatically built on the same day.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=101&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/07/clarification/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Pseudo Code</title>
		<link>http://tarinc.wordpress.com/2010/12/07/pseudo-code/</link>
		<comments>http://tarinc.wordpress.com/2010/12/07/pseudo-code/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 19:29:42 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=84</guid>
		<description><![CDATA[The automation is done using 3 scripts; The main script which is shown below was designed to complete all functions that have anything related the actual system interacting with the minefield tarball. The structure of the automation scripts (the structure is dynamic and designed to work from any directory inside a users home directory): ~ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=84&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The automation is done using 3 scripts; The main script which is shown below was designed to complete all functions that have anything related the actual system interacting with the minefield tarball.</p>
<p>The structure of the automation scripts (the structure is dynamic and designed to work from any directory inside a users home directory):</p>
<ul>
<li>~ (home directory)
<ul>
<li>project
<ul>
<li>BuildSpecFile.bash</li>
<li>BuildDesktopFile.bash</li>
</ul>
</li>
<li>rpmbuild
<ul>
<li>RPMS</li>
<li>SRPMS</li>
<li>BUILD</li>
<li>BUILDROOT</li>
<li>SOURCES</li>
</ul>
</li>
</ul>
</li>
</ul>
<blockquote><p>#dependency check<br />
if rpmdevtools is not installed<br />
output error<br />
exit script</p>
<p>#prepare environment<br />
create directory where RPMs are stored<br />
wipe rpmbuild directory<br />
(re)create rpmbuild directory</p>
<p>#build (if anything fails here; script exits with error)<br />
download latest binary tarball<br />
move tarball to correct location<br />
call external script (builds spec file)<br />
call external script (builds desktop file)<br />
build RPM and SRPM<br />
move RPM to correct location<br />
remove old SRPM(if this fails; script does not exit)<br />
move SRPM to correct location</p>
<p>#update repo<br />
wipe rpmbuild directory<br />
update repository</p></blockquote>
<p>This script is used to build the spec file:</p>
<blockquote><p>#set variables<br />
version=4.0..<br />
release=date</p>
<p>#create spec file<br />
cat &gt;output &lt;EOF<br />
contents of spec file&#8230;<br />
EOF</p></blockquote>
<p>This script is used to build the desktop file:</p>
<blockquote><p>cat &gt; output &lt;EOF<br />
contents of desktop file<br />
EOF</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=84&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/07/pseudo-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
		<item>
		<title>Minefield Automation</title>
		<link>http://tarinc.wordpress.com/2010/12/03/minefield-automation/</link>
		<comments>http://tarinc.wordpress.com/2010/12/03/minefield-automation/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 10:31:23 +0000</pubDate>
		<dc:creator>tarinc</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://tarinc.wordpress.com/?p=79</guid>
		<description><![CDATA[In preparation of handing this project off to the Mozilla folks I have been working on finalizing the last couple of things left to do on this project. Unfortunately its that time of the semester again where all the teachers just bombard you with work they were to lazy to give out earlier. However from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=79&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In preparation of handing this project off to the Mozilla folks I have been working on finalizing the last couple of things left to do on this project. Unfortunately its that time of the semester again where all the teachers just bombard you with work they were to lazy to give out earlier. However from where we stand now I can only see about 2 little hick ups left which im not quite sure we will be able to tackle.</p>
<ul>
<li>Automatic rpm signing:<br />
This is fairly easy from what ive read. A package called &#8220;expect&#8221; is capable of providing exactly what we need. The only problem is that the password must be inside the automation scripts in plain text.</li>
<li>Dynamically downloading source code:<br />
Currently the source code is downloaded from Mozilla&#8217;s FTP server however the URL used to get the code is: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-4.0b8pre.en-US.linux-x86_64.tar.bz2<br />
Curious to see the amount of errors that come out when the version number changes.</li>
</ul>
<p>Our Proof of Concept server&#8217;s Apache is currently down, honestly not surprised, when you give root password to people that may not know exactly what their doing; usually results in disaster. Ive attempted to fix Apache however fixing something is just too much work especially if you don&#8217;t know what exactly changed. I just moved the automation scripts to another server and that server has been running fine. The server i will be using from now on is: http://chile.proximity.on.ca/ffrepo/</p>
<p>Unfortunately moving stuff is easy for me however anyone with the repository will have to do some work to get it working again:</p>
<ul>
<li>Download and install the latest RPM from <a title="Firefox Repository" href="http://chile.proximity.on.ca/ffrepo/noarch/" target="_blank">here</a></li>
<li>Your back!</li>
</ul>
<p>Moving servers also means that the key included with the RPM is now invalid; although that really doesn&#8217;t matter at this point since gpgcheck is still disabled and the packages still haven&#8217;t been signed.</p>
<p>I will try to get some time to post some pseudo code for the automation scripts very soon.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarinc.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarinc.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tarinc.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tarinc.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarinc.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarinc.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarinc.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarinc.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarinc.wordpress.com&amp;blog=15782385&amp;post=79&amp;subd=tarinc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tarinc.wordpress.com/2010/12/03/minefield-automation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/716d2fccb621ce490d1301ec3d37746e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tarinc</media:title>
		</media:content>
	</item>
	</channel>
</rss>
