Modify

Opened 8 years ago

Closed 7 years ago

#5730 closed enhancement (fixed)

project filter

Reported by: anonymous Owned by: Álvaro Iradier
Priority: normal Component: SearchAllPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

this polugin is really interesting but i miss a little project filter because we have a lot of trac projects here and i don't want to search in all projects. i would like to have a filter to specify the search projects.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Álvaro Iradier

Status: newassigned

Any idea on how to filter the projects? Would it be enough to put something like:

[searchall]]
skip=True

in the trac.ini file of the projects you want to skip, and make search all plugin skip those?

comment:2 Changed 7 years ago by swiss_user2

I have about 60 Trac-Projects on a server. I have to search only 4 projects from the central project. Usefull would be a setting in the central project like this:

[searchall] project_list=test4, customer5, customer6, customer7

The other projects are ignored.

comment:3 Changed 7 years ago by Álvaro Iradier

I think I'll add both options:

[searchall]
include_list=project1, project2
exclude_list=project3
  • if include_list is defined, only projects in this list will be searched.
  • if include_list is NOT defined, but exclude_list is, all projects except those in the exclude list will be searched.
  • if none of them are defined, all projects will be searched.

comment:4 Changed 7 years ago by Álvaro Iradier

Resolution: fixed
Status: assignedclosed

(In [8117]) New options: include_projects and exclude_projects. Closes #5730

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Álvaro Iradier.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.