WeiZhong94 commented on a change in pull request #10103:
[FLINK-14506][python][build] Improve the release script for Python API release
package
URL: https://github.com/apache/flink/pull/10103#discussion_r347295400
##########
File path: flink-python/dev/lint-python.sh
##########
@@ -435,6 +467,27 @@ function get_all_supported_checks() {
IFS=$_OLD_IFS
}
+# get all supported install components functions
+function get_all_supported_install_components() {
+ _OLD_IFS=$IFS
+ IFS=$'\n'
+ for fun in $(declare -F); do
+ if echo "${fun:11}" | grep -e "^install_" &>/dev/null; then
Review comment:
extract this logic to a function like "regexp_match"? Returning a boolean
value is supported in bash functions. See
https://stackoverflow.com/questions/5431909/returning-a-boolean-from-a-bash-function
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services