kou commented on a change in pull request #11562:
URL: https://github.com/apache/arrow/pull/11562#discussion_r748669833
##########
File path: dev/release/VERIFY.md
##########
@@ -74,3 +74,35 @@ You need to set `PKG_CONFIG_PATH` to find libffi on macOS:
```console
% export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:$PKG_CONFIG_PATH
```
+
+### C++, C#, C GLib, Go, JavaScript, Python, Ruby
+
+Example scripts to install the dependencies to run the verification
+script for verifying the source on Ubuntu 20.04, Rocky Linux 8 and
+AlmaLinux 8 are in this folder and named `setup-ubuntu.sh` and
+`setup-rhel-clone.sh`. These can be adapted to different
+situations. Go and JavaScript are installed by the verification
+script in the testing environment.
+
+Verifying the binaries additionally requires installation of Docker.
+Verifying the wheels additionally requires running
+```console
+git submodule init
+git submodule update
+export PARQUET_TEST_DATA="${PWD}/cpp/submodules/parquet-testing/data"
+export ARROW_TEST_DATA="${PWD}/testing/data"
+```
+from the arrow directory.
Review comment:
We don't need this because the verification script does this
automatically.
##########
File path: dev/release/setup-rhel-rebuilds.sh
##########
@@ -0,0 +1,53 @@
+#!/bin/sh -l
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+# A script to install dependencies required for release
+# verification Red Hat Enterprise Linux 8 clones in particular
+# on AlmaLinux 8 and Rocky Linux 8
+
+dnf -y update
+dnf clean all
+dnf -y install \
+ dnf-plugins-core \
+ yum-utils
+dnf config-manager --set-enabled powertools
+dnf -y update
Review comment:
Why is this needed?
##########
File path: dev/release/setup-rhel-rebuilds.sh
##########
@@ -0,0 +1,53 @@
+#!/bin/sh -l
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+# A script to install dependencies required for release
+# verification Red Hat Enterprise Linux 8 clones in particular
+# on AlmaLinux 8 and Rocky Linux 8
+
+dnf -y update
+dnf clean all
Review comment:
Whey are they needed?
##########
File path: dev/release/setup-rhel-rebuilds.sh
##########
@@ -0,0 +1,53 @@
+#!/bin/sh -l
Review comment:
Filename is wrong: `setup-rhel-rebuilds.sh` -> `setup-rhel-clone.sh`
##########
File path: dev/tasks/verify-rc/github.Almalinux.amd64.yml
##########
@@ -0,0 +1,25 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+jobs:
+ verify:
+ name: "Verify release candidate AlmaLinux"
+ runs:
+ using: 'docker'
+ image: 'AlmaLinuxDockerfile'
+
Review comment:
If we don't work on Crossbow task in this pull request, we should not
add/change any files under `dev/tasks/`.
##########
File path: dev/release/setup-rhel-rebuilds.sh
##########
@@ -0,0 +1,53 @@
+#!/bin/sh -l
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+# A script to install dependencies required for release
+# verification Red Hat Enterprise Linux 8 clones in particular
+# on AlmaLinux 8 and Rocky Linux 8
+
+dnf -y update
+dnf clean all
+dnf -y install \
+ dnf-plugins-core \
+ yum-utils
Review comment:
Why is this needed?
##########
File path: dev/release/setup-rhel-rebuilds.sh
##########
@@ -0,0 +1,53 @@
+#!/bin/sh -l
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+# A script to install dependencies required for release
+# verification Red Hat Enterprise Linux 8 clones in particular
+# on AlmaLinux 8 and Rocky Linux 8
+
+dnf -y update
+dnf clean all
+dnf -y install \
+ dnf-plugins-core \
+ yum-utils
+dnf config-manager --set-enabled powertools
+dnf -y update
+dnf -y module disable ruby
+dnf -y module enable ruby:2.7
+dnf -y groupinstall "Development Tools"
+dnf -y install \
+ epel-release \
+ ninja-build \
+ libcurl-devel \
+ python3-pip \
+ cmake \
+ git \
+ ncurses-devel \
+ gobject-introspection-devel \
+ libffi-devel \
+ openssl-devel \
+ maven \
+ java-1.8.0-openjdk-devel \
+ wget \
+ readline-devel \
+ gdbm-devel \
+ ruby-devel \
+ llvm-toolset \
+ llvm-devel
+dnf -y update
Review comment:
Why is this needed?
##########
File path: dev/release/setup-ubuntu.sh
##########
@@ -0,0 +1,33 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# A script to install dependencies required for release
+# verification on Ubuntu 20.04
+
+apt-get update
+apt-get -y install \
+ build-essential \
+ openjdk-8-jdk \
+ pkg-config \
+ maven \
+ ruby-dev \
+ cmake \
+ python3-pip \
+ ninja-build \
+ llvm-dev \
+ clang \
+ libssl-dev
Review comment:
Could you sort this list in alphabetical order?
##########
File path: dev/release/setup-rhel-rebuilds.sh
##########
@@ -0,0 +1,53 @@
+#!/bin/sh -l
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+# A script to install dependencies required for release
+# verification Red Hat Enterprise Linux 8 clones in particular
+# on AlmaLinux 8 and Rocky Linux 8
+
+dnf -y update
+dnf clean all
+dnf -y install \
+ dnf-plugins-core \
+ yum-utils
+dnf config-manager --set-enabled powertools
+dnf -y update
+dnf -y module disable ruby
+dnf -y module enable ruby:2.7
+dnf -y groupinstall "Development Tools"
+dnf -y install \
+ epel-release \
+ ninja-build \
+ libcurl-devel \
+ python3-pip \
+ cmake \
+ git \
+ ncurses-devel \
+ gobject-introspection-devel \
+ libffi-devel \
+ openssl-devel \
+ maven \
+ java-1.8.0-openjdk-devel \
+ wget \
+ readline-devel \
+ gdbm-devel \
+ ruby-devel \
+ llvm-toolset \
+ llvm-devel
Review comment:
Could you sort this list in alphabetical order?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]