Enhancement #1221

allow license and copyright in search

Added by Bob Gobeille about 1 year ago. Updated about 1 month ago.

Status:In Progress Start date:02/22/2012
Priority:High Due date:
Assignee:Dong Ma % Done:

0%

Category:UI
Target version:2.3.0
Rank:2 Tester:BobG

Description

To: Martinez-DeFrain, Vicky

There isn't a way to say "show me all the files with license X and copyright Y". Our search currently lets you search by filename, tag, and file size. The request is to allow free text fields so you could say something like "show me all files with a GPL license and a copyright containing the text "foobar".

This request from Vicky is very timely as I just had the same need myself.

History

Updated by Bob Gobeille 7 months ago

  • Target version changed from 2.1.0 to 2.2.0

Updated by Bob Gobeille 7 months ago

  • Rank set to 99

Change unranked issues to rank 99 so they show up in a ranking report at the bottom. Otherwise, they show up on top.

Updated by Mary Laser 4 months ago

  • Priority changed from Normal to High
  • Rank changed from 99 to 2

Updated by Bob Gobeille 4 months ago

  • Assignee changed from Bob Gobeille to Dong Ma

Updated by Dong Ma 3 months ago

  • Status changed from New to Feedback
  • Assignee changed from Dong Ma to Bob Gobeille

1. Can not input free text
2. Add 2 search filter 'license' and 'filter'.
3. Can use these 2 filters to filter the search result

Please help test if this fix the issue.

Updated by Bob Gobeille 3 months ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Bob Gobeille to Dong Ma

Please turn on PHP Warning and Notice logging. You have many Warnings and Notices.

My first test case searched for a license "gpl" against a filename that has much "GPL". So make sure your filter is case insensitive.

The modified UI has "Choose the search filter. (Filter the search result ...". This is an implementation detail and not something the user needs to know. Thus it will just be confusing to the user. Please remove that text.

Updated by Dong Ma 3 months ago

  • Status changed from In Progress to Resolved

New fix in svn6388.

Updated by Bob Gobeille 3 months ago

  • Status changed from Resolved to Closed

Updated by Mary Laser about 1 month ago

  • Status changed from Closed to Feedback
  • Tester set to BobG

I tested this new search feature based on License & copyright today on fluffy.ostt with svn 6524.

1) please review the *tests* I've written for accuracy.

2) A search for either Containers or Files with the License set to "gpl" yields no results.

3) However, if I enter something in the filename field (I used %.tar), then the search for license works (I used gpl). Is the search by license field designed to be used in conjunction with the filename field?

4) I could not get ANY search results at all using the Copyright search filter.

Updated by Bob Gobeille about 1 month ago

  • Status changed from Feedback to In Progress

Yes, the search for copyright and license is implemented to be used in conjunction with the filename field. I don't recall why this is. At the very least the UI should be changed to make this clearer.

Updated by Bob Gobeille about 1 month ago

  • Target version changed from 2.2.0 to 2.3.0

moving to 2.3
See Vicky's original issue.
In 2.2 I'll file another issue for a stopgap solution (ie. documentation)

Also available in: Atom PDF