gitlab-search
gitlab-search copied to clipboard
FR: Subgroup search
Today i found this nice utility to help search my gitlab instance.
However there seems to be a limitation that i can only search through projects directly below a given group a
.
So i would get results from:
a / my-project
a / another project
However what i don't get is results from:
a / sub-group / awesome-project
Is this intended behaviour? I would love to see two things here:
- recursive search when specifying a group
- sub-group search (
gitlab-search -g a/b my-search-term
)
Hi @applike-ss,
Surely sounds like a great addition 👍🏻
To answer your question; it was not intended to only support search within root level groups, I just didn't have sub-groups in mind I guess.
I'll be as honest and say I'm not able to provide the implementation of this, as my hours are very limited these days sadly. I'd be more than happy to share my thoughts in a PR if anyone were able to give it a shot.
Hi @phillipj, I'm creating https://github.com/phillipj/gitlab-search/pull/37 to enable this feature, kindly review. Thanks