<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.version-control.subversion.trac.devel">
    <title>gmane.comp.version-control.subversion.trac.devel</title>
    <link>http://blog.gmane.org/gmane.comp.version-control.subversion.trac.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7262"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7261"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7260"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7259"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7258"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7257"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7256"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7255"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7254"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7253"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7252"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7251"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7250"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7249"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7248"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7247"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7246"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7245"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7244"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7243"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7262">
    <title>[Trac-dev] Paid Plugin Development Work</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7262</link>
    <description>&lt;pre&gt;I've got a Trac plugin project over on oDesk -  
https://www.odesk.com/jobs/Create-Trac-Plugin-for-Clicky_~~ae45f3998704d6d5 should 
be a quick way to earn a few bucks for someone who knows how to create a 
Trac plugin.

&lt;/pre&gt;</description>
    <dc:creator>Wayne Allen</dc:creator>
    <dc:date>2012-05-22T19:52:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7261">
    <title>[Trac-dev] [ANN] CodeReviewer plugin</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7261</link>
    <description>&lt;pre&gt;Gerrit is a great idea for a code review tool but it ended up being a poor fit for our internal (non-open source project) needs.   I've used and considered others (e.g., Crucible, Review Board, GitHub), but what I really wanted for my team was something simple, lightweight and better integrated into our existing Trac ticket workflow.   So I built this plugin:

  http://trac-hacks.org/wiki/CodeReviewerPlugin

Hope others find this useful.  Feedback welcome.

Cheers.
- Rob

&lt;/pre&gt;</description>
    <dc:creator>Rob Guttman</dc:creator>
    <dc:date>2012-05-16T12:58:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7260">
    <title>Re: [Trac-dev] Re: line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7260</link>
    <description>&lt;pre&gt;
Yes indeed, they were both missing after the server upgrade. I have
installed them, and they appeared in the filter settings. Thanks for the
heads-up!

&lt;/pre&gt;</description>
    <dc:creator>Remy Blank</dc:creator>
    <dc:date>2012-05-12T21:24:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7259">
    <title>[Trac-dev] Re: line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7259</link>
    <description>&lt;pre&gt;

Don't know when I looked last. Yes. Works again.

Thought the spambayes filter is missing now and this is the most 
important one. Also the DNS based checks are missing. Maybe spambayes and 
dns-python are not installed?

The additional checks possibilities I added seem to allow a rather good 
performance even under bad conditions. Good to know :-)


Now after it is usable again, I'll have a look again. Everything I know 
is written down on the DOC page of the plugin. Basically it is important 
to keep training up-to-date. First removing any &amp;gt;90% (negative) and any 0% 
(positive) as they don't help. The remaining ones MAY be trained as 
ham/spam. Any wrong detection SHOULD be trained.

Ciao
&lt;/pre&gt;</description>
    <dc:creator>Dirk Stöcker</dc:creator>
    <dc:date>2012-05-12T16:25:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7258">
    <title>Re: [Trac-dev] line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7258</link>
    <description>&lt;pre&gt;Thank you very much, your suggestions worked about setting the preferences.
 It took right away, and posted both the attachment and the comment.  :)

-Nelson

On Fri, May 11, 2012 at 5:16 PM, Remy Blank &amp;lt;remy.blank&amp;lt; at &amp;gt;pobox.com&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Nelson Brown</dc:creator>
    <dc:date>2012-05-12T13:50:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7257">
    <title>Re: [Trac-dev] Re: line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7257</link>
    <description>&lt;pre&gt;
Did you look recently? The admin pages have been fine for some time now.
But ok, I understand if you don't want to take care of it anymore. It
would be nice if you could at least teach someone how to manage the
filter, so that we can keep a good detection ratio.

&lt;/pre&gt;</description>
    <dc:creator>Remy Blank</dc:creator>
    <dc:date>2012-05-12T12:19:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7256">
    <title>[Trac-dev] Re: line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7256</link>
    <description>&lt;pre&gt;

