Skip to content

Conversation

@dhruvchand
Copy link
Collaborator

No description provided.

Comment on lines +5 to +9
# - task: choco
# inputs:
# packages: "vscode, azure-cli"
# Versions: "{ 'vscode'='1.80.0'; 'azure-cli'='2.50.0' }"
# additionalOptions: "--verbose --ignore-dependencies"
Copy link
Contributor

@antonellaavogadro antonellaavogadro Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# - task: choco
# inputs:
# packages: "vscode, azure-cli"
# Versions: "{ 'vscode'='1.80.0'; 'azure-cli'='2.50.0' }"
# additionalOptions: "--verbose --ignore-dependencies"
#- task: choco
# inputs:
# package: "vscode"
# version: "1.80.0"
# ignoreChecksums: true
# - task: choco
# inputs:
# package: "azure-cli"
# version: "2.50.0"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two examples that I found worked well with the LLMs are:

    examples:
      - task: choco
        description: install OracleJDK 17.0.1
        inputs:
          package: oraclejdk
          version: 17.0.1
      - task: choco
        description: install notepad++
        inputs:
          package: notepadplusplus

Ensure-Chocolatey -ChocoExePath "$choco"

Write-Host "Preparing to install Chocolatey packages: $Packages."
Install-Packages -ChocoExePath "$choco" -Packages $Packages -PackageVersions $PackageVersions -AdditionalOptions $AdditionalOptions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure you intended this change in choco.ps1, did you?

Comment on lines +5 to +9
# - task: choco
# inputs:
# packages: "vscode, azure-cli"
# Versions: "{ 'vscode'='1.80.0'; 'azure-cli'='2.50.0' }"
# additionalOptions: "--verbose --ignore-dependencies"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two examples that I found worked well with the LLMs are:

    examples:
      - task: choco
        description: install OracleJDK 17.0.1
        inputs:
          package: oraclejdk
          version: 17.0.1
      - task: choco
        description: install notepad++
        inputs:
          package: notepadplusplus

@@ -1,4 +1,12 @@
# This is a simple powershell command execution task for Dev Box.
#
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples that I saw worked well with the LLMs were:

    examples:
      - task: powershell
        description: print hello world
        inputs:
          command: "Write-Host hello, world!"
      - task: powershell
        description: run script
        inputs:
          command: "./script.ps1"
          workingDirectory: C:\\provisioning\\temp

@DavidObando
Copy link
Member

I think #28 overrides this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants