Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add engine info handler for getting engine version and hash #2146

Merged
merged 8 commits into from
Oct 14, 2024

Conversation

saumyaj3
Copy link
Contributor

Implemented a handler for the --engine_info_cb flag to handle engine information retrieval. Added functionality to create and send engine info messages, which include the Cura engine version and hash, to Emscripten. Updated CMake and conan files to pass Cura engine hash.

NP-349

saumyaj3 and others added 7 commits October 10, 2024 11:04
Implemented a handler for the `--engine_info_cb` flag to handle engine information retrieval. Added functionality to create and send engine info messages, which include the Cura engine version and hash, to Emscripten. Updated CMake and conan files to pass Cura engine hash.

NP-349
Introduced a new function `beginGCode` to indicate the start of g-code sending with curaengine info.

NP-349
Include a 'commit' field in conandata.yml to store the commit hash.
NP-349
NP-349
Copy link
Member

@jellespijker jellespijker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM;

But you might want to base it and merge it to 5.9 instead of main also ask @wawanbreton or @rburema for a review

@wawanbreton
Copy link
Contributor

Do you need this in 5.9 ? If not, it is preferable to keep it in main.

@jellespijker
Copy link
Member

Do you need this in 5.9 ? If not, it is preferable to keep it in main.

Neoprep will be based on 5.9, so yes we need it in the release branch. @saumyaj3 needs to base it from 5.9 it that scenario.

I don't think there will be any risk for Cura with merging it since the changes are in the Emscripten communication class, which will not be compiled for desktop applications

@saumyaj3 saumyaj3 changed the base branch from main to 5.9 October 14, 2024 07:58
@saumyaj3
Copy link
Contributor Author

I changed it to 5.9 branch

Copy link
Contributor

@wawanbreton wawanbreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@jellespijker
Copy link
Member

@saumya did you also base it from 5.9? otherwise we will pull in main into 5.9

@saumyaj3
Copy link
Contributor Author

I started working from main. The package created is also from main. I can also recreate the packages

@HellAholic HellAholic merged commit 48811a3 into 5.9 Oct 14, 2024
27 checks passed
@HellAholic HellAholic deleted the NP-349-get-engineinfo-in-neoprep branch October 14, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants