<?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>Lunar Linux &#187; Uncategorized</title>
	<atom:link href="https://lunar-linux.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>https://lunar-linux.org</link>
	<description>It&#039;s out of this world!</description>
	<lastBuildDate>Tue, 15 Aug 2023 07:21:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.3</generator>
	<item>
		<title>Moonbase Workflow</title>
		<link>https://lunar-linux.org/2012/06/03/moonbase-workflow/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=moonbase-workflow</link>
		<comments>https://lunar-linux.org/2012/06/03/moonbase-workflow/#comments</comments>
		<pubDate>Sun, 03 Jun 2012 19:29:56 +0000</pubDate>
		<dc:creator><![CDATA[v4hn]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://9.16</guid>
		<description><![CDATA[<p>As every developer has his own way of using git and developing lunar modules,<br /> I think, it&#8217;s an appropriate first post to describe my basic workflow.</p> <p>First of all my systems moonbase is the git-repository, instead of the default one.<br /> So `lunar set MOONBASE` prints<br /> MOONBASE=/var/lib/lunar/git-moonbase</p> <p>While this allows instant integration of [...]]]></description>
				<content:encoded><![CDATA[<p>As every developer has his own way of using git and developing lunar modules,<br />
I think, it&#8217;s an appropriate first post to describe my basic workflow.</p>
<p>First of all my systems moonbase is the git-repository, instead of the default one.<br />
So `lunar set MOONBASE` prints<br />
<code>MOONBASE=/var/lib/lunar/git-moonbase</code></p>
<p>While this allows instant integration of bug fixes instead of waiting<br />
for the moonbase to rebuild every half an hour, it also results in<br />
foobar from time to time when doing updates and bumping modules in parallel.</p>
<p>Now my git repository contains three major branches:</p>
<ul>
<li><strong>master</strong> obviously</li>
<li><strong>v4hn</strong></li>
<li><strong>local</strong></li>
</ul>
<p>v4hn lives on top of master and contains changes that are to be applied to master in near future,<br />
local again stays on top of v4hn and keeps changes that are for this machine only<br />
and not intended to be merged into master ever(e.g. patches in zlocal/_patches).</p>
<p>Whenever there are some commits on the mailinglist I run an update-script which does the following:<br />
<code>git checkout master &amp;&amp; git pull --rebase &amp;&amp;<br />
git checkout v4hn &amp;&amp; git rebase master &amp;&amp;<br />
git checkout local &amp;&amp; git rebase v4hn &amp;&amp;<br />
lsh create_module_index &amp;&amp; lsh create_depends_cache</code></p>
<p>When I make changes that are intended to be pushed,<br />
I switch to v4hn and commit them there. The next update<br />
makes sure, local still stays on top of v4hn.<br />
After committing all related updates to v4hn and testing them locally<br />
(i.e. removing /var/spool/lunar/&lt;module&gt;*, running `lin -rc &lt;module&gt;` with all and with none options selected)<br />
I finally run update again and afterwards do<br />
<code>git checkout master &amp;&amp;<br />
git merge --ff-only v4hn &amp;&amp;<br />
git push lunar master</code></p>
<p>If everything went smooth the changes are now online and everyone is happy.</p>
]]></content:encoded>
			<wfw:commentRss>https://lunar-linux.org/2012/06/03/moonbase-workflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>https://lunar-linux.org/2012/01/06/hello-world/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hello-world</link>
		<comments>https://lunar-linux.org/2012/01/06/hello-world/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 03:01:40 +0000</pubDate>
		<dc:creator><![CDATA[akelling]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://5.1</guid>
		<description><![CDATA[<p>Welcome to <a href="http://www.blogs.lunar-linux.org/">Lunar Linux User Blogs</a>. This is your first post. Edit or delete it, then start blogging!</p>]]></description>
				<content:encoded><![CDATA[<p>Welcome to <a href="http://www.blogs.lunar-linux.org/">Lunar Linux User Blogs</a>. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>https://lunar-linux.org/2012/01/06/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
