azure-dev
azure-dev copied to clipboard
Support for package managers/installers
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
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! 😀
@danieljurek @rajeshkamal5050 Are winget/chocolatey likely to land in January?
Let's make sure that we start on brew/apt next.
I think we can land winget and Choco in January after a release which includes the MSI.
Linking Chocolatey issue #744
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 I believe choco
is also done now 😎
Exciting new packages landing in WinGet make @denelon very happy :)
PowerToys, and Oh My Posh use wingetcreate as a CI/CD tool. It was built for automation.
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 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
Instructions for pmc onboarding: https://github.com/Azure/azure-dev-pr/issues/1506
@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?
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
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
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.
@danieljurek This is completed now, right? apt/yum install instructions are in the docs now. Anything remaining?
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.
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.