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

Add DSC Resource identifier to WinGet manifests #3523

Open
denelon opened this issue Aug 15, 2023 · 3 comments
Open

Add DSC Resource identifier to WinGet manifests #3523

denelon opened this issue Aug 15, 2023 · 3 comments
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Aug 15, 2023

Description of the new feature / enhancement

When I'm trying to author a WinGet configuration file (*.dsc.yaml) it's not easy to discover the DSC resource with the ability to configure the package.

I'd like to have a field in the WinGet manifest with a pointer to a DSC Resource. This would allow WinGet to help configuration file authors locate resources. For example, if a user is adding Visual Studio to a configuration, the manifest for Visual Studio would be able to indicate the "Microsoft.VisualStudio.DSC" module can configure Visual Studio.

Proposed technical implementation details

No response

@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. Area-Manifest This may require a change to the manifest labels Aug 15, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Aug 15, 2023
@denelon denelon removed the Needs-Triage Issue need to be triaged label Aug 15, 2023
@denelon denelon added this to the 1.8 Client milestone Aug 24, 2023
@denelon
Copy link
Contributor Author

denelon commented Aug 30, 2023

I've been thinking about something like:

DesiredStateConfiguration:  # optional pointer to DSC resources
  PowerShellModule:         # optional PowerShell Module
  DscResources:             # optional DSC resources
    - DscResource:          # optional DSC resource
  PowerShellRepository:     # optional PowerShell repository

The WinGet community repository would have a policy to only allow the PowerShell Gallery "SourceLocation" for the "PowerShellRepository" key.

During manifest validation, existence checks would be the only initial automated capability until the PowerShell DSC v3 "export" capability is added.

@cdhunt
Copy link

cdhunt commented Dec 28, 2023

This might also be a fix the error message I'm seeing with The module for the configuration unit is available in multiple locations with the same version.. I don't see a way to specify the repository to pull DSC resources from.

@denelon denelon added this to WinGet Jan 3, 2024
@denelon denelon modified the milestones: v1.7 Client, 1.8 Client Jan 4, 2024
@JohnMcPMS
Copy link
Member

I'm starting to think that it might be better to leverage the existing DSC document schema to define the set of resources required to extract configuration.

@denelon denelon modified the milestones: 1.8 Client, 1.9 Client Jun 11, 2024
@denelon denelon modified the milestones: 1.9 Client, 1.10 Client Jul 24, 2024
@denelon denelon moved this to To Do in WinGet Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
Status: To Do
Development

No branches or pull requests

3 participants