Chocolatey is a great package manager for windows. A simple command such as choco install xxx will install the necessary software and update system paths automatically.
It would be great to have lektor installed via chocolatey! I do understand the installation isn't exactly an issue right now, but it would be nice to have it this way.
I'd be interested in implementing this.
I think this is a great idea. If you start implementing this think of the following as requirements:
lektor --version to check that it works)I think these steps are very important as we would not want to make these packages available and then drop support because they decay over time.
I think we should also make the package depend on ImageMagick and ffmpeg to make sure that the install has access to all functionality by default.
@runfalk
I'll be sure to try it out!
Hello @runfalk
Lektor can now be installed via chocolatey!
choco install lektor --version=1.0.0
What's done
chocolatey folder What's pending
Hi @nimishbongale,
Nice. I don't have Windows so I can't test anything.
The thing that stand out to me is that it pulls the latest version always, and that the package version is not coupled with the version it actaually installs. If we for instance want to require a different Python version the installer at Chocolatey could fail until we manually update it. It may also lead to confusing bug reports where the users say they are running 1.0.0, or that they are reporting the package because they don't get the latest version.
Is this something that could be changed you think?
@runfalk
Yes. We can configure that accordingly. All that I've done until now is to have lektor installed via chocolatey. By default, chocolatey thinks its v1.0.0. This will be configured by me soon!
I just thought once the packages passes all the tests on chocolatey, we can go forward with the versioning bit. We can also automate the versioning and everything using Github CI scripts.
@runfalk
Lektor has passed testing on chocolatey! 馃殌
I'll go ahead and raise a PR and we can talk about the rest there!
Most helpful comment
I think this is a great idea. If you start implementing this think of the following as requirements:
lektor --versionto check that it works)I think these steps are very important as we would not want to make these packages available and then drop support because they decay over time.
I think we should also make the package depend on ImageMagick and ffmpeg to make sure that the install has access to all functionality by default.