Skip to content

Support for reverse search terms

Dirk HOFFMANN requested to merge github/fork/alexhayes/master into master

Created by: alexhayes

I've created hamster-trac-syncr which provides the ability to sync Hamster activity to Trac.

In doing this I needed to add the ability to reverse the search terms for GetFacts and thus in the installation instructions I've noted that users need to use my fork of hamster however, obviously, it would be much better if users didn't have to do this and this functionality existed in upstream.

This pull request adds the ability to reverse the search terms however I'd be happy to modify hamster-trac-syncr if you know of a better way to do a reverse match? Currently I do the following (as taken from hamstertracsyncr/init.py#L52)

for fact in storage.get_facts(start, end, TAG_SEARCH, True):
    ...

Thoughts?

Merge request reports

Loading