RFE: support Boolean operations in lastcomment

Bug #139134 reported by Markus Korn
4
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Wishlist
Unassigned

Bug Description

The current syntax of the lastcomment option is like: --lc="u:thekorn d:2007-01-01"
This matches bugs where thekorn wrote the last comment OR the last comment was made before 2007-01-01
It would be nice if this option could also consider an AND operation.

my suggested syntax:
 * OR:
    --lc="u:thekorn|d:2007-01-01"
    --lc="u:thekorn d:2007-01-01" (allows old syntax)

 * AND:
    --lc="u:thekorn&d:2007-01-01"

What does everyone else think?

Markus

Markus Korn (thekorn)
Changed in bughelper:
importance: Undecided → Wishlist
Revision history for this message
Brian Murray (brian-murray) wrote :

That looks good to me.

Revision history for this message
Markus Korn (thekorn) wrote :

This patch against py-lp-bugs main r52 adds the described behavior to the lastcomment filter.

Markus

Changed in bughelper:
status: New → Fix Committed
Revision history for this message
Markus Korn (thekorn) wrote :

python-launchpad-bugs (0.2.15) gutsy; urgency=low

 * launchpadbugs/buglist_filter.py: changed lastcomment syntax in
   buglist_filter, added optional AND/OR arguments (LP: #139134)

  -- Markus Korn <email address hidden> Thu, 13 Sep 2007 11:12:28 +0200

Changed in bughelper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.