Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Initial support for generating a configuration file from machine configuration #2466

Merged
merged 21 commits into from
Apr 4, 2024

Conversation

AmelBawa-msft
Copy link
Contributor

@AmelBawa-msft AmelBawa-msft commented Mar 25, 2024

Summary of the pull request

Initial support for generating a configuration file from the machine configuration flow.

Limitation in this PR:

References and relevant issues

Detailed description of the pull request / Additional comments

Validation steps performed

Selecting an already installed app

Review page allows downloading the generated configuration file

Generated file:

# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
# Reference: https://github.com/microsoft/winget-create#building-the-client
# WinGet Configure file Generated By Dev Home.

properties:
  resources:
  - resource: Microsoft.WinGet.DSC/WinGetPackage
    directives:
      description: Installing Microsoft.VisualStudio.2022.Community
      allowPrerelease: true
    settings:
      id: "Microsoft.VisualStudio.2022.Community"
      source: winget
    id: Microsoft.VisualStudio.2022.Community
  - resource: Microsoft.WinGet.DSC/WinGetPackage
    directives:
      description: Installing Microsoft.SQLServerManagementStudio
      allowPrerelease: true
    settings:
      id: "Microsoft.SQLServerManagementStudio"
      source: winget
    id: Microsoft.SQLServerManagementStudio
  - resource: Microsoft.WinGet.DSC/WinGetPackage
    directives:
      description: Installing Git
      allowPrerelease: true
    settings:
      id: "Git.Git"
      source: winget
    id: Git.Git
  - resource: GitDsc/GitClone
    directives:
      description: 'Cloning: devhome'
      allowPrerelease: true
    settings:
      httpsUrl: https://github.com/microsoft/devhome.git
      rootDirectory: E:\devhome
    id: 'Clone devhome: E:\devhome'
    dependsOn:
    - Git.Git
  configurationVersion: 0.2.0

PR checklist

@AmelBawa-msft AmelBawa-msft marked this pull request as ready for review March 28, 2024 19:01
@AmelBawa-msft AmelBawa-msft added the Needs-Second Pull request that needs another approval label Mar 31, 2024
@AmelBawa-msft AmelBawa-msft merged commit 29c3ce6 into main Apr 4, 2024
@AmelBawa-msft AmelBawa-msft deleted the user/amelbawa/dsc-gen-2 branch April 4, 2024 03:26
@krschau krschau removed the Needs-Second Pull request that needs another approval label Apr 4, 2024
@krschau krschau removed this from the Dev Home v0.13 milestone Apr 4, 2024
@shakersMSFT shakersMSFT linked an issue May 17, 2024 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dev Home Feature Exploration: Dev Home machine configuration generates a configuration file Allow machine configuration generator
4 participants