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

Python Measures: Factor Ruby related source out of cli and into a shared library #4641

Closed
kbenne opened this issue Aug 2, 2022 · 0 comments · Fixed by #4674
Closed

Python Measures: Factor Ruby related source out of cli and into a shared library #4641

kbenne opened this issue Aug 2, 2022 · 0 comments · Fixed by #4674

Comments

@kbenne
Copy link
Contributor

kbenne commented Aug 2, 2022

This is probably the highest point of risk in the introduction of Python Measures. The idea is to put the ruby related embedded files, the ruby engine, and all "the trimmings" into a shared library, therefore making the cli no longer fully self contained. Currently this content is statically linked and embedded directly into the eopnstudio command line executable program.

@kbenne kbenne self-assigned this Aug 2, 2022
kbenne added a commit that referenced this issue Aug 17, 2022
The ruby engine is now loaded dynamically on demand like a plugin

ref #4641
kbenne added a commit that referenced this issue Aug 18, 2022
If the subcommand `experimental` is passed to the `openstudio` CLI, then
further argument parsing and workflow is diverted through a new C++
based pathway. If the experimental subcommand is not given then the
RubyEngine is loaded and further argument processing is handed of to the
conventional OpenStudio CLI processing and workflow.

ref #4641
@tijcolem tijcolem mentioned this issue Aug 25, 2022
20 tasks
@tijcolem tijcolem added this to the OpenStudio SDK 3.5.0 milestone Aug 26, 2022
kbenne added a commit that referenced this issue Sep 8, 2022
A new openstudio_utilities_minimal target is introduced for use by the
cli

ref #4641
jmarrec pushed a commit that referenced this issue Sep 13, 2022
The ruby engine is now loaded dynamically on demand like a plugin

ref #4641
jmarrec pushed a commit that referenced this issue Sep 13, 2022
If the subcommand `experimental` is passed to the `openstudio` CLI, then
further argument parsing and workflow is diverted through a new C++
based pathway. If the experimental subcommand is not given then the
RubyEngine is loaded and further argument processing is handed of to the
conventional OpenStudio CLI processing and workflow.

ref #4641
jmarrec pushed a commit that referenced this issue Sep 13, 2022
A new openstudio_utilities_minimal target is introduced for use by the
cli

ref #4641
@jmarrec jmarrec mentioned this issue Sep 15, 2022
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants