<?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>OlliN&#039;s &#187; FLOSS</title>
	<atom:link href="http://www.nautsch.net/category/floss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nautsch.net</link>
	<description>Notizen über Software und Anderes von Oliver Nautsch</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:12:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>It&#8217;s never to late for git.</title>
		<link>http://www.nautsch.net/2011/12/18/its-never-to-late-for-git/</link>
		<comments>http://www.nautsch.net/2011/12/18/its-never-to-late-for-git/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 11:32:57 +0000</pubDate>
		<dc:creator>ollin</dc:creator>
				<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.nautsch.net/?p=637</guid>
		<description><![CDATA[<p>If not already done, every software developer must try <a href="http://git-scm.com/">GIT</a> - the fast, distributed version control system. It&#8217;s such a nice and useful tool. Once every week I find a new little nice feature.</p> <p>The last month I used the git-client together with a svn-remote repository and I will never use the svn client again. It is so handy to [...]]]></description>
			<content:encoded><![CDATA[<p>If not already done, every software developer must try <a href="http://git-scm.com/">GIT</a> - the fast, distributed version control system. It&#8217;s such a nice and useful tool. Once every week I find a new little nice feature.</p>
<p>The last month I used the git-client together with a svn-remote repository and I will never use the svn client again. It is so handy to have the full history of the repository on my notebook.  I can commit my changes every time to my local repository and merging/branching is just fun.  I&#8217;m so much faster &#8230;</p>
<p>Here my path to git</p>
<ul>
<li><a href="http://www.viget.com/extend/effectively-using-git-with-subversion/">Effectively Using Git With Subversion</a></li>
<li><a href="http://inventage.com/employees.html">Dominik</a> (a colleague which answered my first questions)</li>
<li><a href="http://pragprog.com/book/pg_git/pragmatic-guide-to-git">Pragmatic Guide to Git</a> by Travis Swicegood</li>
<li><a href="http://book.git-scm.com/">The Git Community Book</a></li>
<li>the git man pages</li>
<li>&#8230; and using it every day</li>
</ul>
<p>Here my favorite git client in action (the command line client <img src='http://www.nautsch.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  :</p>
<div id="attachment_638" class="wp-caption alignnone" style="width: 310px"><a href="http://www.nautsch.net/wp-content/uploads/git.command.line_.png"><img class="size-medium wp-image-638" title="git.command.line" src="http://www.nautsch.net/wp-content/uploads/git.command.line_-300x166.png" alt="" width="300" height="166" /></a><p class="wp-caption-text">git command line</p></div>
<p>There are plugins for eclise, idea, windows, mac&#8230; So give it a try and have fun!</p>
<p>And if you want to have the little nice prompt add the following lines to your .bashrc:</p>

<div class="wp_codebox"><table><tr id="p6372"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
</pre></td><td class="code" id="p637code2"><pre class="bash" style="font-family:monospace;">...
<span style="color: #666666; font-style: italic;">#-----------------------------------</span>
<span style="color: #666666; font-style: italic;"># git in prompt</span>
<span style="color: #666666; font-style: italic;">#-----------------------------------</span>
        <span style="color: #007800;">RED</span>=<span style="color: #ff0000;">&quot;\[\033[0;31m\]&quot;</span>
     <span style="color: #007800;">YELLOW</span>=<span style="color: #ff0000;">&quot;\[\033[0;33m\]&quot;</span>
      <span style="color: #007800;">GREEN</span>=<span style="color: #ff0000;">&quot;\[\033[0;32m\]&quot;</span>
       <span style="color: #007800;">BLUE</span>=<span style="color: #ff0000;">&quot;\[\033[0;34m\]&quot;</span>
  <span style="color: #007800;">LIGHT_RED</span>=<span style="color: #ff0000;">&quot;\[\033[1;31m\]&quot;</span>
<span style="color: #007800;">LIGHT_GREEN</span>=<span style="color: #ff0000;">&quot;\[\033[1;32m\]&quot;</span>
      <span style="color: #007800;">WHITE</span>=<span style="color: #ff0000;">&quot;\[\033[1;37m\]&quot;</span>
 <span style="color: #007800;">LIGHT_GRAY</span>=<span style="color: #ff0000;">&quot;\[\033[0;37m\]&quot;</span>
 <span style="color: #007800;">COLOR_NONE</span>=<span style="color: #ff0000;">&quot;\[\e[0m\]&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> parse_git_branch <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        <span style="color: #c20cb9; font-weight: bold;">git</span> rev-parse <span style="color: #660033;">--git-dir</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
        <span style="color: #007800;">git_status</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git status 2&amp;gt; /dev/null)</span>&quot;</span>
        <span style="color: #007800;">branch_pattern</span>=<span style="color: #ff0000;">&quot;^# On branch ([^<span style="color: #007800;">${IFS}</span>]*)&quot;</span>
        <span style="color: #007800;">remote_pattern</span>=<span style="color: #ff0000;">&quot;# Your branch is (.*) of&quot;</span>
        <span style="color: #007800;">diverge_pattern</span>=<span style="color: #ff0000;">&quot;# Your branch and (.*) have diverged&quot;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #800000;">${git_status}</span> =~ <span style="color: #ff0000;">&quot;working directory clean&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">state</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${RED}</span>?&quot;</span>
        <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #007800;">state</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${GREEN}</span>?&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
        <span style="color: #666666; font-style: italic;"># add an else if or two here if you want to get more specific</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${git_status}</span> =~ <span style="color: #800000;">${remote_pattern}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${BASH_REMATCH[1]}</span> == <span style="color: #ff0000;">&quot;ahead&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                        <span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${YELLOW}</span>?&quot;</span>
                <span style="color: #000000; font-weight: bold;">else</span>
                        <span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${YELLOW}</span>?&quot;</span>
                <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${git_status}</span> =~ <span style="color: #800000;">${diverge_pattern}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${YELLOW}</span>?&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${git_status}</span> =~ <span style="color: #800000;">${branch_pattern}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">branch</span>=<span style="color: #800000;">${BASH_REMATCH[1]}</span>
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot; (<span style="color: #007800;">${branch}</span>)<span style="color: #007800;">${remote}</span><span style="color: #007800;">${state}</span>&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> prompt_func<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        <span style="color: #007800;">previous_return_value</span>=<span style="color: #007800;">$?</span>;
        <span style="color: #007800;">prompt</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${GREEN}</span><span style="color: #007800;">${USER:-$(type whoami &amp;gt;/dev/null &amp;amp;&amp;amp; whoami)}</span>@<span style="color: #007800;">$(type uname &amp;gt;/dev/null &amp;amp;&amp;amp; uname -n)</span> <span style="color: #007800;">${BLUE}</span>[\w<span style="color: #007800;">${GREEN}</span><span style="color: #007800;">$(parse_git_branch)</span><span style="color: #007800;">${BLUE}</span>]<span style="color: #007800;">${COLOR_NONE}</span> &quot;</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #007800;">$previous_return_value</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span>
        <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #666666; font-style: italic;"># PS1=&quot;${prompt}? &quot;</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${prompt}</span> \<span style="color: #000099; font-weight: bold;">\$</span> &quot;</span>
        <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #666666; font-style: italic;">#PS1=&quot;${prompt}${RED}?${COLOR_NONE}&quot;</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${prompt}</span><span style="color: #007800;">${RED}</span>\<span style="color: #000099; font-weight: bold;">\$</span> <span style="color: #007800;">${COLOR_NONE}</span>&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">PROMPT_COMMAND</span>=prompt_func</pre></td></tr></table></div>

<p>I found this script at <a href="https://gist.github.com/1485616">github</a> and changed it a little bit. Thx to <a href="https://github.com/trapni">trapni</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nautsch.net/2011/12/18/its-never-to-late-for-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m going to FOSDEM 2011</title>
		<link>http://www.nautsch.net/2011/02/02/im-going-to-fosdem-2011/</link>
		<comments>http://www.nautsch.net/2011/02/02/im-going-to-fosdem-2011/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 09:05:59 +0000</pubDate>
		<dc:creator>ollin</dc:creator>
				<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[reisen]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.nautsch.net/?p=556</guid>
		<description><![CDATA[<p><a href="http://www.fosdem.org"></a><a href="http://www.fosdem.org"></a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fosdem.org"></a><a href="http://www.fosdem.org"><img class="alignnone size-full wp-image-568" title="FOSDEM 2011" src="http://www.nautsch.net/wp-content/uploads/going-to.png" alt="I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting" width="150" height="89" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nautsch.net/2011/02/02/im-going-to-fosdem-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bruce Perens zurück zur OSI</title>
		<link>http://www.nautsch.net/2008/03/19/bruce-perens-zuruck-zur-osi/</link>
		<comments>http://www.nautsch.net/2008/03/19/bruce-perens-zuruck-zur-osi/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 14:49:47 +0000</pubDate>
		<dc:creator>ollin</dc:creator>
				<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[leute]]></category>

		<guid isPermaLink="false">http://www.nautsch.net/?p=107</guid>
		<description><![CDATA[<p>Inswischen pfeifen es die Spatzen vom Dach (<a href="http://www.linux-magazin.de/news/bruce_perens_arbeitet_an_osi_comeback">hier,</a> <a href="http://slashdot.org/article.pl?sid=08/03/18/2058218">hier</a>). Bruce Perens möchte gern wieder im Aufsichtsrat der <a href="http://www.opensource.org/">OSI</a> sein und hat gute Gründe dafür. Auf <a href="http://techp.org/p/7">seiner Webseite</a> kann man ihn unterstützen.</p> <p>Meine Unterstützung hat er.</p>]]></description>
			<content:encoded><![CDATA[<p>Inswischen pfeifen es die Spatzen vom Dach (<a href="http://www.linux-magazin.de/news/bruce_perens_arbeitet_an_osi_comeback">hier,</a> <a href="http://slashdot.org/article.pl?sid=08/03/18/2058218">hier</a>). Bruce Perens möchte gern wieder im Aufsichtsrat der <a href="http://www.opensource.org/">OSI</a> sein und hat gute Gründe dafür. Auf <a href="http://techp.org/p/7">seiner Webseite</a> kann man ihn unterstützen.</p>
<p>Meine Unterstützung hat er.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nautsch.net/2008/03/19/bruce-perens-zuruck-zur-osi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ein Herz für FLOSS</title>
		<link>http://www.nautsch.net/2006/11/24/ein-herz-fur-floss/</link>
		<comments>http://www.nautsch.net/2006/11/24/ein-herz-fur-floss/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 21:21:44 +0000</pubDate>
		<dc:creator>ollin</dc:creator>
				<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[leute]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.nautsch.net/?p=31</guid>
		<description><![CDATA[<p>wenn mein Herz für etwas höherschlägt (ausgenommen natürlich meine Frau ), dann für freie und offene Software (<a href="http://de.wikipedia.org/wiki/Free/Libre_Open_Source_Software">FLOSS</a>). Ich mag z.B. den Sourcecode anschauen, wenn ich die API Beschreibung nicht verstehe oder sich eine Methode nicht so verhält wie ich es mir vorstelle, ich mag die Begeisterung der Leute die an FLOSS mitarbeiten und [...]]]></description>
			<content:encoded><![CDATA[<p>wenn mein Herz für etwas höherschlägt (ausgenommen natürlich meine Frau <img src='http://www.nautsch.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ), dann für freie und offene Software (<a href="http://de.wikipedia.org/wiki/Free/Libre_Open_Source_Software">FLOSS</a>). Ich mag z.B. den Sourcecode anschauen, wenn ich die API Beschreibung nicht verstehe oder sich eine Methode nicht so verhält wie ich es mir vorstelle, ich mag die Begeisterung der Leute die an FLOSS mitarbeiten und die vielen netten Werkzeuge die ich jeden Tag verwende, ich mag das Gemeinschaftsgefühl und den Geist offener Standards, ich mag wie in diesem Umfeld Ideen ausgetauscht werden und Wissen weitergegeben wird, ich mag es einfach und deshalb unterstütze ich auch <a href="http://techp.org/petition/show/1">Bruce Perens Aufruf</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nautsch.net/2006/11/24/ein-herz-fur-floss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

