- Python 94.2%
- PowerShell 5.8%
| src | ||
| tools | ||
| .gitignore | ||
| README.md | ||
Package source for HeidiSQL Chocolatey package
This repository contains the source for the Windows HeidiSQL Chocolatey package (in directory src), as well as tooling for automating what needs to happen when a new version of HeidiSQL is released: update the source, compile the package, push it to Chocolatey.
Links
- Package homepage: https://community.chocolatey.org/packages/HeidiSQL
- Package source: https://git.roel.rs/chocolatey/HeidiSQL
- HeidiSQL homepage: https://www.heidisql.com/
- HeidiSQL source: https://github.com/HeidiSQL/HeidiSQL
Preparation (one-time)
You need a Windows computer to create and push Chocolatey packages, since you need choco.exe and that only runs on Windows (unless you have found a way around that, in which case I would grateful if you could tell me about that).
-
Install Chocolatey locally (we need the choco.exe executable to compile and push the package).
-
Make an account at Chocolatey (https://community.chocolatey.org/account) and create an API key.
-
Make a .env file in the top directory of your local HeidiSQL package source code repository with that API key in it:
API_KEY=<api-key> -
Install uv: see https://docs.astral.sh/uv/getting-started/installation/. No need to install Python manually: uv will take care of that.
How to update the package
Run tools\hcpt.py from the top directory of your local HeidiSQL package source code repository, using uv to take care of dependencies:
uv run tools\hcpt.py <options> <arguments>
Most of the time what you want is to run the whole process, like this:
uv run tools\hcpt.py all
Run it with option -h for a full explanation of commands and options.