microsoft / microsoft/winget-cli-restsource

For Azure function part, give a way to use Linux instead of Windows

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C#
Stars
317
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Description of the new feature / enhancement

Today we have no choice on function part, that use Windows application.
Could it be possible to specify a parameter to use linux function app instead of Windows one

Proposed technical implementation details

Have an set of ARM template for app plan and azure functions implemeting Linux way in WinGet.RestSource.Infrastructure
In New-WinGetSource.ps1, give the possibility to give a parameter specifying Linux or Windows
In New-ARMParameterObject.ps1 , based on parameter given, create and fill the correct json file
in New-ARMObjects.ps1, based on the parameter, use the correct ARM template and the previously created JSon file with parameters

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with New-WinGetSource.ps1, New-ARMParameterObject.ps1, and New-ARMObjects.ps1, then inspect the ARM templates under src/WinGet.RestSource.Infrastructure. Trace how the current Windows app plan and Function App parameters are selected; done means a Linux-or-Windows parameter selects the corresponding templates and JSON parameters for deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.