-
Notifications
You must be signed in to change notification settings - Fork 180
Cleanup monitoring recipe #6034
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
Conversation
|
New monitoring version v3.19.9 tagged and included here, |
| ${GRPC_REVISION:+-DGRPC_ROOT="${GRPC_ROOT}"} \ | ||
| -DCMAKE_INSTALL_PREFIX=$INSTALLROOT \ | ||
| ${BOOST_REVISION:+-DBOOST_ROOT=$BOOST_ROOT} \ | ||
| ${LIBGRPC_REVISION:--DO2_MONITORING_CONTROL_ENABLE=0} \ |
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.
@singiamtel Can we disable SC2086 or make sure that it does not complain for certain kind of variables? ${LIBGRPC_REVISION:--DO2_MONITORING_CONTROL_ENABLE=0} will never expand to something with a space in it.
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.
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.
It can only be disabled globally in the alidistlint config, or case by case with # shellcheck disable=SC2086 . What do you prefer?
If the problem is that it's annoying to quote them when unneeded, maybe the autofix thing helps.
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.
No, the issue is that we should not add quotes when not needed. I would vote for disabling SC2086 until it's possible to do whitelist "safe" variables.
| set MONITORING_ROOT \$::env(BASEDIR)/$PKGNAME/\$version | ||
| prepend-path ROOT_INCLUDE_PATH \$PKG_ROOT/include | ||
| EoF | ||
| alibuild-generate-module --bin --lib --root > etc/modulefiles/$PKGNAME |
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.
Same here $PKGNAME is guaranteed not to expand.
Avoid picking up incompatible protobuf from the system. Needs a new release of monitoring to be effective.
Follow-up to alisw/alidist#6034 (comment)
* Move to latest alibuild-recipe-tools * Cleanup monitoring recipe Avoid picking up incompatible protobuf from the system. Needs a new release of monitoring to be effective.
Follow-up to alisw/alidist#6034 (comment)
* Move to latest alibuild-recipe-tools * Cleanup monitoring recipe Avoid picking up incompatible protobuf from the system. Needs a new release of monitoring to be effective.
Avoid picking up incompatible protobuf from the system. Needs a new release of
monitoring to be effective.