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 reference to manifest entries in expand subcommand help (bugfix) #1558

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

pieqq
Copy link
Collaborator

@pieqq pieqq commented Oct 23, 2024

Description

Following #1489, the expand subcommand now also lists manifest entries. This is now reflected in the subcommand help.

Resolved issues

Documentation

$ checkbox-cli expand --help
usage: checkbox-cli [-h] [-f FORMAT] TEST_PLAN

Expand a given test plan: display all the jobs, templates and manifest entries that are defined in this test plan and that  would be executed if ran. This is useful to visualize the full list of units called for complex test plans that consist of many nested parts with different 'include' and 'exclude' sections.

NOTE: the elements listed here are not sorted by execution order. To see the execution order, please use the 'list-bootstrapped' command instead.

positional arguments:
  TEST_PLAN             test-plan id to expand

options:
  -h, --help            show this help message and exit
  -f FORMAT, --format FORMAT
                        output format: 'text' or 'json' (default: text)

Tests

@pieqq pieqq changed the title Add reference to manifest entries in expand subcommand help Add reference to manifest entries in expand subcommand help (bugfix) Oct 23, 2024
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.78%. Comparing base (60b6702) to head (59cd535).
Report is 89 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1558   +/-   ##
=======================================
  Coverage   47.78%   47.78%           
=======================================
  Files         370      370           
  Lines       39751    39751           
  Branches     6720     6720           
=======================================
  Hits        18997    18997           
  Misses      20042    20042           
  Partials      712      712           
Flag Coverage Δ
checkbox-ng 68.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@Hook25 Hook25 left a comment

Choose a reason for hiding this comment

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

thanks

@pieqq pieqq merged commit f607e2b into main Oct 23, 2024
49 of 50 checks passed
@pieqq pieqq deleted the fix-expand-help branch October 23, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants