-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add project and branch detection in shell #67
Conversation
76f2ecc
to
830209b
Compare
scripts/project_detection.sh
Outdated
|
||
PROJECT_NAME_FILE="scripts/project_name.txt" | ||
|
||
if echo "$SCRIPT_DIR" | grep -q "/framework/scripts" || echo "$SCRIPT_DIR" | grep -q "/tests/scripts"; then |
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.
Seems unnecessary if we assume the scripts are always invoked from the project's root (which as I said on the other PR, is a standard assumption - too bad it's often unwritten).
7408b3e
to
b1eee49
Compare
It might have to be done in a following PR because the CI is not passing when I do that. Either I'm doing something wrong or maybe there're still PRs that have to be merged before I'm able to remove this temporary solution? |
Move in_mbedtls_repo() and in_tf_psa_repo() there Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Because the scripts are always invoked from the project's root Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
This reverts commit b1eee49. Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
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.
LGTM, thanks!
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.
LGTM, thanks!
Resolves #39
Development: Mbed-TLS/mbedtls#9763
3.6: Mbed-TLS/mbedtls#9764
Gatekeper note (mpg): CI can't pass here as we now depend on the
FRAMEWORK
variables defined by the associated PRs. So, we'll rely on CI status in 9763 and 9764. We also need to merge the 3 PRs at the same time in order to avoid breakage - so we won't do the usual pointer update in 9763 and 9764 after merging this one in order to reduce the window where things are in an inconsistent state. (We can update the pointer to the merge commit as follow-ups to 9763 and 9764.)