Chocolatey - Windows Package Manager that FreeCAD can be installed from

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
User avatar
Kunda1
Posts: 5174
Joined: Thu Jan 05, 2017 9:03 pm

Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby Kunda1 » Sun Oct 28, 2018 8:54 pm

Just an FYI, I don't use windows and do not know how the user experience is to use this chocolatey, this package manager. Nevertheless, it seems like people download freecad through it.
Here is the page that represent the FreeCAD package https://chocolatey.org/packages/freecad
chocolatey-fc-download-stats.png
chocolatey-fc-download-stats.png (96.33 KiB) Viewed 727 times
chocolatey-fc-download-stats-extended.png
chocolatey-fc-download-stats-extended.png (89.73 KiB) Viewed 727 times
Currently they only package stable. I've made a request to the maintainers to also package the 0.18_pre release
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 5245
Joined: Wed Oct 22, 2014 5:02 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby sgrogan » Sun Oct 28, 2018 9:02 pm

Kunda1 wrote:
Sun Oct 28, 2018 8:54 pm
Currently they only package stable. I've made a request to the maintainers to also package the 0.18_pre release
Good to see the downloads. :)
I tested this some time ago. It seems they are just re-packaging the win installer.
I would strongly recommend a Miniconda https://forum.freecadweb.org/viewtopic.php?f=4&t=21405 based solution on Win.

This is just my opinion.
User avatar
Kunda1
Posts: 5174
Joined: Thu Jan 05, 2017 9:03 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby Kunda1 » Sun Oct 28, 2018 9:16 pm

sgrogan wrote:
Sun Oct 28, 2018 9:02 pm
I would strongly recommend a Miniconda https://forum.freecadweb.org/viewtopic.php?f=4&t=21405 based solution on Win.
This is just my opinion.
So..in other words, you're not in favor of promoting this solution ?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 5245
Joined: Wed Oct 22, 2014 5:02 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby sgrogan » Sun Oct 28, 2018 9:28 pm

Kunda1 wrote:
Sun Oct 28, 2018 9:16 pm
So..in other words, you're not in favor of promoting this solution ?
When I tested last, there was no real dependency tracking. My experience at that time was that chocolatey replicated the win installer (which contains all the dependencies in the bundle, similar to an AppImage). I'm open to be educated if this is not true.

I'm wary of diluting resources. I'm sure I'm not using conda as intended, but it's as close to apt as I've seen for Win. Thanks to @looo our conda based builds have the most advanced dependencies, it has the potential to be a cross-platform rolling release. (Yea I drank the cool-aid)
Opus
Posts: 90
Joined: Wed Nov 08, 2017 5:36 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby Opus » Wed Oct 31, 2018 1:56 pm

I use chocolatey and I like it, it's a powerful tool to keep up to date your softwares on Windows platform.
Nevertheless, I don't use it anymore for freecad or blender because I use daily builds.
GeneFC
Posts: 1025
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby GeneFC » Wed Oct 31, 2018 2:24 pm

Kunda1 wrote:
Sun Oct 28, 2018 8:54 pm
I've made a request to the maintainers to also package the 0.18_pre release

FreeCAD-0.17.13541.9948ee4-WIN-x64 was posted to the FreeCAD releases page on September 12. It was "approved" by Chocolatey on October 13.

Probably not very useful for pre_release development versions of FreeCAD.

Gene
User avatar
Kunda1
Posts: 5174
Joined: Thu Jan 05, 2017 9:03 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby Kunda1 » Wed Oct 31, 2018 3:37 pm

GeneFC wrote:
Wed Oct 31, 2018 2:24 pm
Probably not very useful for pre_release development versions of FreeCAD.
Not as effective, maybe but useful, i pushback on that. I think the more testers we have the better..especially for py3/qt5
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 5245
Joined: Wed Oct 22, 2014 5:02 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby sgrogan » Wed Oct 31, 2018 9:43 pm

Kunda1 wrote:
Wed Oct 31, 2018 3:37 pm
Not as effective, maybe but useful, i pushback on that. I think the more testers we have the better..especially for py3/qt5
Agreed. I'll try to amplify some of the positives of chocolatey (@Opus please correct any misconceptions I might have)

Chocolatey provides a means to update binary packages on Win. FreeCAD doesn't have an "auto-updater" on Win so this is useful. They do virus checks and appear to have some means to clear false positives from the virus checking software. This is VERY useful. I think this means they vet the FreeCAD installer and makes it easier for users to update the package.

More distribution channels are good for FreeCAD, as long as they are quality "re-distributions". Chocolatey seems to be this.

If they could offer "freecad-daily" similar to what we do on the PPA that would be great. One of their pluses is to vet the packages, so I don't know how realistic this is to their model.

If the Chocolatey team "reaches in" here I can try to help, but I don't have the bandwidth to "reach-out"
User avatar
Kunda1
Posts: 5174
Joined: Thu Jan 05, 2017 9:03 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby Kunda1 » Wed Oct 31, 2018 9:53 pm

sgrogan wrote:
Wed Oct 31, 2018 9:43 pm
If the Chocolatey team "reaches in" here I can try to help, but I don't have the bandwidth to "reach-out"
Thank you for your fair reply. Much appreciated.
Your stance is noted :thumbsup:
Lets see how the chocolatey devs reply.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 5174
Joined: Thu Jan 05, 2017 9:03 pm

Re: Chocolatey - Windows Package Manager that FreeCAD can be installed from

Postby Kunda1 » Fri Dec 14, 2018 10:58 am

Just tracking the downstream thread: https://github.com/chocolatey/chocolate ... -447196942
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features