Skip to content

show all records with --count when set to negative value#1468

Merged
shahzebsiddiqui merged 4 commits intodevelfrom
count_option_showall_records
May 12, 2023
Merged

show all records with --count when set to negative value#1468
shahzebsiddiqui merged 4 commits intodevelfrom
count_option_showall_records

Conversation

@shahzebsiddiqui
Copy link
Member

No description provided.

…w for 0 and non-negative numbers to be passed in

refactor method for printing buildspecs by introducing new method _print_terse_format that will print buildspecs in terse format
With --count=0 we will print no records, however table headings will be displayed unless --no-header is specified.
Fix issue with assignment to terse and count where value of 0 was not accepted due to 'or' statement. Since we preferred command line value over
value in configuration file if we set `--count=0` the value was not read from command line instead it was read by configuration file since '0' is treated
as a False. Fix the logic in 'buildtest report' to mimic same behavior
@shahzebsiddiqui shahzebsiddiqui linked an issue May 12, 2023 that may be closed by this pull request
@shahzebsiddiqui shahzebsiddiqui merged commit e1696ca into devel May 12, 2023
@shahzebsiddiqui shahzebsiddiqui deleted the count_option_showall_records branch May 12, 2023 21:37
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.

query all records with buildtest report

1 participant