The Third Bear

Just Right.

Posts about trac

Trac MultiRepoSearch plugin v0.6 released — by egj in trac , opensource

Version 0.6 of MultiRepoSearchPlugin for Trac has been released.  The plugin is now faster and more robust than ever before!  An sdist can be downloaded from PyPI or with `pip install`/`easy_install trac-MultiRepoSearchPlugin`.

MultiRepoSearchPlugin allows you to perform full-text searches on your re…

Integrating Trac and Gitolite: Using Postgres — by egj in trac , gitolite , sysadmin

Now that the basics are set up and confirmed working, let's create a new Trac environment using postgres instead of sqlite.

You should already have the necessary system packages (python-dev, postgres and libpq-dev) installed.

Getting Permissions Right, Part 2: The Postgres Database

We need to create a …

Integrating Trac and Gitolite: Round One — by egj in trac , gitolite , sysadmin

We're now going to set up the core integration between Trac and Gitolite, including:

  • Gitolite post-receive hooks to notify Trac of new commits
  • Trac components to update or close tickets when commit messages like "Fixes #1" are pushed to the git server
  • Trac Repository Browser for git repositories

Trac and Gitolite: System Setup — by egj in trac , gitolite , sysadmin

First we install some packages:

Installing and Integrating Trac and Gitolite — by egj in trac , gitolite , sysadmin

In a series of posts I'll detail how I install Trac and Gitolite using:

  • Trac 1.0
  • Gitolite v3
  • Ubuntu 12.04 LTS
  • Python 2.7.3
  • Postgres 9.1 for Trac's database
  • Apache 2.2.22 (Ubuntu) with mod_wsgi 3.3

The resulting system will have Trac running at `` and Git repositories available to clone f…

Triggering Trac emails based on workflow actions — by egj in trac , opensource

I've released a new (BSD licensed) plugin on Trac Hacks.  WorkflowNotificationPlugin enables configurable email notifications tied to ticket workflow events.  For example, you could set up one email notification to be sent out when the "resolve" action is taken, and a different email notification to…

Managing Gitolite through Trac's web admin — by egj in trac , opensource , gitolite

I've released a new BSD-licensed Trac plugin, GitolitePlugin.  This plugin provides two-way integration between Trac and Gitolite.  A permission policy causes Trac's Repository Browser to respect repository "read" permissions as specified in your Gitolite configuration, and three new admin panels al…

Adding avatars for your Trac users — by egj in trac , opensource

I've released a new BSD-licensed Trac plugin, UserPicturesPlugin.   It displays user-specific icons wherever users are referenced in a typical Trac installation: the timeline, ticket reporters and owners, comments, reports and queries, search results, wiki history, source/browser/changeset views, an…

Writing Genshi macros in Trac wiki pages — by egj in trac , opensource

(5/6/2012) UPDATE: Remy Blank has provided some security advice about GenshiMacro.  "Genshi templates allow executing arbitrary Python code. So you basically give users who can insert the macro anywhere (wiki page, ticket comment, etc) permission to act as the user running Trac, including running ru…

Trac plugins for cloning tickets and searching repositories — by egj in trac , opensource

I've released two new Trac plugins to Trac Hacks, PyPI and Github.

MultiRepoSearch allows you to perform full-text searches on your repositories' source code from within Trac.  It is based heavily on RepoSearchPlugin by Alec Thomas and Ryan Ollos but with enough significant differences that a new plu…

WANDisco's Apache Bloodhound is a bad idea — by egj in trac

I posted the following to the Apache Incubator mailing list yesterday, to explain my objections to WANDisco's Bloodhound project being incubated by Apache.  I would love to see a new Trac distribution sponsored by a company with direct financial stakes in its success, with goals like updating Trac's…