Simple and very much needed feature, just would like to know if it's possible to search for a particular file in GITLAB in all the repositories instead of a particular repository. There's a huge search icon on the right corner of the GITLAB which will search corresponding maching repository names BUT NOT the files.
I would like to search for a particular file through all the repositories which I have access to in GITLAB.
Please note that the GITLAB is hosted in the private domain of my organization. So googling filename:something.txt or something.txt in:path doesn't work (this was suggested by one of the user in some post for GITHUB).
Yes it's possible using Advanced Search feature by enabling Elastic Search integration.
Once that is configured you can use Advanced Syntax Search with search filters to find what you need.
For example, you could search the .gitlab-ci.yml
files of all projects for the text tags.yml
inside of it typing this in global search bar:
tags.yml filename:gitlab-ci
Another example to search abc.txt file in all repositories (ensure Group and Project dropdown menu are set to Any) :
* filename:abc.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With