Chocolatey package install gets 404 Error
Closed this issue ยท 10 comments
๐ Describe the bug
choco install pyrevit gets a 404 error, checking the chocolatey source shows the URL is different than the GitHub Release URL
Github Release URL: https://github.com/eirannejad/pyRevit/releases/download/v4.8.14.24016%2B1909/pyRevit_CLI_4.8.14.24016_admin_signed.exe
Chocolatey Package URL: https://github.com/eirannejad/pyRevit/releases/download/v4.8.14.24016/pyRevit_CLI_4.8.14.24016_admin_signed.exe
Hi @DailenG, thanks for bringing this to our attention.
I've tracked down the problem to this lines:
Since the rest of the pipeline uses the pyrevit build version and not the installer version, install
argument should be False
.
@eirannejad can you please fix the release\choco\tools\chocolateyinstall.ps1
to add the +1909
and push it manually?
Also, after some git blaming, I think that the chocolatey package is broken since version 4.8.10 or 4.8.11!
@sanzoghenzo merged!
Nice!
Do you still need Ehsan to edit the PS1 script, or can we close this issue?
We need the manual intervention to fix the currently released chocolatey package
Like this, @sanzoghenzo ?
$url64 = 'https://github.com/eirannejad/pyRevit/releases/download/v4.8.14.24016+1909/pyRevit_CLI_4.8.14.24016_admin_signed.exe'
Which branch?
It has to be done manually on a machine with the chocolatey token available, because the ci pipeline is already set to publish the next version. So I suppose only Ehsan can do it
- Replace current choco package with one that has correct url
"๐ Hi there! It looks like there hasn't been any activity on this issue for the past 60 days. We understand that things can get busy.
Just a friendly reminder that this issue is scheduled to be automatically closed in 14 days if there's no further activity.
If you still need assistance or have additional information to share, please feel free to comment, and we'll be happy to help! ๐
Thanks for your understanding!"
@sanzoghenzo
I now have the choco logins, if you want we can have a zoom session to get this fixed
Do we need to fix the old packages?
We already have 2 working versions (4.8.15 and 16) on chicolatey, I suppose that nobody would want to install the older versions... maybe we can just remove the old packages.
If you still want to replace the old package with a working one, and to get to the point of your request: honestly I didn't use chocolatey myself, so I have no clue other than reproduce the ci job step manually.
Do we need to fix the old packages?
you are right, we don't, I wen tthru the thread to quickly.
thks
I will close that one