HeidiSQL joins Chocolatey

ansgar's profile image ansgar posted 9 years ago in News Permalink

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's profile image johngoodman posted 9 years ago Permalink

Nice!! Congrats man.

[expired user #7776]'s profile image [expired user #7776] posted 8 years ago Permalink

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's profile image ansgar posted 8 years ago Permalink

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.

[expired user #7776]'s profile image [expired user #7776] posted 8 years ago Permalink

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's profile image ansgar posted 8 years ago Permalink

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

[expired user #7776]'s profile image [expired user #7776] posted 8 years ago Permalink

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

ansgar's profile image ansgar posted 8 years ago Permalink

PHP, most of the time.

head's profile image head posted 8 years ago Permalink

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.