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
Automate core tools release (npm, choco, apt) to Azure DevOps Pipelines #1859
Comments
As part of this I will also capture the work item to add release pipeline for v3 in chocolatey, apt, etc. Additionally, I will move our publishing scripts to this repository as Ahmed had suggested (@ahmelsayed fyi). |
@jeffhollan / @anthonychu, do you have a preference on core-tools chocolatey package between these installation ways? -
|
Thanks @ankitkumarr. I have limited knowledge of Chocolatey. It looks like its versioning support is not great; there isn't support for installing a tagged version (e.g. For 1. and 2.:
Another option we should consider is just release everything under |
Thank you Anthony! You are correct about the versioning support (as far as I know).
Up to us. For backwards compat, I was thinking to let it do what it does today, i.e. install latest v2 (or we can change that to v3). This way everything stays the same, except we also support v3 with this param.
The way we do nuspec is to only include a powershell script that gets run when installing the package. So, we would only have one powershell file that would download v2 or v3 core-tools from the CDN based on the params.
The user should be able to do this today, except that we haven't release v3 yet for choco. |
I think using a param to select CPU architecture makes sense, as it still installs the version of Core Tools matching the NuGet package version. However, I'm not sure about a param that would install a version different than the package version; that would be surprising to me. IMO we should go with just releasing new versions on I would avoid using parameters to select versions. But would love to hear from more folks who use Chocolatey. |
Do you have metrics on how many users are installing older versions when a new version is available on npm? My feeling is that there is a number of users who sometimes need to do that, but the majority of users want the easy way to always get the latest. If that's the case, I think that |
@lbugnion, I think that makes sense. We don't have metrics as such. But for us, we have two major versions we need to support in chocolatey - v3 and v2. They both are fairly common and we do releases actively. So, maybe we can have |
Looks like this should work. May depend on outcome of #1898 we can probably at least start publishing |
azure-functions-core-tools-3
in aptazure-functions-core-tools-2
in aptThe text was updated successfully, but these errors were encountered: