Skip to content

Add SaveProtocolVersion#24

Open
ogeesan wants to merge 20 commits intosanworks:developfrom
ogeesan:launcher/add-hash
Open

Add SaveProtocolVersion#24
ogeesan wants to merge 20 commits intosanworks:developfrom
ogeesan:launcher/add-hash

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