project group filtering is unreliable
Checklist
-
I'm using the latest version of the extension (Run glab --version)- Extension version: Current glab version: 1.44.1 (2024-07-22)
-
Operating system and version: macOS -
Gitlab.com or self-managed instance? self-managed instance -
GitLab version (if self-managed) v17.2.1-ee -
I have performed glab auth statusto check for authentication issues
Summary
The glab project argument to filter on a group sometimes returns no results for a group which definitely exists.
Environment
- OS: Darwin 23.5.0 arm64
- SHELL: /opt/homebrew/bin/fish
- TERM: xterm-256color
- GLAB: Current glab version: 1.44.1 (2024-07-22)
Other:
Steps to reproduce
$ glab project list --all -P100 -g fetch
No group matching path fetch
https://git.example.org/fetch exists and is accessible in a browser. If I run glab project list --all -P100 | grep fetch those projects will be listed, albeit only as many as happen to be included in the current page size.
I suspect this is because I am not a member of those projects as the same commands work for groups which I have direct membership in.
What is the current bug behavior?
$ glab project list -P100 -g fetch
No group matching path fetch
What is the expected correct behavior?
The projects under the fetch group should be listed.