<?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>DevOnLinux &#187; trac</title>
	<atom:link href="http://blog.devonlinux.net/tag/trac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.devonlinux.net</link>
	<description>ICT solutions that work</description>
	<lastBuildDate>Mon, 07 Feb 2011 11:09:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Use Eclipse with Mylyn and Trac via TracXMLRPC</title>
		<link>http://blog.devonlinux.net/2009/04/14/use-eclipse-with-mylyn-and-trac-via-tracxmlrpc/</link>
		<comments>http://blog.devonlinux.net/2009/04/14/use-eclipse-with-mylyn-and-trac-via-tracxmlrpc/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 14:09:04 +0000</pubDate>
		<dc:creator>ed0t</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[bug tracking]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mylyn]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://blog.devonlinux.net/?p=47</guid>
		<description><![CDATA[Today i&#8217;ve decided to add to my Eclipse IDE the Mylyn plugin, an add-on that lets manage bugs and planning of a project inside the IDE itself. Mylyn can be used with a lot of bug tracking tools and since i use Trac i&#8217;ve decided to link them together inside Eclipse. I assume you have [...]]]></description>
			<content:encoded><![CDATA[<p>Today i&#8217;ve decided to add to my Eclipse IDE the <a title="Go to Mylyn plugin offical site" href="http://www.eclipse.org/mylyn/">Mylyn plugin</a>, an add-on that lets manage bugs and planning of a project inside the IDE itself. Mylyn can be used with a lot of bug tracking tools and since i use Trac i&#8217;ve decided to link them together inside Eclipse.</p>
<p>I assume you have <a title="Read how to install Trac on Dreamhost" href="http://blog.devonlinux.net/2008/04/21/install-trac-on-dreamhost/">installed Trac on your local server, or on your Dreamhost account</a>. To enable communication between Trac and Mylyn we have to install and enable the XmlRpcPlugin that you can download from <a title="Go to Trac-hacks plugin" href="http://trac-hacks.org/wiki/XmlRpcPlugin">trac-hacks</a>.</p>
<p>After the download, copy your plugin on the system where Trac is installed. Uncompress the archive and go to the <em>0.10</em> folder if you have Trac 0.10 or <em>trunk</em> folder otherwise.</p>
<p>Now digit these commands:</p>
<pre>chmod 755 -R *
python setup.py bdist_egg</pre>
<p>Wait until the Python egg is created and then copy it into the <em>plugins</em> directory of your Trac environment. The egg file is in the <em>dist</em> directory created during the egg building.</p>
<p>Now go into your Admin account of your Trac web interface and go to Plugins page. You&#8217;ll see a TracXMLRPC 0.1 field. Clicking on it you&#8217;ll see some component. You have to enable these components as shown in the next figure.</p>
<p><img class="aligncenter size-full wp-image-64" title="Trac XMLRPC plugin components" src="http://blog.devonlinux.net/wp-content/uploads/2009/04/trac.jpg" alt="Trac XMLRPC plugin components" width="500" height="429" align="center" /></p>
<p>Well we&#8217;ve almost done. Now we have to install Mylyn and Mylyn extras into Eclipse.</p>
<p>Start Eclipse and click on <em>Help</em> -&gt; <em>Software Updates</em>. Click on the <em>Availabe Software</em> tab. Click on <em>Add Site</em> button and paste these two &#8220;repository&#8221;:</p>
<pre>http://download.eclipse.org/tools/mylyn/update/e3.4

http://download.eclipse.org/tools/mylyn/update/extras</pre>
<p>Now select to install these features:</p>
<p><img class="aligncenter size-full wp-image-73" title="Mylyn Plugin" src="http://blog.devonlinux.net/wp-content/uploads/2009/04/mylyn.jpg" alt="Mylyn Plugin" width="411" height="414" align="center" /></p>
<p>Wait until Eclipse asks you to restart to update changes and then you&#8217;ll be able to use Mylyn with your Trac environment.</p>
<p><a class="external free" title="http://download.eclipse.org/tools/mylyn/update/extras" rel="nofollow" href="http://download.eclipse.org/tools/mylyn/update/extras"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devonlinux.net/2009/04/14/use-eclipse-with-mylyn-and-trac-via-tracxmlrpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Trac on DreamHost</title>
		<link>http://blog.devonlinux.net/2008/04/21/install-trac-on-dreamhost/</link>
		<comments>http://blog.devonlinux.net/2008/04/21/install-trac-on-dreamhost/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 21:36:10 +0000</pubDate>
		<dc:creator>ed0t</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[clearsilver]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[pysqlite]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[swig]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[virtual-python]]></category>

		<guid isPermaLink="false">http://blog.devonlinux.net/2008/04/21/install-trac-on-dreamhost/</guid>
		<description><![CDATA[Since we wanted to install Trac on our DreamHost domain we have followed the Natmaster tutorial. Anyway we came in trouble so here we describe how we have installed Trac. The proceeding is quite similar to Natmaster one, but we found some missing pieces that we describe below. Here is the list of programs that [...]]]></description>
			<content:encoded><![CDATA[<p>Since we wanted to install Trac on our DreamHost domain we have followed the <a href="http://natmaster.com/articles/installing_trac_0.10.php" title="Read the Natmaster howto">Natmaster tutorial</a>. Anyway we came in trouble so here we describe how we have installed Trac. The proceeding is quite similar to Natmaster one, but we found some missing pieces that we describe below.</p>
<p>Here is the list of programs that we have installed:</p>
<ul>
<li>virtual-python</li>
<li>Trac 0.10.4</li>
<li>Clearsilver 0.10.3</li>
<li>SQLite 3.5.2</li>
<li>PySqlite 2.3.5</li>
<li>Swig 1.3.31</li>
</ul>
<p>If you have already tried to install Trac remove all installed programs in your directory (ex: <strong>packages</strong>) and remove the other files created (ex: <strong>.pydistutils.cfg</strong>) or paths setted in <strong>.bash_profile</strong> or <strong>.bash_rc</strong>.</p>
<p>Let&#8217;s start with a new installation!<span id="more-3"></span></p>
<p>First of all we have to create in our Home folder three directories</p>
<ul>
<li>packages: the directory where we will install all programs</li>
<li>install_files: the directory in which we put downloaded tarballs</li>
<li>trac_sites:  the directory where we put all Trac environments</li>
</ul>
<p>so:</p>
<pre>
mkdir packages
mkdir install_files
mkdir trac_sites</pre>
<h3>Install Virtual-Python</h3>
<blockquote><p>If you are on a Linux, BSD, Cygwin, or other similar Unix-like operating system, but don&#8217;t have root access, you can create your own &#8220;virtual&#8221; Python installation, which uses its own library directories and some symlinks to the site-wide Python.</p></blockquote>
<ul>
<li>cd ~/install_files</li>
<li>wget http://peak.telecommunity.com/dist/virtual-python.py</li>
<li>python virtualpython.py &#8211;prefix=$HOME/packages</li>
</ul>
<h3>Install Trac</h3>
<ul>
<li>cd ~/install_files</li>
<li>wget http://ftp.edgewall.com/pub/trac/trac-0.10.4.tar.gz</li>
<li>tar zxvf trac-0.10.4.tar.gz</li>
<li>cd trac-0.10.4</li>
<li>python setup.py install &#8211;prefix=$HOME/packages</li>
</ul>
<h3>Install ClearSilver</h3>
<ul>
<li> cd ~/install_files</li>
<li> wget http://www.clearsilver.net/downloads/clearsilver-0.10.3.tar.gz</li>
<li>tar zxvf clearsilver-0.10.3.tar.gz</li>
<li>cd clearsilver-0.10.3</li>
<li> PYTHON_SITE=`~/packages/bin/python -c \<br />
&#8220;import sys; print [path for path in sys.path if path.find('site-packages') != -1][0]&#8220;` ./configure &#8211;with-python=~/packages/bin/python &#8211;prefix=$HOME/packages &#8211;disable-ruby &#8211;disable-java &#8211;disable-apache &#8211;disable-csharp &#8211;disable-perl</li>
<li>make</li>
<li>make install</li>
</ul>
<h3>Install SQLite</h3>
<ul>
<li> cd ~/install_files</li>
<li> wget http://www.sqlite.org/sqlite-3.5.2.tar.gz</li>
<li>tar zxvf sqlite-3.5.2.tar.gz</li>
<li>cd sqlite-3.5.2</li>
<li> ./configure &#8211;prefix=$HOME/packages</li>
<li>make</li>
<li>make install</li>
<li>ln -s $HOME/packages/bin/sqlite3 $HOME/packages/bin/sqlite</li>
</ul>
<h3>Install PySQLite</h3>
<ul>
<li>unlink $HOME/packages/lib/python2.3/site-packages/pysqlite2</li>
<li> cd ~/install_files</li>
<li> wget http://initd.org/pub/software/pysqlite/releases/2.3/2.3.5/pysqlite-2.3.5.tar.gz</li>
<li>tar zxvf pysqlite-2.3.5.tar.gz</li>
<li>cd pysqlite-2.3.5</li>
<li> python setup.py install &#8211;prefix=$HOME/packages</li>
</ul>
<p>The first command is an unlink. This is needed because  pysqlite is already installed on DreamHost. But with the default pysqlite the trac-admin command fails.</p>
<h3>Install SWIG</h3>
<ul>
<li> cd ~/install_files</li>
<li>wget http://dl.sourceforge.net/sourceforge/swig/swig-1.3.31.tar.gz</li>
<li>tar zxvf swig-1.3.31.tar.gz</li>
<li>cd swig-1.3.31</li>
<li> ./configure &#8211;prefix=$HOME/packages/ &#8211;with-python=/$HOME/packages/bin/python</li>
<li>make</li>
<li>make install</li>
</ul>
<p>Now we have to create a new Trac environment, but before we have to edit the .bash_profile and add this rows:</p>
<pre>
export PYTHONPATH="$HOME/packages/lib/python2.3/site-packages"
export LD_LIBRARY_PATH="$HOME/packages/lib"
export PATH="$HOME/packages/bin:$PATH"</pre>
<p>then reload the .bash_profile:</p>
<pre>source .bash_profile</pre>
<p>To create a Trac environment use this command:</p>
<pre>trac-admin $HOME/trac_sites/PROJECTNAME initenv</pre>
<p>as you can see trac_sites folder is the third directory that we have created above. Here we store all projects.  The trac-admin command asks you some questions and we it is ended a new Trac environment is set up!</p>
<p>Now follow the Natmaster tutorial beginning at <a href="http://natmaster.com/articles/installing_trac_0.10.php" title="Read the rest of the tutorial">&#8220;Make Trac Web Accessible&#8221;</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devonlinux.net/2008/04/21/install-trac-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.719 seconds -->

