Modify

Ticket #262 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

changelog find: fix for multiple search terms

Reported by: tim@… Owned by: thomas
Priority: minor Milestone: 0.2.6
Component: moap Version: TRUNK
Keywords: Cc:

Description

Currently, the changelog find command merges multiple search terms into one single merge term separated by white spaces, ie.

moap changelog find typefind theora

looks for the substring 'typefind theora' instead of the words typefind and theora both appearing in the Changelog entry. This is not really useful IMHO, it would be much better if it searched for all strings independently.

Attaching patch with test case.

Attachments

moap-fix-changelog-find-multiple-strings-1.diff Download (5.6 KB) - added by tim@… 6 years ago.
fix changelog find with multiple search terms

Change History

Changed 6 years ago by tim@…

fix changelog find with multiple search terms

comment:1 Changed 6 years ago by thomas

  • Status changed from new to closed
  • Resolution set to fixed

(In [307]) patch by: Tim Philipp-M?\195?\188ller <t.i.m at zen.co.uk>

  • moap/command/cl.py:
  • moap/test/test_commands_cl.py: Make moap changelog find take and'd arguments. Fixes #262.
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.