Modify

Opened 5 years ago

Closed 4 years ago

#5730 closed enhancement (fixed)

project filter

Reported by: anonymous Owned by: airadier
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 4 years ago by airadier

  • Status changed from new to assigned

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 4 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 4 years ago by airadier

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 4 years ago by airadier

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

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from airadier. Next status will be '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.