Bug: Org-Listing limit ignored if >50 #643

Open
opened 2024-04-09 16:00:19 +00:00 by gratinierer · 1 comment

describe your environment

  • tea version used (tea -v): 0.9.2
  • Gitea version used:
    • the issue only occurred after updating gitea recently
  • operating system: linux
  • I make use of...
    • non-standard default branch names (no main,master, or trunk)
    • .ssh/config or .gitconfig host aliases in my git remotes
    • ssh_agent or similar
    • non-standard ports for gitea and/or ssh
    • something else that's likely to interact badly with tea: ...

describe the issue (observed vs expected behaviour)

I have about 70 organizations in my gitea-installation.

tea org list --limit=999

lists only the first 50 organizations.

I would expect to see more than 50 organizations on the first page.

### describe your environment - tea version used (`tea -v`): 0.9.2 - [ ] I also reproduced the issue [with the latest master build](https://dl.gitea.com/tea/main/) - Gitea version used: - [ ] the issue only occurred after updating gitea recently - operating system: linux - I make use of... - [ ] non-standard default branch names (no `main`,`master`, or `trunk`) - [ ] .ssh/config or .gitconfig host aliases in my git remotes - [ ] ssh_agent or similar - [ ] non-standard ports for gitea and/or ssh - [ ] something else that's likely to interact badly with tea: ... ### describe the issue (observed vs expected behaviour) I have about 70 organizations in my gitea-installation. ``` tea org list --limit=999 ``` lists only the first 50 organizations. I would expect to see more than 50 organizations on the first page.
gratinierer added the
kind/bug
label 2024-04-09 16:00:19 +00:00
lunny added
status/needs-feedback
and removed
kind/bug
labels 2024-04-11 02:55:24 +00:00
Owner

It's not a bug. There is a MaxResponseItems on the Gitea side which is 50 by default.

It's not a bug. There is a `MaxResponseItems` on the Gitea side which is 50 by default.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#643
No description provided.