distal-attribute
distal-attribute
distal-attribute
distal-attribute

HeidiSQL joins Chocolatey

ansgar posted 1 year ago in News

I just joined Chocolatey, which is sort of like yum or apt-get for Windows. HeidiSQL was already listed there but was outdated, so I created a package with the current 9.3 release.

See the package here: https://chocolatey.org/packages/HeidiSQL

johngoodman posted 1 year ago

Nice!! Congrats man.

bazzilic posted 3 months ago

Hey! Any chance you could update the package to the latest stable and also add the cheksums? Chocolatey now does not allow packages without checksums.

This package downloads a tool to quickly do a checksum: https://chocolatey.org/packages/checksum:

cinst -y checksum
checksum -t=sha256 -f=HeidiSQL_9.4.0.5125_Setup.exe

and in the chocolateyInstall.ps1 add this:

checksum      = 'whatever checksum outputs'
checksumType  = 'sha256'
ansgar posted 3 months ago

I'm a bit hesitating to support the Chocolatey package any longer. I have asked in the chat for some way to automate the release process, with no answer. I don't want to create a package manually for each release.

bazzilic posted 3 months ago

I wrote this little script that builds the package automatically, by accessing the website and checking the latest stable version (couldn't attach, see here: https://dl.dropboxusercontent.com/u/41761522/HeidiSQL.zip). It downloads the installer, calculates the checksum (requires checksum package from Chocolatey), creates the .nupkg and puts it in the _output folder.

At this point, the script does not push the package to Chocolatey gallery, but it could be easily automated using choco push (https://github.com/chocolatey/choco/wiki/CommandsPush). It would require you to get the API key from the Chocolatey website.

Please, feel free to hack the script in any way or form you want.

ansgar posted 3 months ago

Uh, that's a Powershell script, will have to learn about that first. However, thanks a lot for helping.

bazzilic posted 3 months ago

What do you use to script on Windows platform instead of PoSh?

ansgar posted 3 months ago

PHP, most of the time.

head posted 3 months ago

Oh, that another "unix way" attempt... Windows != Linux, just another waste of time. Your integrated auto-update is more than enough.

Please login to leave a reply, or register at first.