gitlab-search icon indicating copy to clipboard operation
gitlab-search copied to clipboard

FR: Subgroup search

Open applike-ss opened this issue 2 years ago • 3 comments

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)

applike-ss avatar May 13 '22 13:05 applike-ss

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.

phillipj avatar May 23 '22 20:05 phillipj

Hi @phillipj, I'm creating https://github.com/phillipj/gitlab-search/pull/37 to enable this feature, kindly review. Thanks

aoktox avatar Nov 29 '22 13:11 aoktox