tianocore / edk2-edkrepo

Repository for the edkrepo utility
Other
21 stars 24 forks source link

verbose combo error while archived combo is checked out #231

Closed ndhaller closed 2 months ago

ndhaller commented 4 months ago

edkrepo 3.2.0 version

When the current combo is an archived combo, the command "edkrepo combo -v" encounters an error when trying to display the current combo verbose information.

Traceback (most recent call last):
  File "C:\Python312\Lib\site-packages\edkrepo\edkrepo_cli.py", line 183, in main
    command.run_command(command_name, parsed_args, config)
  File "C:\Python312\Lib\site-packages\edkrepo\commands\composite_command.py", line 38, in run_command
    return command.run_command(args, config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\edkrepo\commands\combo_command.py", line 51, in run_command
    description = description[0]
                  ~~~~~~~~~~~^^^
IndexError: list index out of range
Error: list index out of range

Other edkrepo combo commands do not encounter an error, including when verbose and archived are both included at the same time:

edkrepo combo
edkrepo combo -a
edkrepo combo -va