Skip to content

no-archived filter limits result of repo list to 1000 repositories #4176

@Brend-Smits

Description

@Brend-Smits

Describe the bug

When you use the --no-archived option together with the gh repo list <organization> -L 2000 command it will overrule the Limit of 2000 and only show 1000 results.

Version: gh version 1.14.0 (2021-08-04)

Steps to reproduce the behavior

  1. Type this gh repo list Microsoft -L 2000 --no-archived
  2. See that it only returns 1000 repositories instead of 2000.
  3. Type gh repo list Microsoft -L 2000 and see that it will return 2000 repositories.

Expected vs actual behavior

Expected: gh repo list Microsoft -L 2000 --no-archived to show 2000 repositories of Microsoft that are not archived.

Actual: gh repo list Microsoft -L 2000 --no-archived shows 1000 repositories of Microsoft that are not archived, instead of 2000.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions