<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://build2be.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>build2be/com/e - subversion</title>
 <link>https://build2be.com/category/subversion</link>
 <description></description>
 <language>en</language>
<item>
 <title>Manage your sites with svn externals</title>
 <link>https://build2be.com/content/manage-your-sites-svn-externals</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;After having worked with subversion for a while I finally got time to restructure my repository layouts. What I want is a simple way to update all the sites I maintain and I want those sites under version control.
&lt;h2&gt;Steps I took&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Make a drupal core repository&lt;/li&gt;
&lt;li&gt;Create your project repository&lt;/li&gt;
&lt;li&gt;Reference to the drupal core&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Directory layout&lt;/h2&gt;
In order to get a nice update-able &lt;em&gt;project&lt;/em&gt; directory tree we choose a layout listed below.
&lt;dl&gt;
&lt;dt&gt;www/&lt;/dt&gt;&lt;dd&gt;This contains &lt;em&gt;only&lt;/em&gt; drupal core code will live.&lt;/dd&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 04 Nov 2009 11:45:48 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">99 at https://build2be.com</guid>
 <comments>https://build2be.com/content/manage-your-sites-svn-externals#comments</comments>
</item>
<item>
 <title>Subversion setup with apache</title>
 <link>https://build2be.com/content/subversion-setup-apache</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Setting up an apache based subversion needs a little more work then doing it with a plain or svnserve setup.&lt;/p&gt;
&lt;p&gt;My steps are described here and executed on two computers.&lt;/p&gt;
&lt;p&gt;Create your repository&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;# the switch --fs-type fsfs is the default 
# but I was a little worried of getting the bdb file system
svnadmin create --fs-type fsfs demo&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Make sure apache is capable of reading the repo and other cannot&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;# /var/lib/svn is owned by root so let www-data (apache) access the repos dir.
chmod o+rx /var/lib/svn
chmod -R o-rwx demo
chown -R www-data:www-data demo&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Next create your authorization file by adding users with MD5 passwords&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;htpasswd -mc /etc/svn-auth-file clemens
htpasswd -m /etc/svn-auth-file test&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Install and configure the modules needed for apache. On ubuntu the modules are enabled automatically.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;apt-get libapache2-svn
# a2enmod dav_svn dav&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Next make a svn repository available through the web&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;VirtualHost svn.build2be.com:80&amp;gt;
&amp;nbsp; ServerAdmin &lt;a href=&quot;mailto:webmaster@nowhere.abc&quot;&gt;webmaster@nowhere.abc&lt;/a&gt;

&amp;nbsp; &amp;lt;Location /repos&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DAV svn
&amp;nbsp;&amp;nbsp;&amp;nbsp; SVNPath /var/lib/svn/apache
&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthType Basic
&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthName &quot;Subversion repository&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthUserFile /etc/svn-auth-file
&amp;nbsp;&amp;nbsp;&amp;nbsp; Require valid-user
&amp;nbsp; &amp;lt;/Location&amp;gt;

 ErrorLog /home/demo/log/svn_error.log

&amp;nbsp; # Possible values include: debug, info, notice, warn, error, crit,
&amp;nbsp; # alert, emerg.
&amp;nbsp; LogLevel warn

&amp;nbsp; CustomLog /home/demo/log/svn_access.log combined
&amp;nbsp; ServerSignature On
&amp;lt;/VirtualHost&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-4 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;free form:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/category/apache&quot;&gt;apache&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/category/setup&quot;&gt;setup&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/category/subversion&quot;&gt;subversion&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 21 Jan 2009 11:20:26 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">74 at https://build2be.com</guid>
 <comments>https://build2be.com/content/subversion-setup-apache#comments</comments>
</item>
<item>
 <title>subversion</title>
 <link>https://build2be.com/content/subversion</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;These pages describe my interpretation of a subversion setup.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-4 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;free form:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/category/server&quot;&gt;server&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/category/setup&quot;&gt;setup&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/category/subversion&quot;&gt;subversion&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 21 Jan 2009 11:19:05 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">73 at https://build2be.com</guid>
 <comments>https://build2be.com/content/subversion#comments</comments>
</item>
</channel>
</rss>
