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

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 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
4 checks passed
@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants