IfcOpenShell / IfcOpenShell

Open source IFC library and geometry engine
GNU Lesser General Public License v3.0
1.87k stars 735 forks source link

Chocolatey installation is broken #5152

Open Andrej730 opened 3 months ago

Andrej730 commented 3 months ago

Related to #4373

There was issues with publishing releases to the chocolatey because of the recent changes in the naming of the blenderbim zip files but they should be resolved after 43b5740.

But there are still deeper issues - I don't use chocolatey myself but it seems the installation process involves downloading blenderbim zip and installing it to the currently installed Blender (I assume to the one installed using Chocolatey).

https://github.com/IfcOpenShell/IfcOpenShell/blob/e963444eb626f4b9d8fc3d74ab1686951443e4b0/choco/blenderbim/tools/enable_blenderbim_addon.py#L1-L7

First of all, last Blender version on choco is still 4.1.1 but our releases support only 4.2+ - https://community.chocolatey.org/packages/blender.

Then the installation for Blender 4.2 changed since BlenderBIM in 4.2 is no longer an addon, it's an extension. Here's an example how to install and enable extension from command line:

https://github.com/IfcOpenShell/IfcOpenShell/blob/e963444eb626f4b9d8fc3d74ab1686951443e4b0/.github/workflows/ci-blenderbim-daily.yml#L121-L129

But maybe there is no point maintaing daily builds in choco too, there is an alternative - perhaps choco script should install blenderbim daily repository from https://github.com/IfcOpenShell/blenderbim_unstable_repo and just install the latest build from there. Then it will be up to user to update BlenderBIM from Blender UI. Choco users will get daily builds and there will be less maintenance burden.

Moult commented 2 months ago

Ping @ay-ex

ay-ex commented 2 months ago

@Moult thank you for the ping. 🙂 @Andrej730 :

@Andrej730 and/or @Moult maybe we should have a brief chat on jitsi?