Title
#windows
thor

thor

01/04/2022, 7:56 PM
Hey friends -- FYI I'll be trying to get the chocolatey packages shipped in the next ~week. Apologies for my absence, I was very offline for parental leave but am picking things back up this week.
s

seph

01/06/2022, 1:27 AM
Looking at chocolatey, I feel kind grumpy about the ever changing requirements of the packaging. And I wonder if we can just have it download and install the MSI. This looks like what firefox does, for example. https://community.chocolatey.org/packages/Firefox#files
thor

thor

01/06/2022, 3:34 AM
Yeah this might be a good longer term solution
3:34 AM
In the meantime, I believe that https://github.com/osquery/osquery-packaging/pull/20 will solve the only outstanding issue
3:35 AM
We had all the files setup in osquery, we just needed that verification bit, and hopefully after that the pipelines will be finished for chocolatey
3:36 AM
As for getting 5.1 and 5.2 up, hopefully I'll have it sorted this evening, I just need to patch in the verification file
4:37 AM
So along these lines, here's another painful bit: Chocolatey requires us to specify an icon for the package. It notes explicitly to use
iconUrl
which is part of the (now deprecated) NuGet specifications here. However, they haven't updated to consider the
iconUrl
value as being deprecated. We can specify iconfor cpack, which we do here, so when
cpack
generates our nupkg we get a valid package, however any manual attempts to create said package with chocolateys shitty tooling will result in a failed build, as it doesn't consider
icon
valid. This hopefully wont be an issue if Chocolatey ever decides to update their shit, they in theory will adopt the latest nuspec guidlines, but if they change they're moderation requirements before that we may start failing any attempts at automated submissions.
4:37 AM
Another idea here would be to possibly look at other Windows package distribution lines, like vcpkg or something
s

seph

01/07/2022, 12:33 AM
I don't have the context to have an opinion about what chocolatey really is or how it compares to vcpkg. My world has always been people using MSIs directly
thor

thor

01/07/2022, 12:38 AM
Yeah, I think moving to a model like Mozilla is a great idea, just fetch the MSI that we have in the buckets and install using that.
s

seph

01/07/2022, 12:39 AM
I kinda think Stefano proposed something like that in the past.