-
Notifications
You must be signed in to change notification settings - Fork 25
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
#479 - Find outdated measures in your local BCL folder compared to Online BCL #517
Conversation
jmarrec
commented
May 4, 2022
- Fix Measure updates on BCL don't work #479
- Find outdated measures in your local BCL folder compared to Online BCL
…che that are oudated compared to online BCL
auto remoteBCL = new RemoteBCL(); | ||
int numUpdates = remoteBCL->checkForMeasureUpdates(); | ||
RemoteBCL remoteBCL; | ||
int numUpdates = remoteBCL.checkForMeasureUpdates(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bizarre that we only called this here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also bizarre it's actually never called anywhere. There's a lot of cruft in the codebase, cleaning it up at some point would be nice...
I guess a future enhancement would be to allow selectively updating certain measures from the measure dialog, that would be a new enhancement though. This is great. |
a future enhancement might be to adjust where the trigger is, and perhaps the UI and do something similar to the "Sync project measures" dialog. As far as being able to individually select measures, I'm not sure what the use case would be. IMHO your local ~/BCL folder should be kept in sync with the remote BCL. If you need to have another version, then make a copy to your local ~/OpenStudio/Measures directory, no? |