<?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/"
	>

<channel>
	<title>Giuseppe Coviello &#187; ilenia</title>
	<atom:link href="http://osl.uniparthenope.it/people/cjg/tag/ilenia/feed/" rel="self" type="application/rss+xml" />
	<link>http://osl.uniparthenope.it/people/cjg</link>
	<description>... from this day to the ending of the world, But we in it shall be remember&#039;d; We few, we happy few, we band of brothers; For he to-day that sheds his blood with me Shall be my brother ...</description>
	<lastBuildDate>Mon, 14 Jun 2010 17:58:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making ilenia update local repositories</title>
		<link>http://osl.uniparthenope.it/people/cjg/2009/05/making-ilenia-update-local-repositories/</link>
		<comments>http://osl.uniparthenope.it/people/cjg/2009/05/making-ilenia-update-local-repositories/#comments</comments>
		<pubDate>Sun, 24 May 2009 18:10:39 +0000</pubDate>
		<dc:creator>cjg</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[crux]]></category>
		<category><![CDATA[crux-ppc]]></category>
		<category><![CDATA[ilenia]]></category>

		<guid isPermaLink="false">http://cjg.cruxppc.org/?p=319</guid>
		<description><![CDATA[After about two years I felt the time to add a new feature to ilenia was came. On every systems were I&#8217;ve installed CRUX (or CRUX PPC) on I use local repositories for storing ports written by me for that system or ports selected by other repositories (&#8220;contrib&#8221; for example), while there is an automatic system to update harmlessly ports written by me it&#8217;s possible to update the other ones by downloading them from their own repositories.
The scenario likes the [...]]]></description>
			<content:encoded><![CDATA[<p>After about two years I felt the time to add a new feature to ilenia was came. On every systems were I&#8217;ve installed CRUX (or CRUX PPC) on I use local repositories for storing ports written by me for that system or ports selected by other repositories (&#8220;contrib&#8221; for example), while there is an automatic system to update harmlessly ports written by me it&#8217;s possible to update the other ones by downloading them from their own repositories.</p>
<p>The scenario likes the one described for the &#8220;Mult&#8221; repository driver written by sepen (<a href="http://crux.nu/Wiki/Mult">http://crux.nu/Wiki/Mult</a>), but I think it&#8217;s needed to add a new kind of repository while we can just build a system to update local repositories.</p>
<p>Of course local repositories should get updated together with other ones, so the tool (for my systems) that should update local repositories is ilenia and I made ilenia update local repositories.</p>
<p>When updating a local repository, ilenia looks for a shell script in the repository root called &#8220;.updater.sh&#8221;, if that file exists ilenia run it in the repository root.</p>
<p>For example on lazarus.cruxppc.org we have :</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#
# /etc/ports/lazarus.local
#
&nbsp;
PATH=/home/ports
&nbsp;
# End Of File</pre></div></div>

<p>And the script:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#
# /home/ports/.updater.sh
#
&nbsp;
# ilenia
rsync -aqz cruxppc.org::ports/core/2.5/ilenia/ ilenia
&nbsp;
# logrotate
rsync -aqz crux.nu::ports/crux-2.5/contrib/logrotate/ logrotate
&nbsp;
# php-gd
rsync -aqz crux.nu::ports/crux-2.5/contrib/php-gd/ php-gd
&nbsp;
# End Of File</pre></div></div>

<p>To use the new feature you can patch ilenia-3.4 with <a href="http://www.cruxppc.org/gitweb?p=ports/core.git;a=blob_plain;f=ilenia/ilenia-3.4.diff;hb=588fd0cc6a1384dbb0166a7c2276a33660f2cd44">ilenia-3.4.diff</a> that has also some early bugfixes already released.</p>
<p>Probably I should roll up a new release &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://osl.uniparthenope.it/people/cjg/2009/05/making-ilenia-update-local-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
