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

Recommend Windows users to use winget configure #437

Open
stevapple opened this issue Nov 3, 2023 · 2 comments · May be fixed by #701
Open

Recommend Windows users to use winget configure #437

stevapple opened this issue Nov 3, 2023 · 2 comments · May be fixed by #701
Labels
enhancement New feature or request

Comments

@stevapple
Copy link
Contributor

Is your feature request related to a problem? Please describe

Currently Windows toolchain installation involves multiple steps, which is over-complicated for new users or developers from other platforms. We can both make the step simpler and more robust.

Describe the solution you'd like

Windows Package Manager includes WinGet Configuration tool in its latest release, which allows users to set up the required environment from a single configuration file (written in YAML), with advanced features like Developer Mode detection and control flow. We can provide the configuration, and to ensure all tools and functionalities are properly set up for Swift.

Describe alternatives you've considered

Either keep the existing way, or using a CMD/PowerShell script. Neither batch script nor PowerShell is as clear as the configuration file, and it is potentially dangerous to run a remote script which we shouldn’t promote.

Additional context

WinGet Configuration overview: https://learn.microsoft.com/en-us/windows/package-manager/configuration/

@stevapple stevapple added the enhancement New feature or request label Nov 3, 2023
@stevapple
Copy link
Contributor Author

Awaiting microsoft/winget-cli#3554 which may help reduce the setup to a single command

@stevapple
Copy link
Contributor Author

Now that the feature is in preview, and it seems to solve the multiple problems we've had before (including setting SeSymbolicLinkPrivilege automatically, where @compnerd may be interested). However, I would like to see if there's opportunity for Swift.org to provide "dynamic" (or configurable in some way) WinGet configuiration files so that users with all kinds of need can just copy and install with just two clicks and a single command run.

Maybe there could be an online meeting on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant