Replies: 2 comments 3 replies
-
I know that currently YamlCreate.ps1 doesn't support automatic URL matching or passing URL's in through command line parameters. I believe that Vedant has partially implemented this in his automation, but only to the extent that they can be passed in through the command line, assuming the order of the installers is known. YamlCreate doesn't support automatic detection of the package version, but I was starting to look at how that could potentially be implemented. Other gaps are the MinimumOSVersion and dependencies, but I've also been looking at putting these into YamlCreate, as it wouldn't be too difficult. I know this may be a little off topic, but the primary reason why I don't like wingetcreate is the menu based navigation. It makes it more time consuming to add all of the metadata rather than being able to skip it by pressing enter, specifically for the installers, at least in my own opinion I personally would love to see more functionality, and have been trying to learn C# a little better to be able to contribute over at winget-create. I think improvements can be made on both ends, and if we can find a way to bring them together to create the best possible solution, I'd be happy to help |
Beta Was this translation helpful? Give feedback.
-
Originally posted by @vedantmgoyal2009 in microsoft/winget-pkgs#500 (comment)
Yes; I pass the URLs and sort them (https://github.com/vedantmgoyal2009/winget-pkgs-automation/blob/main/scripts/YamlCreate.ps1#L784-L785). Also, Trenly/winget-pkgs#28 has not been implemented yet, so when there are two identical InstallerUrls (as in the case of difference Scope/InstallerSwitches), I use the previous InstallerUrl for the next iteration (https://github.com/vedantmgoyal2009/winget-pkgs-automation/blob/main/scripts/YamlCreate.ps1#L807-L814). |
Beta Was this translation helpful? Give feedback.
-
I'd like to get a list of the gaps between YamlCreate.ps1 and the Windows Package Manager Manifest Creator.
We've been discussing using the Windows Package Manager Manifest Creator in the Windows Package Manager Community App Repository for manifest automation scenarios. We will also be looking at PowerShell module/cmdlets for the Windows Package Manager Manifest Creator. I know some of the scenarios related to moderation are a bit different than the target audience for the Windows Package Manager Manifest Creator so I'd like to separately call those out.
I'm thinking a bit longer term about how we might pull the solution from @vedantmgoyal2009 into the winget-pkgs repository as well. Some of the current gaps are the key names, and possibly some of the mechanics. The goal would be to have an automated solution for keeping manifests current for packages where we can detect a new version using the Windows Package Manager Manifest Creator. We still prefer publishers submitting manifests as a part of their CI/CD toolchains, but this would help for those packages not quite ready to do that yet.
In order to have that work well, we need to know what kinds of gaps exist between the two tools. @Trenly I don't see a need to eliminate YamlCreate.ps1 or SandboxTest.ps1, but I'd like to be able to get to parity and consider an "interactive test" capability in the Windows Package Manager Manifest Creator and associated PowerShell cmdlets.
I'm also mentioning our moderators here as they are the predominant users.
@ImJoakim
@ItzLevvie
@jedieaston
@KaranKad
@OfficialEsco
@quhxl
Beta Was this translation helpful? Give feedback.
All reactions