hequn8128 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_r350024300
 
 

 ##########
 File path: flink-python/dev/lint-python.sh
 ##########
 @@ -105,6 +123,29 @@ function check_valid_stage() {
     return 1
 }
 
+function parse_component_args() {
+    local REAL_COMPONENTS=()
+    for component in ${INSTALLATION_COMPONENTS[@]}; do
+        # because all other components depends on conda, the install of conda 
is
+        # required component.
+        if [[ "$component" == "basic" ]] || [[ "$component" == "miniconda" ]]; 
then
+            continue
+        fi
+        if [[ "$component" == "all" ]]; then
+            component="environment"
+        fi
+        if [[ `contains_element "${SUPPORTED_INSTALLATION_COMPONENTS[*]}" 
"${component}"` = true ]]; then
+            REAL_COMPONENTS+=(${component})
+        else
+            echo "unknown install component ${component}"
 
 Review comment:
   Also print the components that are supported?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to