Add search modes to finder
What does this MR do?
Add search modes to the finder
:
-
SearchAll
finds all compatible files, like ingemnasium
-
SearchSingleDir
stops after detecting files in a directory, similar togemnasium-python
-
SearchSingleTree
finds compatible files in a directory tree, but ignore its siblings, like ingemnasium-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?
Changelog entry added-
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau