Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pagination support for subcommands in "buildtest inspect" command #1428

Merged
merged 9 commits into from
Mar 22, 2023

Conversation

prathmesh4321
Copy link
Collaborator

Hi @shahzebsiddiqui I have added pagination for buildtest inspect subcommands. I have also refactored the function inspect_list() as the terse option in it was using hardcoded column names without a color option. Please review the PR.

Screen Shot 2023-03-21 at 1 29 26 PM

Screen Shot 2023-03-21 at 1 35 12 PM

@prathmesh4321 prathmesh4321 linked an issue Mar 21, 2023 that may be closed by this pull request
7 tasks
Copy link
Member

@shahzebsiddiqui shahzebsiddiqui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks pretty good i made a few suggestions to the code-base. Please do check the code coverage to see if coverage results.

buildtest/cli/help.py Outdated Show resolved Hide resolved
buildtest/cli/inspect.py Outdated Show resolved Hide resolved
buildtest/cli/inspect.py Outdated Show resolved Hide resolved
buildtest/cli/inspect.py Outdated Show resolved Hide resolved
buildtest/cli/inspect.py Outdated Show resolved Hide resolved
buildtest/cli/inspect.py Outdated Show resolved Hide resolved
@prathmesh4321
Copy link
Collaborator Author

Overall this looks pretty good i made a few suggestions to the code-base. Please do check the code coverage to see if coverage results.

@shahzebsiddiqui Yes, I have checked the code coverage it looks good.

Copy link
Member

@shahzebsiddiqui shahzebsiddiqui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@shahzebsiddiqui shahzebsiddiqui merged commit 079eba9 into devel Mar 22, 2023
@shahzebsiddiqui shahzebsiddiqui deleted the inspect_pagination branch March 22, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: add pagination for 'buildtest inspect' command
2 participants