As announced I don't care for TEO-Spam-Monitor for some time now. The 
admin pages are unusable due to missing CSS file delivery and the relevant 
ticket gets ignored.

Sorry, but if I should care again for it fix this issue first. Without 
care the detection ratio will slowly decrease over the time.

Ciao
&lt;/pre&gt;</description>
    <dc:creator>Dirk Stöcker</dc:creator>
    <dc:date>2012-05-12T11:52:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7255">
    <title>Re: [Trac-dev] line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7255</link>
    <description>&lt;pre&gt;Thank you, I'll try your suggestion about the preferences when I get home.
:)

-Nelson
On May 11, 2012 5:20 PM, "Remy Blank" &amp;lt;remy.blank&amp;lt; at &amp;gt;pobox.com&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Nelson Brown</dc:creator>
    <dc:date>2012-05-12T00:43:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7254">
    <title>Re: [Trac-dev] line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7254</link>
    <description>&lt;pre&gt;
Oh, and if it still doesn't work, I'll post on your behalf. But that's
only a short-term solution.

&lt;/pre&gt;</description>
    <dc:creator>Remy Blank</dc:creator>
    <dc:date>2012-05-11T21:17:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7253">
    <title>Re: [Trac-dev] line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7253</link>
    <description>&lt;pre&gt;
For some reason both StopForumSpam and BlogSpam thought your message was
spam. Your captcha verified correctly, but it wasn't enough to counter
both filters (you had a total score of 0).

You should set your name and email address in the preferences of the
site, that will give you some more positive karma, and end up at 6 (the
threshold is 3).


I'm not sure about that, I don't see a trace of the upload in the spam
monitoring. Dirk, any insights?

&lt;/pre&gt;</description>
    <dc:creator>Remy Blank</dc:creator>
    <dc:date>2012-05-11T21:16:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7252">
    <title>[Trac-dev] line numbers for code blocks and the BlogSpam module</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7252</link>
    <description>&lt;pre&gt;Hi,

  What procedures do you guys have in place to un-spam yourself?  :)

  I was working on some analysis for a bitesized ticket, because I wanted
to contribute to my first open source project.  But every time I tried to
submit something it was caught in the spam filter.  I was only given one
shot at the captchas, and I couldn't even tell if I put them in correctly
or not...  And then my IP address was cached, so what should I do?

  Specifically, I was working on http://trac.edgewall.org/ticket/3275

  I tried to also add the following image as an attachment :
http://i.imgur.com/lNBoB.jpg

  The text of my comment is below, and I kept getting the error.

Submission rejected as potential spam (StopForumSpam says this is spam
(ip), BlogSpam says content is spam (Cached from stopforumspam.com))

===================================


So this is my first crack at contributing to an open source project.  I
basically read the recommendation that you bite into a bitesized ticket and
this was the first one I saw.  So what follows is some analysis, and I'd
like to get a recommendation from anyone interested.

The current mechanism for parsing arguments to WikiProcessors is the
parse_processor_args method in trac.wiki.parser module.  These currently
get stored into {{{self.args}}} as a dictionary of key value paris in the
form of {{{processorarg=processorargvalue}}}.  So utilizing the existing
syntax for passing processor arguments, an example code block with
annotated line numbers might look like this:

!{{{#!python annotations=lineno
import something
something.somethingelse()
}}}

This currently renders (with the arguments ignored) as:

{{{#!python annotations=lineno
import something
something.somethingelse()
}}}

But with the following change to source:trunk/trac/wiki/formatter.py&amp;lt; at &amp;gt;10919
#L345

{{{
#!diff
--- formatter.py (revision 10865)
+++ formatter.py (working copy)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -321,8 +321,19 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
                                                     text)

     def _mimeview_processor(self, text):
-        return Mimeview(self.env).render(self.formatter.context,
-                                         self.name, text)
+        annotations = self.args['annotations'] \
+        if 'annotations' in self.args and \
+        self.args['annotations'] in ['lineno'] \
+        else None
+
+
+        if annotations:
+            return Mimeview(self.env).render(self.formatter.context,
+                                             self.name, text,
+                                             annotations=[annotations])
+        else:
+            return Mimeview(self.env).render(self.formatter.context,
+                                             self.name, text)
     # TODO: use convert('text/html') instead of render

     def process(self, text, in_paragraph=False):
}}}

