Updating To atest Version of Ultimaker Cura - FracktalWorks/Fracktory-5 GitHub Wiki

Updating To latest Version of Ultimaker Cura

test Version of Ultimaker Cura:

  1. Go to the Ultimaker Cura repository: UM Cura Repo and open the release you want to update the Fracktory Version to:

cura_repo_version

  1. Open the Commit associated with the release:

cura_release_commit

  1. Note the the branch and tag associated with the commit. in the below case the branch is 5.9 and the tag is 5.9.1-RC3

branch-tag

  1. in Github Desktop, select the upsteam branch (since Fracktory is a fork of cura, you can open the cura branches directly) that we saw in step 3. in this case 5.9 or upstream/5.9. iuf you dont see the branch, click "Fetch" to get latest changes upstream.

open_upstream_branch

  1. Navigate to the commit history of that branch. find the commit that ahs the Tag we are looking for from step 3. Roght click and "create brach from commit"

navigate_history

create_branch_from_commit

  1. Create a new branch on Fracktory-5 with the new version number like "Fracktory-5.6.0"

alt text create_branch

  1. In github Desktop, switch to the new branch as well as publish it to cloud.

switch_branch

publish_branch

  1. Delete all the unnecessary files that will create merge conflicts: Delete all 3rd party printer profiles in intents, quality, definitions and variants in the "resources" folder. Careful not to delete core files file fdmprinter, fdmextruder.

This is what it might look like before deleting:

resources_old

After deleting only the core resource files are left:

resources_new

  1. Merge the previous release branch version of Fracktory 5 into current branch. Squash and merge into a simple commit for simplicity.

merge

previous_branch

  1. Resolve conflicts if any using github desktop & vscode source control.

resolve_github

resolve_vscode

  1. Update conandata.yaml with latest versioning from the "Current Change" i.e from the latest cura repo you just branched. but comment out the requirements like shown below to prevent the installer from overriding them

conan

  1. update latest.json file in Fracktory-5 folder, copying from the latest Fracktory version in the conandata.yaml to have cura check for latest version available

latest_json

  1. Update guthub actions workflow cura-installer-windows.yml with latest verion numbers (like 5.9.1 in this case) for fracktory and Curaengine. You may need to deepdive into the installer in case github action, pyton version, conan etc. is updated upstream and the latest version needs updated build envoronment to compile.

application_version

  1. change default branch to this new version on Github website : Change Default Branch

change_default

  1. Update Curaengine in the same way, and change the default branch to latest.

cura_engine_upstream_branch

cura_engine_create_branch

name_engine

engine_publish_branch

engine_merge

previous_engine

default_engine

  1. Follow instruction in Installation/Compilation to compile Fracktory and CuraEngine again. The Build environment may need to be updated since the last update, so update as needed by referenceing Running Cura From Source

  2. Github Actions may need to be updated to properly work. refer Cura Windows Installer Workflow and edit \Fracktory-5\.github\workflows\cura-installer-windows.yml accordingly.