zaquestion / lab

Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
https://zaquestion.github.io/lab
Creative Commons Zero v1.0 Universal
1.1k stars 103 forks source link

project list --all command option does not return all the projects anymore #843

Open soullivaneuh opened 1 year ago

soullivaneuh commented 1 year ago

Since version 0.25.0, the --all option of the project list command it not working as expected.

# Expected result, working with 0.24.0
❯ LAB_CORE_HOST="https://gitlab.com" LAB_CORE_TOKEN=${GITLAB_TOKEN} ./lab-0.24.0 project list --member --all | wc -l 
280
# Current result
❯ LAB_CORE_HOST="https://gitlab.com" LAB_CORE_TOKEN=${GITLAB_TOKEN} ./lab-0.25.0 project list --member --all | wc -l
100
henrikstroem commented 1 year ago

--number and -n has the same problem:

Expected result, working wit lab version 0.25.1

lab project list -ma --number "20" | wc -l 20

Current result

lab project list -ma --number "20" | wc -l 100

Expected result, working wit lab version 0.25.1

lab project list -ma --number "200" | wc -l 200

Current result

lab project list -ma --number "200" | wc -l 100

Expected result, working wit lab version 0.25.1

lab project list -m -a -n 20 | wc -l 20

Current result

lab project list -m -a -n 20 | wc -l 100

Expected result, working wit lab version 0.25.1

lab project list -m -a -n 200 | wc -l 200

Current result

lab project list -m -a -n 200 | wc -l 100