It would render as follows (attached image):
(The spam bot prevented me from uploading the file, so here is a link on
imgur)

[http://i.imgur.com/lNBoB.jpg An example of what code blocks with annotated
line numbers can look in a wiki block with some other content around it for
context.]

So this is nice, but there are some issues with it.  The anchors need to be
provided with more context.  The line number annoatator was designed for
the display of single files, but the anchor needs to know not just the URL,
but the comment # / description # / code block # / etc.  The link to the
eighth line in the fourth code block on the fifth comment might look
something like this: #comment:5:codeblock:4:L8.  Or something shorter?
#c5:cb4:L8

This would mean analyzing the way arguments are passed around to annotator
objects, and how to provide that contextual information.  This would
increase the risk associated with the change as it would be broader.  Also,
with possible (?) changes to the WikiParser, I don't know if that is wise?
Although this is much less a parsing issue in my (limited) view, but more
of a message passing issue.

I'd be happy to start researching passing that contextual information, and
providing a patch with included tests.  Any feedback on that?

&lt;/pre&gt;</description>
    <dc:creator>Nelson Brown</dc:creator>
    <dc:date>2012-05-11T13:23:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7251">
    <title>[Trac-dev] Re: request to contribute/edgewall account</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7251</link>
    <description>&lt;pre&gt;Hi Hans-Peter,

there's a page, which explains how to contribute:
http://trac.edgewall.org/wiki/HowToContribute#CodeContributions

As far as I know, best entry point is to create some patches for
bitesized tickets (tickets, which have keyword "bitesized").

Best regards,
Franz


On 26 Apr., 08:54, Hans-Peter Locher &amp;lt;locher.hanspe...&amp;lt; at &amp;gt;googlemail.com&amp;gt;
wrote:

&lt;/pre&gt;</description>
    <dc:creator>Franz</dc:creator>
    <dc:date>2012-05-07T09:38:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7250">
    <title>Re: [Trac-dev] request to contribute/edgewall account</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7250</link>
    <description>&lt;pre&gt;Hi Christian,
I'm fine with contributing to tickets and submiting patches

( I've updated the patch for http://trac.edgewall.org/ticket/7339  )

I recognized that there are some very long running tickets,

Is there something one can do,
despite contributing patches / tickets / voting for tickets to 

get some tickets done?

Maybe some fundraising for a particular feature or stuff like that?

Best regards

Hans-Peter



 
Am 25.04.2012 um 23:09 schrieb Christian Boos:


&lt;/pre&gt;</description>
    <dc:creator>Hans-Peter Locher</dc:creator>
    <dc:date>2012-04-26T06:54:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7249">
    <title>Re: [Trac-dev] request to contribute/edgewall account</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7249</link>
    <description>&lt;pre&gt;Hello Hans-Peter,

On 4/25/2012 10:24 AM, mrsavage wrote:

You're more than welcome! These days, there's not much activity on the 
Trac-dev mailing list, but don't worry, there's always something 
interesting happening on the t.e.o Trac itself.

We're currently slowly but surely shaping trunk to become 0.13 (err, 
1.0), so there's a lot of polishing and finishing touches to do.

If you have any general question, or anything else to discuss, don't 
hesitate to engage a discussion on this mailing list.


Well, the current policy is that only the committers have an account 
there. The usual graduation path leading to being a committer is to 
contribute some interesting patches and show some commitment to the 
project. IOW, just start hacking away ;-)

&lt;/pre&gt;</description>
    <dc:creator>Christian Boos</dc:creator>
    <dc:date>2012-04-25T21:09:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7248">
    <title>[Trac-dev] request to contribute/edgewall account</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7248</link>
    <description>&lt;pre&gt;Hi Trac Team,
