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

Updating To latest 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.png

  1. Open the Commit associated with the release:
  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
  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.
  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"
  1. Create a new branch on Fracktory-5 with the new version number like "Fracktory-5.6.0"
  1. In github Desktop, switch to the new branch as well as publish it to cloud.
  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:

After deleting only the core resource files are left:

  1. Merge the previous release branch version of Fracktory 5 into current branch. Squash and merge into a simple commit for simplicity.
  1. Resolve conflicts if any using github desktop & vscode source control.
  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
  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
  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.
  1. change default branch to this new version on Github website : Change Default Branch
  1. Update Curaengine in the same way, and change the default branch to latest.
  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.