<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>technikhaufen - vcs</title>
    <link>http://gebi.supersized.org/</link>
    <description>many to many</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3-alpha1 - http://www.s9y.org/</generator>
    <pubDate>Fri, 13 Jun 2008 09:04:13 GMT</pubDate>

    <image>
        <url>http://gebi.supersized.org/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: technikhaufen - vcs - many to many</title>
        <link>http://gebi.supersized.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>When svn really hates you</title>
    <link>http://gebi.supersized.org/archives/6-When-svn-really-hates-you.html</link>
            <category>vcs</category>
    
    <comments>http://gebi.supersized.org/archives/6-When-svn-really-hates-you.html#comments</comments>
    <wfw:comment>http://gebi.supersized.org/wfwcomment.php?cid=6</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gebi.supersized.org/rss.php?version=2.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    

    <author>nospam@example.com (Michael Gebetsroither)</author>
    <content:encoded>
    &lt;p
&gt;As my colleagues don&#039;t know either git or mercurial, we decided to use subversion for our collaboration. This was a big mistake as it seems.&lt;/p
&gt;&lt;p
&gt;We have a strict deadline to meet and the following is something you &lt;em
  &gt;really&lt;/em
  &gt; don&#039;t want to read a few days before the deadline.&lt;/p
&gt;&lt;p
&gt;I&#039;m normally using git-svn, but this time i have to check in quite a few files, so i thought about using svn directly.&lt;/p
&gt;&lt;p
&gt;And this is the result:&lt;/p
&gt;&lt;pre
&gt;&lt;code
  &gt;svn: REPORT request failed on &#039;/svn/eegs08/!svn/vcc/default&#039;
svn: REPORT of &#039;/svn/eegs08/!svn/vcc/default&#039;: 200 OK (https://svn.tugraz.at)
&lt;/code
  &gt;&lt;/pre
&gt;&lt;p
&gt;After that i can&#039;t commit new files anymore, nor checkout another revision.&lt;/p
&gt;&lt;h4 id=&quot;even-a-complete-new-checkout-doesnt-help&quot;
&gt;Even a complete new checkout doesn&#039;t help:&lt;/h4
&gt;% svn co&lt;url&gt;
&lt;pre
&gt;&lt;code
  &gt;...
A    AG01/RaytracerG01/RaytracerG01/TokenCmdCreateDirLight.h
svn: REPORT request failed on &#039;/svn/eegs08/!svn/vcc/default&#039;
svn: REPORT of &#039;/svn/eegs08/!svn/vcc/default&#039;: 200 OK (https://svn.tugraz.at)
&lt;/code
  &gt;&lt;/pre
&gt;&lt;p
&gt;and thats it, the repository is dead.&lt;/p
&gt;&lt;h4 id=&quot;this-is-where-git-svn-comes-in&quot;
&gt;This is where git-svn comes in:&lt;/h4
&gt;&lt;p
&gt;So i&#039;ve just deleted this damn svn repository on the server and repopulated it with the default layout (trunk, tags, branches).&lt;/p
&gt;&lt;pre
&gt;&lt;code
  &gt;% mv repo repo~
% git svn clone -s &amp;lt;REPO&amp;gt; repo
% cd repo
% git fetch ../repo~ master:old
% git rebase master old
% git svn dcommit
&lt;/code
  &gt;&lt;/pre
&gt;&lt;p
&gt;After that i had a working repository on svn again :)!&lt;/p
&gt;
 
    </content:encoded>

    <pubDate>Fri, 13 Jun 2008 11:04:13 +0200</pubDate>
    <guid isPermaLink="false">http://gebi.supersized.org/archives/6-guid.html</guid>
    
</item>
<item>
    <title>Installing gitosis on debian</title>
    <link>http://gebi.supersized.org/archives/4-Installing-gitosis-on-debian.html</link>
            <category>debian</category>
            <category>vcs</category>
    
    <comments>http://gebi.supersized.org/archives/4-Installing-gitosis-on-debian.html#comments</comments>
    <wfw:comment>http://gebi.supersized.org/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://gebi.supersized.org/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (Michael Gebetsroither)</author>
    <content:encoded>
    &lt;h3 id=&quot;attention&quot;
&gt;ATTENTION:&lt;/h3
&gt;&lt;p
&gt;current gitosis debian package does a chmod -R git:git /var/cache/git, if you allready have a git repository setup be c
arefully! &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473574&quot;
  &gt;#473574&lt;/a
  &gt;&lt;/p
&gt;&lt;h4 id=&quot;install&quot;
&gt;Install&lt;/h4
&gt;&lt;pre
&gt;&lt;code
  &gt;apt-get update
apt-get install gitosis
&lt;/code
  &gt;&lt;/pre
&gt;&lt;p
&gt;This creates a user git with /var/cache/git as $HOME (which is also the default directory for git-daemon to serve). I&#039;ve changed this to the normal /home/git as i want gitosis only for non-public projects.&lt;/p
&gt;&lt;h4 id=&quot;initialise&quot;
&gt;Initialise&lt;/h4
&gt;&lt;pre
&gt;&lt;code
  &gt;% su git
$ gitosis-init &amp;lt;/tmp/id_rsa.pub 
Initialized empty Git repository in ./
Initialized empty Git repository in ./
&lt;/code
  &gt;&lt;/pre
&gt;&lt;h4 id=&quot;configure&quot;
&gt;Configure&lt;/h4
&gt;&lt;pre
&gt;&lt;code
  &gt;% git clone git@localhost:gitosis-admin.git
% cd gitosis-admin
&lt;/code
  &gt;&lt;/pre
&gt;&lt;p
&gt;see gitosis documentation if you need further help on configuration or &lt;a href=&quot;http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way&quot;
  &gt;&lt;code
    &gt;http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way&lt;/code
    &gt;&lt;/a
  &gt;&lt;/p
&gt;&lt;h4 id=&quot;problems&quot;
&gt;Problems:&lt;/h4
&gt;&lt;ul
&gt;&lt;li
  &gt;ssh git@localhost:&lt;pre&gt;&lt;code&gt;Mar 31 14:27:06 god sshd[27051]: User git not allowed because account is locked&lt;/code&gt;&lt;/pre&gt;&lt;p
    &gt;If you encounter something like this then you should update your adduser packet because it is broken. &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433639&quot;
      &gt;#433639&lt;/a
      &gt;&lt;br /&gt; Fix: change the ! in /etc/shadow in the line of your git user to *.&lt;/p
    &gt;&lt;/li
  &gt;&lt;li
  &gt;gitosis config is not updated after push:&lt;pre&gt;&lt;code&gt;chmod 755 $(readlink ~git/repositories/gitosis-admin.git/hooks/post-update)&lt;/code&gt;&lt;/pre&gt;&lt;p
    &gt;The post-update hook is not executable and is a link on debian (&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473613&quot;
      &gt;#473613&lt;/a
      &gt;), the above should temporarily fix this.&lt;/p
    &gt;&lt;/li
  &gt;&lt;/ul
&gt; 
    </content:encoded>

    <pubDate>Mon, 31 Mar 2008 20:09:18 +0200</pubDate>
    <guid isPermaLink="false">http://gebi.supersized.org/archives/4-guid.html</guid>
    
</item>

</channel>
</rss>