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

Support for package managers/installers #847

Closed
savannahostrowski opened this issue Oct 10, 2022 · 19 comments
Closed

Support for package managers/installers #847

savannahostrowski opened this issue Oct 10, 2022 · 19 comments

Comments

@savannahostrowski
Copy link
Contributor

savannahostrowski commented Oct 10, 2022

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
@MCKLMT
Copy link

MCKLMT commented Oct 10, 2022

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! 😀

@savannahostrowski savannahostrowski added the pm Requires PM spec or in-depth input before implementation label Oct 12, 2022
@savannahostrowski savannahostrowski added this to the Release 0.5 milestone Dec 6, 2022
@savannahostrowski
Copy link
Contributor Author

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

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

@danieljurek
Copy link
Member

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

@flcdrg
Copy link

flcdrg commented Jan 14, 2023

Linking Chocolatey issue #744

@savannahostrowski savannahostrowski removed the pm Requires PM spec or in-depth input before implementation label Jan 20, 2023
@danieljurek
Copy link
Member

danieljurek commented Feb 13, 2023

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

@savannahostrowski
Copy link
Contributor Author

@danieljurek I believe choco is also done now 😎

@bitcrazed
Copy link

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

@denelon
Copy link

denelon commented Feb 17, 2023

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

@danieljurek
Copy link
Member

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

@rajeshkamal5050
Copy link
Contributor

@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

@danieljurek
Copy link
Member

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

@rajeshkamal5050
Copy link
Contributor

@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
Copy link
Contributor

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

@danieljurek
Copy link
Member

danieljurek commented Apr 4, 2023

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: #1872

@rajeshkamal5050
Copy link
Contributor

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.

@savannahostrowski
Copy link
Contributor Author

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

@danieljurek
Copy link
Member

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.

@rajeshkamal5050
Copy link
Contributor

rajeshkamal5050 commented Sep 20, 2023

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.

@danieljurek
Copy link
Member

This is done for the most popular channels. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🎊 Closed
Development

No branches or pull requests

7 participants