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 SaveProtocolVersion #24

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from

Conversation

ogeesan
Copy link
Contributor

@ogeesan ogeesan commented May 29, 2024

/Functions/User Functions/SaveProtocolVersion has been added. It uses the DataHash function from FEX to calculate MD5 hashes for all files in the current protocol folder and stores them in BpodSystem.Data.Info.VersionControl.ProtocolFiles as a scalar structure.

It also saves a .zip file (in Session Data/) of all files in the protocol folder. At the moment it's default true, but I guess it should be false?

I think in the future Info.VersionControl could contain information like the Git HEAD information.

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.

1 participant