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

Set external runtime path #1633

Closed
wants to merge 5 commits into from

Conversation

petervdonovan
Copy link
Collaborator

When we make changes to reactor-ts and accompanying changes in
lingua-franca we cannot point to the version of reactor-ts that is
published on NPM. We need to clone a specific ref and point to it.

Locally, pointing to the correct runtime version fixes the problem that
I observed in #1607. If this change to the yaml file is correct then
this should make that PR mergeable.

This PR also fixes a bug in the way we pass CLI args because this bug was inhibiting my ability to debug #1607. I decided to fix the bug rather than working around it

When we make changes to reactor-ts and accompanying changes in
lingua-franca we cannot point to the version of reactor-ts that is
published on NPM. We need to clone a specific ref and point to it.

Locally, pointing to the correct runtime version fixes the problem that
I observed in #1607. If this change to the yaml file is correct then
this should make that PR mergeable.
.collect(Collectors.toUnmodifiableSet());

Properties props = new Properties();

for (OptionSpec option : spec.options()) {
String optionName = option.longestName();
if (optionName.startsWith("--")) optionName = optionName.substring(2);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (optionName.startsWith("--")) optionName = optionName.substring(2);

@@ -261,27 +261,26 @@ protected Properties filterPassOnProps() {
BuildParm.SCHEDULER,
BuildParm.THREADING,
BuildParm.WORKERS)
.map(param -> param.getKey())
.map(BuildParm::getKey)
.collect(Collectors.toUnmodifiableSet());

Properties props = new Properties();

for (OptionSpec option : spec.options()) {
String optionName = option.longestName();
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
String optionName = option.longestName();
String optionName = option.descriptionKey();

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think I commented this earlier, but I couldn't see my comment anymore. This issue was fixed on master #1631 in a different way.

.github/workflows/ts-tests.yml Outdated Show resolved Hide resolved
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.

3 participants