<?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>Capi's Corner &#187; bugzilla</title>
	<atom:link href="http://www.dont-panic.cc/capi/tag/bugzilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dont-panic.cc/capi</link>
	<description>Development, Network, Security, Ideas &#038; Opinions</description>
	<lastBuildDate>Sat, 10 Dec 2011 19:31:21 +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>Project Management with Trac</title>
		<link>http://www.dont-panic.cc/capi/2006/08/17/project-management-with-trac/</link>
		<comments>http://www.dont-panic.cc/capi/2006/08/17/project-management-with-trac/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 20:41:49 +0000</pubDate>
		<dc:creator>Martin Carpella</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[issue-tracking]]></category>
		<category><![CDATA[project-management]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.dont-panic.cc/capi/archives/46</guid>
		<description><![CDATA[Trac is a powerful web-tool for managing projects. It combines a Wiki, trouble tickets and repository browsing into one powerful package with stunning features. All types of content can easily be interlinked, as all parts interprete the common wiki link-style. For instance, &#8220;#123&#8243; will be converted to a link to trouble ticket #123, and &#8220;r123&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://trac.edgewall.org/">Trac</a> is a powerful web-tool for managing projects. It combines a Wiki, trouble tickets and repository browsing into one powerful package with stunning features.</p>
<p><span id="more-46"></span> All types of content can easily be interlinked, as all parts interprete the common wiki link-style. For instance, &#8220;#123&#8243; will be converted to a link to trouble ticket #123, and &#8220;r123&#8243; or &#8220;[123]&#8221; will be converted to a link to the changeset (revision) 123 of the version control system. The same syntax is also interpreted for each commit entry or within the description of tickets, which provides a fast means of navigating to related ressources.</p>
<p>All information is displayed clearly in a timeline view. Changesets provide powerful and clear diff-views to show what has really been changed and the repository can be browsed for any given revision number. Any changeset can be downloaded as ZIP file, as unified diff or as individual files.</p>
<p>The trouble ticket system is not as powerful as <a href="http://www.bugzilla.org">Bugzilla</a>&#8216;s as it provides no distinction for multiple projects, but it is used more fluently and provides everything needed for a single project (regardless of size of the project).</p>
<p>A milestone view allows clear and easy planning of various releases and milestones and provides powerful progress measuring features.</p>
<p>We are currently using Trac for project management of our project. We had an existing Bugzilla database that had to be converted to Trac before we could use the tool. I used the script <a href="http://trac.edgewall.org/browser/trunk/contrib/bugzilla2trac.py?rev=3544">bugzilla2trac.py</a> (rev. 3544, but check if there is a newer version). Our Bugzilla version was 2.20, the script officially only supports upto 2.19. Still, only one minor change was needed to get the import working with the 2.20 database scheme. At line 405, change the line to read</p>
<p style="text-align: left; margin-left: 40px"><code>mysql_cur.execute("SELECT * FROM attachments a INNER JOIN attach_data ad ON ad.id=a.attach_id WHERE bug_id = %s" % bugid) </code></p>
<p>The import worked flawless, everything including attachments was imported, and (most importantly for being in-sync with our SVN commit-messages), the bug numbers where kept identical.</p>
<p>Trac at the moment only supports <a href="http://subversion.tigris.org">Subversion</a> as version control system; they are working on integrating other VCs as well. Trac needs local access to the repository, as they access the repository directly, not via HTTP. It might however be possible to use a remote repository which is mounted locally using one of the many remote-fs available.</p>
<p>Trac natively uses <a href="http://www.sqlite.org/">SQLite</a> as database backend for storing its data, official release also contains support for <a href="http://www.postgresql.org/">PostgreSQL</a> and the current development version also works with <a href="http://www.mysql.com">MySQL</a>. I am using the SQLite backend which caused litte problems:</p>
<p>Trac is written in Python, so for optimal performance it is best to use it with mod_python if you are using Apache. Be aware however, that if you also have mod_php (PHP 5) installed and mod_php/PHP is compiled with SQLite support, mod_python will not be able to read SQLite databases. <em>A recompile of PHP without SQLite support solved the issue for me.</em></p>
<p>One last word about administration of Trac. Trac provides a powerful command-line util called <em>trac-admin</em> which gives you access to various settings. You use this tool for adding permissions to users, setting up components and managing severities for tickets. Most importantly, this tool also provides a means for backing up Trac: &#8220;trac-admin &lt;repository&gt; hotcopy &lt;bak-dir&gt;&#8221; will copy the current Trac environment to the backup location, while ensuring database transaction integrity.</p>
<p>One thing I want to mention here too is the fact that one installation of Trac can be used for several independent projects. For each project, a &#8220;Trac environment&#8221; is set up using trac-admin. The databases of the individual environments are independent, but they share the same codebase, so updating Trac updates it for every existing environment.</p>
<p>Concluding I want to say that Trac is definitely worth a try, you can even quick-test it by using its own webserver, so you do not have to set up Apache for use with Trac. This is however not recommended for production use.</p>
<p>Using Trac, project management, milestone planning, issue tracking, and documentation become fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dont-panic.cc/capi/2006/08/17/project-management-with-trac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugzilla: Upgrading MySQL Database from Latin1 to UTF8</title>
		<link>http://www.dont-panic.cc/capi/2006/06/20/bugzilla-upgrading-mysql-database-from-latin1-to-utf8/</link>
		<comments>http://www.dont-panic.cc/capi/2006/06/20/bugzilla-upgrading-mysql-database-from-latin1-to-utf8/#comments</comments>
		<pubDate>Tue, 20 Jun 2006 18:56:36 +0000</pubDate>
		<dc:creator>Martin Carpella</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[charset]]></category>
		<category><![CDATA[internationalization]]></category>
		<category><![CDATA[latin1]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://www.dont-panic.cc/capi/archives/43</guid>
		<description><![CDATA[IMPORTANT Update 2009-07-09: This information is already several years old! You should not use this information for modern versions of Bugzilla (3.2 and above), which will allow you to convert to UTF-8 using checksetup.pl. In the present case, we have a Bugzilla database created with a charset of latin1. Unfortunately, now after updating MySQL to [...]]]></description>
			<content:encoded><![CDATA[<div style="border-style: dashed; border-width: 1px; margin-bottom: 14px;padding: 4px; background: #f0f0f0;"><strong>IMPORTANT Update 2009-07-09:</strong> This information is already several years old! You should not use this information for modern versions of Bugzilla (3.2 and above), which will allow you to convert to UTF-8 using checksetup.pl.</div>
<p>In the present case, we have a <a href="http://www.bugzilla.org/">Bugzilla</a> database created with a charset of latin1. Unfortunately, now after updating MySQL to 4.1, error occured when trying to assign a new developer to a bug, indicating mismatch of collations (UTF-8 vs. Latin1). This is caused by the fact that there is now latin1-data stored in an UTF-8 table.</p>
<p>The following procedure can be used to upgrade the database to UTF-8, eliminating the problem:</p>
<ol style="margin: 2em; text-align: left">
<li><code>mysqldump -p --default_character-set=latin1 --skip-set-charset bugs &gt; dump.sql</code></li>
<li><code>mysql -p --execute="DROP DATABASE bugs; CREATE DATABASE bugs CHARACTER SET utf8 COLLATE utf8_general_ci;"</code></li>
<li><code>mysql -p --default-character-set=utf8 bugs &lt; dump.sql</code></li>
<li><code>perl -pe 's/latin1_bin/utf8_general_ci/g; s/latin1/utf8/g' dump.sql &gt; dump-utf8.sql</code></li>
<li><code>mysql -p --default-character-set=utf8 bugs &lt; dump-utf8.sql</code></li>
</ol>
<p>You should of course always check if the Pearl-RegEx only replaced charset declarations and not some matches within the data.</p>
<p>Thanks to <a href="http://textsnippets.com/posts/show/84">TextSnippets</a> for the script.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dont-panic.cc/capi/2006/06/20/bugzilla-upgrading-mysql-database-from-latin1-to-utf8/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bugzilla: Active Directory Integration</title>
		<link>http://www.dont-panic.cc/capi/2005/12/12/bugzilla-active-directory-integration/</link>
		<comments>http://www.dont-panic.cc/capi/2005/12/12/bugzilla-active-directory-integration/#comments</comments>
		<pubDate>Mon, 12 Dec 2005 17:29:41 +0000</pubDate>
		<dc:creator>Martin Carpella</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[active-directory]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[single-sign-on]]></category>

		<guid isPermaLink="false">http://www.dont-panic.cc/capi/?p=25</guid>
		<description><![CDATA[As you might have guessed from previous posts, I&#8217;m currently in the process of implementing a single-sign-on scenario within our network. Or, at least, I&#8217;m trying to have at least one single username/password combo for all internal services. Authentication is therefore realized against an Active Directory, based on a Microsoft Windows 2003 Server. For integration [...]]]></description>
			<content:encoded><![CDATA[<p>As you might have guessed from previous posts, I&#8217;m currently in the process of implementing a single-sign-on scenario within our network. Or, at least, I&#8217;m trying to have at least one single username/password combo for all internal services. Authentication is therefore realized against  an Active Directory, based on a Microsoft Windows 2003 Server.</p>
<p>For integration of Bugzilla into the Active Directory, see <a href="http://bugzilla.glob.com.au/activedirectory/">this link</a> (Update: Link is broken, for an archived version, use <a href="http://web.archive.org/web/20080117060634/http://bugzilla.glob.com.au/activedirectory/">this link</a>, thanks to the commenter!).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dont-panic.cc/capi/2005/12/12/bugzilla-active-directory-integration/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

