You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Combination Source uses a localRoot with a sub-directory name, and that Source uses a patchSet, the dynamic branch JSON file is attempted to be created in the wrong directory location and errors out.
Traceback (most recent call last):
File "C:\Python39\lib\site-packages\edkrepo\edkrepo_cli.py", line 183, in main
command.run_command(command_name, parsed_args, config)
File "C:\Python39\lib\site-packages\edkrepo\commands\composite_command.py", line 38, in run_command
return command.run_command(args, config)
File "C:\Python39\lib\site-packages\edkrepo\commands\checkout_command.py", line 45, in run_command
checkout(args.Combination, global_manifest_path, args.verbose, args.override, get_repo_cache_obj(config))
File "C:\Python39\lib\site-packages\edkrepo\common\common_repo_functions.py", line 621, in checkout
checkout_repos(verbose, override, repo_sources, workspace_path, manifest, global_manifest_path)
File "C:\Python39\lib\site-packages\edkrepo\common\common_repo_functions.py", line 367, in checkout_repos
patchset_branch_creation_flow(repo_to_checkout, repo, workspace_path, manifest, global_manifest_path, override)
File "C:\Python39\lib\site-packages\edkrepo\common\common_repo_functions.py", line 422, in patchset_branch_creation_flow
create_local_branch(repo.patch_set, patchset, global_manifest_path, manifest, repo_obj)
File "C:\Python39\lib\site-packages\edkrepo\common\common_repo_functions.py", line 885, in create_local_branch
with open(json_path, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\git3\\Edkrepo_Sandbox\\test\\repo\\patchset_edk2-platforms.json'
Error: [Errno 2] No such file or directory: 'C:\\git3\\Edkrepo_Sandbox\\test\\repo\\patchset_edk2-platforms.json'
Edkrepo_Sandbox\repo\patchset_edk2-platforms.json should have been created.
Instead, "Edkrepo_Sandbox\test\repo\patchset_edk2-platforms.json" is attempted to be created, and fails.
Reproduced with edkrepo 3.1.1, python 3.9.13, and git version 2.39.1.windows.1 , on Windows 11 Enterprise
The text was updated successfully, but these errors were encountered:
When a Combination Source uses a localRoot with a sub-directory name, and that Source uses a patchSet, the dynamic branch JSON file is attempted to be created in the wrong directory location and errors out.
Example:
Attempting to checkout "sandbox-subDirectory-patchSet-test" combination will crash after the dynamic branch has been created.
Edkrepo_Sandbox\repo\patchset_edk2-platforms.json should have been created.
Instead, "Edkrepo_Sandbox\test\repo\patchset_edk2-platforms.json" is attempted to be created, and fails.
Reproduced with edkrepo 3.1.1, python 3.9.13, and git version 2.39.1.windows.1 , on Windows 11 Enterprise
The text was updated successfully, but these errors were encountered: