Skip to content
This repository was archived by the owner on Aug 20, 2021. It is now read-only.

Conversation

@asymmetric
Copy link
Contributor

For visibility.

@asymmetric asymmetric requested a review from d-xo February 21, 2020 18:16
echo "Please set a name in config.json"
exit 1
fi
export PNAME
Copy link
Contributor

Choose a reason for hiding this comment

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

what does this line do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Meaning what is PNAME usde for? It's passed to the setup script, which decides whether to create a project reports dir based on its presence.

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean why do we need to export PNAME if it's already set? I'm probably just missing some bash knowledge...

Copy link
Contributor Author

@asymmetric asymmetric Feb 29, 2020

Choose a reason for hiding this comment

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

It's to make it available to child processes. Now we passi it explicitly to setup-ci-project, so it's possible we could remove it.

Comment on lines 36 to 39
if [ "$PNAME" == "null" ];
echo "Please set a name in config.json"
exit 1
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

do we also need to do smth similar for "$KLAB_REPORT_DIR"?

@d-xo d-xo force-pushed the debug-report branch 2 times, most recently from 11d9669 to 4603866 Compare February 22, 2020 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants