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

Use NestedInstallerFiles for generating installer nodes in New Command #434

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

mdanish-kh
Copy link
Contributor

@mdanish-kh mdanish-kh commented Aug 14, 2023

List<string> relativeFilePaths = installerMetadata.NestedInstallerFiles.Select(i => i.RelativeFilePath).Distinct().ToList();

New command needs to be updated to populate the installerMetadata with NestedInstallerFiles now instead of RelativeFilePaths

Manifests to test with

wingetcreate new "https://download.sysinternals.com/files/ZoomIt.zip"
wingetcreate new "https://github.com/istio/istio/releases/download/1.17.3/istioctl-1.17.3-win.zip"
wingetcreate new "https://github.com/junegunn/fzf/releases/download/0.39.0/fzf-0.39.0-windows_amd64.zip"
wingetcreate new "https://github.com/sharkdp/fd/releases/download/v8.7.0/fd-v8.7.0-i686-pc-windows-msvc.zip"

Microsoft Reviewers: codeflow:open?pullrequest=#434

@ryfu-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ryfu-msft ryfu-msft merged commit afefaa4 into microsoft:main Aug 16, 2023
4 checks passed
@mdanish-kh mdanish-kh deleted the newCommandNestedInstallerFiles branch August 16, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New command fails with error: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
2 participants