first of all - trac is awesome, thank's to all involved developers.

I'm a software developer developing trac based web applications since
1,5 years.
We 're using trac much inside the company I work for (http://
www.inquant.de).
I'm coding python since 4 years, mostly Plone, lately more trac and
some django.

I like to contribute (tickets / patches maybe more in the future) to
trac.

Would you grant me an account (mrsavage) on trac.edgewall.org
I couldn't find any "join-form" on the site.

Best regards

Hans-Peter Locher

github: mrsavage
irc: mr_savage

&lt;/pre&gt;</description>
    <dc:creator>mrsavage</dc:creator>
    <dc:date>2012-04-25T08:24:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7247">
    <title>[Trac-dev] Re: SubversionException "SQLite is required to be compiled and run in thread-safe mode"</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7247</link>
    <description>&lt;pre&gt;
Although in your case the problem is not with mod_dav_svn the same
solution should work for you, compiling PHP with an external sqlite
(threadsafe compiled) should work. If when you disable php works, then
it seems that the issue you are finding is very similar to the one we
found.

Other things you could try/investigate:
- If you are getting the error when you are trying to execute any
specific action (not when starting a apache) you may try to configure
which environment is loaded from your wsgi script (I'm not sure it
will work though)
- Another option that may work could be to compile subversion
statically
- Try BitNami Trac stack :) it uses it own environment (Apache with
mod_wsgi, python 2.6.5, subversion and Trac 0.12 and will not
interfere with your current environment)


&lt;/pre&gt;</description>
    <dc:creator>victoria</dc:creator>
    <dc:date>2012-04-18T14:08:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7246">
    <title>[Trac-dev] Re: SubversionException "SQLite is required to be compiled and run in thread-safe mode"</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7246</link>
    <description>&lt;pre&gt;I don't think I'm using mod_dav_svn or mod_authz_svn, and the error happens 
even if I move  libphp5  to the very end of the module list, 
because of the lazy (dynamically loaded) nature of python dependencies (I'm 
using WSGI)

So I don't see an option other than either compiling apache by myself, or 
turning off php.

On Monday, April 16, 2012 11:29:45 AM UTC+3, victoria wrote:
On Monday, April 16, 2012 11:29:45 AM UTC+3, victoria wrote:

&lt;/pre&gt;</description>
    <dc:creator>yoni shalom</dc:creator>
    <dc:date>2012-04-17T06:21:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7245">
    <title>[Trac-dev] Re: SubversionException "SQLite is required to be compiled and run in thread-safe mode"</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7245</link>
    <description>&lt;pre&gt;

On Apr 15, 11:00 pm, yoni shalom &amp;lt;silve...&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

In BitNami we found that in our BitNami Subversion Stack. The problem
is that Apache is loading the implementation of libsqlite included in
libphp5 which conflicts with subversion.

One (easiest) solution is to load the apache php module after the
mod_dav_svn and mod_authz_svn modules in apache (http://
answers.bitnami.org/questions/1951/sqlite-is-required-to-be-compiled-
and-run-in-thread-safe-mode).

The other solution is to compile apache yourself running the configure
script with the options --with-pdo_sqlite=/path/to/sqlite --with-
sqlite3=/path/to/sqlite

&lt;/pre&gt;</description>
    <dc:creator>victoria</dc:creator>
    <dc:date>2012-04-16T08:29:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7244">
    <title>[Trac-dev] SubversionException "SQLite is required to be compiled and run in thread-safe mode"</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7244</link>
    <description>&lt;pre&gt;Hi, 
after a long while trying to debug this, it seems like php5 is making 
new subversion installs not able to talk to trac repository browser. 

see : http://www.snowbotic.com/archives/61 regarding dav_svn, which 
seems to have a similar problem. 

The problem looks like it relates to php5 and libsvn where php5's 
bundled sqlite library has a version that doesn't work with newer 
subversion repo's, and it gets loaded before the one python tries to 
load dynamically via its swig interface. 

