Skip to content

Add search modes to finder

Fabien Catteau requested to merge 263441-finder-opts into master

What does this MR do?

Add search modes to the finder:

  • SearchAll finds all compatible files, like in gemnasium
  • SearchSingleDir stops after detecting files in a directory, similar to gemnasium-python
  • SearchSingleTree finds compatible files in a directory tree, but ignore its siblings, like in gemnasium-maven

SearchSingleDir is not totally like in gemnasium-python because it can technical find multiple files in the same directory. That said, this difference will no longer exist after integrating detect into the finder, because detect returns no more than one project of a given type (like Python) for a given directory.

What are the relevant issue numbers?

gitlab-org/gitlab#263441 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports