azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

Support for package managers/installers

Open savannahostrowski opened this issue 2 years ago • 1 comments

I wanted to open an issue to track the request to add package manager support for installation. This will make updating much easier as well.

this was also raised to me on Twitter this weekend

Common package managers/installers:

  • Brew (on MacOS)
  • apt (Ubuntu/Debian)
  • winget
  • chocolatey

savannahostrowski avatar Oct 10 '22 14:10 savannahostrowski

I think this feature is a must have for all command line tools. Azure CLI, Bicep,... all tools can be install with brew on macOS. I upvote for this! 😀

MCKLMT avatar Oct 10 '22 15:10 MCKLMT

@danieljurek @rajeshkamal5050 Are winget/chocolatey likely to land in January?

Let's make sure that we start on brew/apt next.

savannahostrowski avatar Dec 06 '22 23:12 savannahostrowski

I think we can land winget and Choco in January after a release which includes the MSI.

danieljurek avatar Dec 13 '22 14:12 danieljurek

Linking Chocolatey issue #744

flcdrg avatar Jan 14 '23 13:01 flcdrg

Current status:

Channel Manual Release Automated Release
brew Done Done
WinGet Done Done
Choco Pending package release approval from Choco Done
apt/yum In Progress In progress

danieljurek avatar Feb 13 '23 16:02 danieljurek

@danieljurek I believe choco is also done now 😎

savannahostrowski avatar Feb 17 '23 17:02 savannahostrowski

Exciting new packages landing in WinGet make @denelon very happy :)

bitcrazed avatar Feb 17 '23 20:02 bitcrazed

PowerToys, and Oh My Posh use wingetcreate as a CI/CD tool. It was built for automation.

denelon avatar Feb 17 '23 20:02 denelon

PowerToys, and Oh My Posh use wingetcreate as a CI/CD tool. It was built for automation.

We use it, too @denelon :) https://github.com/Azure/azure-dev/pull/1500/files#diff-e94801cff6da36d3b13f1370783b0355bc7f75d5436ff195b0d56c7e3ffbeb6aR17

danieljurek avatar Feb 21 '23 22:02 danieljurek

@danieljurek for GA or earlier. Can you update the docs (download, install and configure) w.r.t .deb and .rpm packages?. Once done, please move this issue to Gallium.

We can look at apt/yum post GA @savannahostrowski @ellismg

rajeshkamal5050 avatar Mar 22 '23 16:03 rajeshkamal5050

Instructions for pmc onboarding: https://github.com/Azure/azure-dev-pr/issues/1506

danieljurek avatar Mar 30 '23 16:03 danieljurek

@danieljurek can you share any internal docs information for @savannahostrowski and doc writer to consume the deb and rpm bits we have today.

@danieljurek anything else needs to be done for making the dep and rpm packages public?

rajeshkamal5050 avatar Apr 03 '23 17:04 rajeshkamal5050

Marking this as blocker for 0.8 April 5th release to publish deb and rpm bits/docs. If not needed, please clarify and remove blocker.

@savannahostrowski @ellismg

rajeshkamal5050 avatar Apr 03 '23 18:04 rajeshkamal5050

PR to update docs: https://github.com/Azure/azure-dev/pull/1862/files

PR to automate publishing Linux packages to GH Releases and public storage: https://github.com/Azure/azure-dev/pull/1872

danieljurek avatar Apr 04 '23 14:04 danieljurek

Removing blocker. Since the above PR's are merged for instructions on downloading and installing deb/rpm packages directly.

Moving to Gallium. For yum/apt publishing and automation changes.

rajeshkamal5050 avatar Apr 04 '23 22:04 rajeshkamal5050

@danieljurek This is completed now, right? apt/yum install instructions are in the docs now. Anything remaining?

savannahostrowski avatar Jul 10 '23 17:07 savannahostrowski

Automation that publishes to packages.microsoft.com and documenting how to onboard your Linux distro to get apt/yum working are the final pieces here.

danieljurek avatar Jul 13 '23 14:07 danieljurek

Currently this is the experience and is documented.

curl -fSL https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_<version>/azd_<version>_amd64.deb -o azd_<version>_amd64.deb
apt update 
apt install ./azd_<version>_amd64.deb -y
curl -fSL https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_<version>/azd-<version>-1.x86_64.rpm -o azd-<version>-1.x86_64.rpm
yum install -y azd-<version>-1.x86_64.rpm

@savannahostrowski moving this to Backlog since the remaining item is to get the bits published and onboarded to packages.microsoft.com. Please feel free to pull this in, if need be.

rajeshkamal5050 avatar Sep 20 '23 05:09 rajeshkamal5050