From 4a46cd6e22789457958ce46f9617a478f02f176a Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Wed, 10 Apr 2024 16:11:26 +0100 Subject: [PATCH 1/2] Fix repository pagination --- cloudsmith_cli/cli/commands/repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudsmith_cli/cli/commands/repos.py b/cloudsmith_cli/cli/commands/repos.py index dc9f291..cab9bfd 100644 --- a/cloudsmith_cli/cli/commands/repos.py +++ b/cloudsmith_cli/cli/commands/repos.py @@ -127,7 +127,7 @@ def get(ctx, opts, owner_repo, page, page_size): if utils.maybe_print_as_json(opts, repos_, page_info): return - print_repositories(opts=opts, data=repos_, show_list_info=False) + print_repositories(opts=opts, data=repos_, show_list_info=False, page_info=page_info) @repositories.command(aliases=["new"]) From 542bd9d71dbdef61682597fc40e8c058f1c6494e Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Wed, 10 Apr 2024 16:15:58 +0100 Subject: [PATCH 2/2] black formatting --- cloudsmith_cli/cli/commands/repos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cloudsmith_cli/cli/commands/repos.py b/cloudsmith_cli/cli/commands/repos.py index cab9bfd..db11c14 100644 --- a/cloudsmith_cli/cli/commands/repos.py +++ b/cloudsmith_cli/cli/commands/repos.py @@ -127,7 +127,9 @@ def get(ctx, opts, owner_repo, page, page_size): if utils.maybe_print_as_json(opts, repos_, page_info): return - print_repositories(opts=opts, data=repos_, show_list_info=False, page_info=page_info) + print_repositories( + opts=opts, data=repos_, show_list_info=False, page_info=page_info + ) @repositories.command(aliases=["new"])