I'm not sure this is actually the case, just that as a fact when I 
disable the php5 module in my apache, the problem goes away. 

Ideas ?

&lt;/pre&gt;</description>
    <dc:creator>yoni shalom</dc:creator>
    <dc:date>2012-04-15T21:00:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7243">
    <title>[Trac-dev] genshi can't select xpath element based on its contents</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7243</link>
    <description>&lt;pre&gt;cross-posting http://genshi.edgewall.org/ticket/521

 While customizing my Trac installation, I ran across a particularly sticky 
problem: it does not seem possible to use the contains() xpath function in 
genshi in a way that allows conditionally selecting an element based on its 
contents. 

The particular example are labels in the change history for Trac. These are 
inside strong tags, but have no tag metadata to use for the xpath selector, 
so matching on the contents of the strong tag is the only way to alter the 
ones I want. 

The non-working code that I believe should work: 

{{{#!html 

 &amp;lt;!-- 

 Rewrite labels in the change history. This is busted but *should* work The 
error I get is: 

 File 
"/usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg/genshi/path.py", 

 line 932, in as_float return float(as_scalar(value)) ValueError?&amp;lt;http://genshi.edgewall.org/wiki/ValueError&amp;gt;: 
invalid literal for float(): . 

  --&amp;gt; 

 &amp;lt;strong py:match="ul[&amp;lt; at &amp;gt;class='changes']/li/strong[contains(.,'Reporter')]" 

 py:attrs="select('&amp;lt; at &amp;gt;*')"&amp;gt; 

 Champion: 

 &amp;lt;/strong&amp;gt; 

 }}} 

Also tried *text()* instead of *.* in contains(), that also errors out. 

Here is the code I finally got to work, after literally hours of screwing 
around and research: 

{{{#!html 

 &amp;lt;!-- 

 Rewrite labels in the change history. 

  --&amp;gt; 

 &amp;lt;strong py:match="ul[&amp;lt; at &amp;gt;class='changes']/li/strong" 

 py:attrs="select('&amp;lt; at &amp;gt;*')"&amp;gt; 

 &amp;lt;py:with vars="text=select('text()').render();"&amp;gt; 

 &amp;lt;py:choose test="text"&amp;gt; 

 &amp;lt;py:when test="'Owner'"&amp;gt;Liaison&amp;lt;/py:when&amp;gt; &amp;lt;py:when 
test="'Reporter'"&amp;gt;Champion&amp;lt;/py:when&amp;gt; &amp;lt;py:when 
test="'Milestone'"&amp;gt;Target&amp;lt;/py:when&amp;gt; &amp;lt;py:otherwise&amp;gt;$text&amp;lt;/py:otherwise&amp;gt; 

 &amp;lt;/py:choose&amp;gt; 

 &amp;lt;/py:with&amp;gt; 

 &amp;lt;/strong&amp;gt; 

 }}} 

If I hadn't eventually realized that select() is represented as a stream 
instead of a string, I never would have gotten this working, either. 
Thankfully the documentation at 
http://genshi.edgewall.org/wiki/Documentation/0.5.x/streams.html#serializationprovided me with the render() method so I could finally compare strings in 
py:choose. 

I'd like to strongly advocate that contains() be fixed to work properly, as 
it shouldn't be necessary to jump through all these hoops in order to match 
on an element's contents. 

&lt;/pre&gt;</description>
    <dc:creator>Chad Phillips</dc:creator>
    <dc:date>2012-04-15T08:25:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7242">
    <title>[Trac-dev] Re: Trac-Upgrade: Error while deleting old attachments directory</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.subversion.trac.devel/7242</link>
    <description>&lt;pre&gt;Found out that I just have to delete attachments folder manually, as
commented in http://trac.edgewall.org/ticket/10313#comment:57

&lt;/pre&gt;</description>
    <dc:creator>Franz</dc:creator>
    <dc:date>2012-04-13T07:03:32</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.version-control.subversion.trac.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.version-control.subversion.trac.devel</link>
  </textinput>
</rdf:RDF>

