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

WinGet Export can generate a WinGet Configuration File #4092

Open
denelon opened this issue Jan 22, 2024 · 2 comments
Open

WinGet Export can generate a WinGet Configuration File #4092

denelon opened this issue Jan 22, 2024 · 2 comments
Labels
Command-Export Issue related to WinGet Export Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@denelon
Copy link
Contributor

denelon commented Jan 22, 2024

Description of the new feature / enhancement

I'd like to have winget export build a WinGet Configuration file to install my packages.

This will help with users who want to run WinGet Configure so they don't have to manually convert a packages.json file into a configuration.dsc.yaml file.

We're also thinking about:

Note: This is not the same as:

Proposed technical implementation details

If I run winget export --configuration configuration.dsc.yaml WinGet generates a configuration file.

@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. Command-Export Issue related to WinGet Export labels Jan 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 22, 2024
@denelon denelon removed the Needs-Triage Issue need to be triaged label Jan 22, 2024
@SamHasler
Copy link

SamHasler commented Mar 13, 2024

is this a duplicate of (or otherwise fulfils the requirements of) #3555 ?

@denelon
Copy link
Contributor Author

denelon commented Apr 3, 2024

@SamHasler, No,

I haven't decided on the implementation details, but I'll share some thinking below.

As we work towards:

I want to somewhat standardize the behaviors of WinGet with respect to the existing "import" and "export" commands.

My thought process is we need to implement:

  1. WinGet Import acts as an alias for WinGet Configure #4093
  2. WinGet Export can generate a WinGet Configuration File #4092 <-This might be limited to the current "packages only" scenario initially.

I'm just mostly concerned about some confusion that may arise out of the nuanced differences between a winget configure export and a winget export as well as the current behavior for winget import and winget configure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Export Issue related to WinGet Export Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

2 participants