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

Debug report #361

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Debug report #361

wants to merge 5 commits into from

Conversation

asymmetric
Copy link
Contributor

For visibility.

@asymmetric asymmetric requested a review from d-xo February 21, 2020 18:16
if [ "$PNAME" == "null" ];
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.

2 participants