<?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>Frozentux &#187; trac</title>
	<atom:link href="http://www.frozentux.net/tag/trac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozentux.net</link>
	<description>Yet another site</description>
	<lastBuildDate>Thu, 13 Oct 2011 19:37:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Work? What work?</title>
		<link>http://www.frozentux.net/2009/01/work-what-work/</link>
		<comments>http://www.frozentux.net/2009/01/work-what-work/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 09:49:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=198</guid>
		<description><![CDATA[So, just a brief update. I&#8217;ve recently (a few months back *cough*) taken over our Linux &#8220;education&#8221; group at work, and it&#8217;s interesting. The sad part is, we mostly only see people who already knows what Linux is as we&#8217;re working internally in a world where most people are rather Computer savvy as it is. [...]]]></description>
			<content:encoded><![CDATA[<p>So, just a brief update. I&#8217;ve recently (a few months back *cough*) taken over our Linux &#8220;education&#8221; group at work, and it&#8217;s interesting. The sad part is, we mostly only see people who already knows what Linux is as we&#8217;re working internally in a world where most people are rather Computer savvy as it is. It&#8217;s given me a few new viewing angles though, and I&#8217;ll get back to that at a later point.</p>
<p>Currently working on some Trac guidelines for our Change Management process as well. Working from home today to actually get something done with it, as most of the days I wind up getting too many disturbing calls, talks and discussions to be very efficient. Our first two tries at making a decent workflow winded up a bit messy, and I think we really must get this down properly this time.</p>
<p>There are some other things I react on, and want to fix, for example, as it looks now, every single project sets up their own bugtracking/ticketsystem, and every project uses a different system (trac, mantis, clearcase, dimensions, etc). Preferably, this should be centralized in some fashion, and if possible I&#8217;d love to get a bit more homogenized environment. As it is, I try to tell people &#8220;look, here&#8217;s a system for handling your day to day tasks, use it!&#8221;. First time, the workflow got overly complex, second shot was also overly complex, and people where put off by all the choices and steps to take. This problem mainly stems from project/change management criterion.</p>
<p>My latest and greatest (yeah yeah) workflow should alleviate some of these problems by making some of the choices less visible to normal users. Ie, we have one task management system and a problem and change management system baked into one, but normal users (programmers) only use the task management system, while the project manager, tech project manager and CM also have the ability to handle problems and changes in separate workflows.</p>
<p>We&#8217;re also adding the ability to have supertickets, where a single problem report can contain several tasks. This is a pseudo development so far, as we&#8217;re not actually adding the whole deal right now, we&#8217;re just adding the idea of it, not bounds checking or views/reports of it. Basically, every ticket can have a superticket (we add a numeric field to the ticket), which can point to another ticket, which is the &#8220;parent&#8221; ticket. This makes it possible to handle a large and complex bug in several smaller tickets. Anyways, the idea is there, but it&#8217;s not fully implemented. If our management likes it, and the others like it, we could implement it for future usage. I&#8217;m worried it&#8217;s too complex however. At the same time, one complex system might be better than 6 alltogether different systems as it allows for longer time to learn? Kind of like&#8230; well, unix for example. Once you find ls, its a darn good bit faster than having to click your way through a whole heap of paths to find the specified file list.</p>
<p>At the same time, both me and PM are a bit tired of Trac&#8217;s shortcomings, maybe change to Mantis for example? My general thought to this however is, we need to stick it out i&#8217;m afraid&#8230; one more system will just make the normal user less interested in the new tool and hence taking even longer to learn. As it is, people use it at a bare minimum cause they dont know it, give them time to learn it properly, and they might come to like it. Comments on this line of thinking?</p>
<p>For now, tata. Back to writing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2009/01/work-what-work/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trac on separate server from subversion</title>
		<link>http://www.frozentux.net/2008/09/trac-on-separate-server-from-subversion/</link>
		<comments>http://www.frozentux.net/2008/09/trac-on-separate-server-from-subversion/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 17:24:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=183</guid>
		<description><![CDATA[It is possible to have Trac on a different server than the subversion server, albeit a bit convoluted. This is slightly stolen note from http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html Set up the master subversion server as you would normally. We will get back to this one. On the trac server, install subversion etc as well. This server will rely [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong>
<div> </div>
<div>It is possible to have Trac on a different server than the subversion server, albeit a bit convoluted. This is slightly stolen note from <a href="http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html">http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html</a></p>
</div>
<div> </div>
<div>Set up the <strong>master subversion server</strong> as you would normally. We will get back to this one.</p>
</div>
<div> </div>
<div>On the trac server, install subversion etc as well. This server will rely on <strong>svnsync</strong> to become a secondary/<strong>mirror subversion server</strong>. It must not be used for checking in or working against, it is purely a repository for reading.</p>
</div>
<div> </div>
<div><strong>Set up trac and all other tools</strong> required on the mirror server.</p>
</div>
<div> </div>
<div>Now, you need to <strong>set up user accounts on the mirror server</strong>. To start with, create the mirror subversion repository, it will be empty to begin with:</p>
</div>
<div> </div>
<div><em>svnadmin create MIRROR_REPOS_PATH</p>
<p></em></div>
<div> </div>
<div>After that, <strong>create authz authentication files for the repositories</strong> to stop anyone from writing/working against the mirror repository, such as the following:</p>
</div>
<div> </div>
<div><em>[/]</em></div>
<div><em>* = r</em></div>
<div><em>svnsync = rw</p>
<p></em></div>
<div> </div>
<div>You could extend this by writing hook scripts blocking anything but the svnsync user.</p>
</div>
<div> </div>
<div>If the master subversion repository is live while adding the trac database, <strong>all of the following must be done during server maintenance window</strong> (ie, close it down from any kind of access, except the mirror machine).</p>
</div>
<div> </div>
<div>Once all that is done, its time to <strong>initialize the the mirror server</strong> with the master subversion repository (ie, move over the data).</p>
</div>
<div> </div>
<div><em><span style="font-family:monospace;">svnsync initialize URL_TO_MIRROR_REPO URL_TO_MASTER_REPO &#8211;username=svnsync &#8211;password=svnsyncpassword</p>
<p></span></em></div>
<div> </div>
<div>And once that has successfully been done, do as follows:</p>
</div>
<div> </div>
<div><em><span style="font-family:monospace;">svnsync synchronize URL_TO_MIRROR_REPO &#8211;username=svnsync &#8211;password=svnsyncpassword</p>
<p></span></em></div>
<div> </div>
<div>The final step is to either add a <strong>scheduler (cron.d) script, or a post-commit hook</strong> script running the following:</p>
</div>
<div> </div>
<div><em><span style="font-family:monospace;"># Example for synchronizing one repository from the post-commit hook<br />#!/bin/sh<br />SVNSYNC=/usr/local/bin/svnsync<br />$SVNSYNC synchronize URL_TO_MIRROR_REPO &#8211;username=svnsync &#8211;password=svnsyncpassword &amp;<br />exit 0</p>
<p></span></em></div>
<div> </div>
<div>Preferably run it from post-commit as it gives better refresh rate.</p>
</div>
<div> </div>
<div><strong><em>You can now run the trac against the mirrored subversion server.</em></strong></div>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/trac-on-separate-server-from-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trac on windows</title>
		<link>http://www.frozentux.net/2008/09/trac-on-windows/</link>
		<comments>http://www.frozentux.net/2008/09/trac-on-windows/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:55:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=182</guid>
		<description><![CDATA[Trac is a rightfull bitch to install on win32 as it requires very specific version matching of packages. This is a long winded installation note with the more or less latest versions available as of this writing. I&#8217;m hoping to get working on TortoiseSVN and Trac integration once this is done (ie, make tortoise automatically [...]]]></description>
			<content:encoded><![CDATA[<p>Trac is a rightfull bitch to install on win32 as it requires <em>very specific version matching</em> of packages. This is a long winded installation note with the more or less latest versions available as of this writing.</p>
<p>I&#8217;m hoping to get working on TortoiseSVN and Trac integration once this is done (ie, make tortoise automatically set variables etc sent in change notes, which can hence update the issue tracking systems in trac and so forth. The way of working is really really sweet imho, and I think it could be a really nice way of working. I&#8217;m just sad that I have to set all this serverstuff up on windows though.</p>
<p>Let&#8217;s begin with a list of all the installation files used:</p>
<div><strong>python-2.5.2.msi</strong></div>
<div><strong>setuptools-0.6c8.win32-py2.5.exe</strong></div>
<div><strong>py25-pysvn-svn150-1.6.0-975.exe</strong></div>
<div><strong>svn-python-1.5.2.win32-py2.5.exe</strong></div>
<div><strong>Genshi-0.5.win32-py2.5.exe</strong></div>
<div><strong>Trac-0.11.win32.exe<br />
</strong></p>
<div><strong>WampServer2.0c.exe</strong></div>
<div><strong>CruiseControl-2.7.3.exe</strong></div>
<div><strong>TortoiseSVN-1.5.3.13783-win32-svn-1.5.2.msi</strong></div>
<p><strong>WampServer2-APACHE229.exe<br />
</strong><strong>svn-win32-1.5.2.zip</strong><br />
<strong>mod_python-3.3.1.win32-py2.5-Apache2.2.exe</strong></div>
<p>These packages should be fairly simple to get started with. Install them straight on, in the order mentioned.</p>
<div></div>
<div><strong>python-2.5.2.msi</strong></div>
<div><strong>setuptools-0.6c8.win32-py2.5.exe</strong></div>
<div><strong>py25-pysvn-svn150-1.6.0-975.exe</strong></div>
<div><strong>svn-python-1.5.2.win32-py2.5.exe</strong></div>
<div><strong>Genshi-0.5.win32-py2.5.exe</strong></div>
<div><strong>Trac-0.11.win32.exe<br />
</strong></div>
<div></div>
<div>Install the above packages in that order. Some errors i ran into:</div>
<h4><span style=";font-family:monospace;font-size:85%;">Unsupported version control system &#8220;svn&#8221;</span></h4>
<div>I accidentally used svn-python-1.5.0.win32-py2.5.exe. It also complained about not finding <strong>SSLEAY32.DLL</strong> which threw me off course, looking for the wrong solution.</div>
<div></div>
<div><strong><span style="font-size:130%;">Secondary applications</span></strong></div>
<div>On top of this, the following applications where installed (not yet configured/set up).</div>
<div></div>
<div><strong>WampServer2.0c.exe</strong></div>
<div><strong>CruiseControl-2.7.3.exe</strong></div>
<div><strong>TortoiseSVN-1.5.3.13783-win32-svn-1.5.2.msi</strong></p>
<p><strong></strong></div>
<div></div>
<div><strong>WampServer2-APACHE229.exe</strong></div>
<div></div>
<div><span style="color: #ff0000;">The <strong>Apache2.2.9 must be installed before svn-win32-1.5.2.zip</strong> files are, and the .so files must be put in 2.2.9 as that package will not run on Apache2.2.8. <strong>Apache 2.2.8 with svn-win32-1.5.2.zip will die silently without hint as to why it died.<br />
</strong></span><strong></strong></div>
<div></div>
<div>Once all of the above is installed, create a svn repository in <em>c:\projects\svn\test</em> (create directories, and then right click test and choose <em>TortoiseSVN -&gt; Create repository here</em>.</div>
<div></div>
<div>Now create a trac database in <em>c:\projects\trac\test\</em> by running</div>
<div></div>
<div><em>c:\python2.5\trac-admin.exe c:\projects\trac\test\ initenv</em></p>
<p><em></em></div>
<div></div>
<div>Answer the questions asked by <em>trac-admin.exe</em>. To test the trac at this point, run tracd.exe per ordinations from <em>trac-admin.exe</em>.</div>
<div></div>
<div><strong>svn-win32-1.5.2.zip</strong></div>
<div></div>
<div>Contains required files to make dav_svn work in apache2.2, edited extract on how to install:</div>
<blockquote>
<div>For an Apache server here&#8217;s the essentials:</div>
<div></div>
<div>1. Copy bin/mod_dav_svn.so and bin/mod_authz_svn.so to the Apache modules directory.</div>
<div>2. Add the Subversion/bin directory to the SYSTEM PATH.</div>
<div>3. Edit the Apache configuration file (httpd.conf) and make the following changes:</div>
<div></div>
<div>3a. Uncomment the following two lines:</div>
<div></div>
<div><strong><em> </em></strong><br />
<em> #LoadModule dav_fs_module modules/mod_dav_fs.so</em></div>
<div><em> #LoadModule dav_module modules/mod_dav.so</em></div>
<div></div>
<div>3b. Add the following two lines to the end of the LoadModule section:</div>
<div></div>
<div><em> LoadModule dav_svn_module modules/mod_dav_svn.so</em></div>
<div><em> LoadModule authz_svn_module modules/mod_authz_svn.so</em></div>
<div></div>
<div>3c. Add the following to end of the file.</div>
<div></div>
<div><em> &lt;location /svn&gt;</em></div>
<div><em> DAV svn</em></div>
<div><em> SVNPath c:\projects\svn\test</em></div>
<div><em> AuthType Basic</em></div>
<div><em> AuthName &#8220;My Subversion repository&#8221;</em></div>
<div><em> AuthUserFile &#8220;c:\projects\svn\test\conf\passwd&#8221;</em><em> Require valid-user</em></div>
<div>&lt;/location&gt;</div>
<div><em> </em></div>
</blockquote>
<div></div>
<div>Add users to passwd file above:</div>
<div></div>
<div><em>C:\wampbin\apache\apache2.2.9\bin\htpasswd.exe -b \projects\svn\test\conf\passwd myuser hejhej</em></p>
<p><em></em></div>
<div></div>
<div><strong><span style="font-size:130%;">Finally installing Trac in apache2.2</p>
<p></span></strong></div>
<div></div>
<div><strong>mod_python-3.3.1.win32-py2.5-Apache2.2.exe</strong></div>
<div></div>
<div>To run trac via apache, you need the above module for apache as well. Once this is done, add the following to modules section of apache:</div>
<div></div>
<div><em>LoadModule python_module modules/mod_python.so</em></p>
<p><em></em></div>
<div></div>
<div>To test the python installation add the following to the end of your httpd.conf:</p>
<p>&lt;location /mpinfo&gt;</p></div>
<div></div>
<div><em></em></div>
<div><em> SetHandler mod_python</em></div>
<div><em> PythonInterpreter main_interpreter</em></div>
<div><em> PythonHandler mod_python.testhandler<br />
&lt;/location&gt;</em></p>
<p><em></em></div>
<div><em></em></div>
<div></div>
<div>And if that works, test the following:</p>
<p><em>&lt;Location /trac&gt;</em></div>
<div></div>
<div><em></em></div>
<div><em> SetHandler mod_python</em></div>
<div><em> PythonInterpreter main_interpreter</em></div>
<div><em> PythonHandler trac.web.modpython_frontend</em></div>
<div><em> PythonOption TracEnv &#8220;c:/projects/trac/test/&#8221;</em></div>
<div><em> PythonOption TracUriRoot /trac<br />
</em><em>&lt;/Location&gt;</em><br />
<em><br />
</em></div>
<div><em></em></div>
<div></div>
<div><strong><span style="font-size:130%;">Further reading</span></strong></div>
<div></div>
<div><a href="http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/contrib/issue-tracker-plugins">http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/contrib/issue-tracker-plugins/</a></div>
<div><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html">http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html</a></div>
<div><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html">http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html</a></div>
<div><a href="http://trac.edgewall.org/wiki/TortoiseSvn">http://trac.edgewall.org/wiki/TortoiseSvn</a></div>
<div><a href="http://trac.edgewall.org/wiki/TracOnWindows">http://trac.edgewall.org/wiki/TracOnWindows</a></div>
<div></div>
<div><a href="http://ifdefined.com/blog/post/2007/10/BugTrackerNET-integration-with-Subversion---design-choices.aspx">http://ifdefined.com/blog/post/2007/10/BugTrackerNET-integration-with-Subversion&#8212;design-choices.aspx</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/trac-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

