2

As described in this Q&A I do not have a Windows system anymore. Do I really need a Windows system in order to maintain Chocolatey packages?

Concerns

  • Ketarin - will it run on Linux
  • Powershell - could we run powershell on linux
  • Testing - will the package be compatible with various windows systems, e.g. 7, 8, 10

Attempts to answer the questions

Ketarin

This post shows alternatives to ketarin on Linux, but I wonder whether it is possible to check the version of a certain package and updates it if newer when I see alternatives like Ubuntu update manager

Powershell

According to this post it should be possible to run Powershell on Linux.

Testing

I could imagine that if powershell is able to run on Linux that a part of the testing could be done, but I wonder how to test the compatibilty? Spin up some windows boxes on Travis? Would that be possible, is that too cumbersome or do I need to pay money for the Windows licenses

1
  • "According to this post it should be possible to run Powershell on Linux" That's not what that article is saying. 'Powershell DSC for Linux' is not the same as 'running PowerShell on Linux'. Jul 11, 2016 at 18:20

1 Answer 1

3

You do not need a Windows system in order to maintain Chocolatey packages (although it helps).

Running Choco from Posix

you can build choco for use on Posix systems (at least Linux and OS X). We run the builds through Travis CI and Mono. At some point we will migrate over to CoreCLR.

And you can maintain packages from there.

If you have an alternative to Ketarin, then you should be good to go if you can get something that runs the updates.

Maintain Packages with Vagrant Box

You can use the Chocolatey Test Environment as well to maintain packages - https://github.com/chocolatey/chocolatey-test-environment.

You will see that it is doing similar to what the verifier does. Folks run that completely from Linux.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .