-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-46083: [Release][Packages] Use Artifactory for APT/Yum repositories again #46108
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
…itories again It seems that ASF's Maven repository (Nexus 2) isn't suitable for APT/Yum repositories because it can't update existing files. We need to update existing files for APT/Yum repositories' metadata.
|
|
|
I'm trying this with 20.0.0 RC0 artifacts on local... |
|
Uploaded to https://packages.apache.org/ui/native/arrow/*-rc/ . I'll check them later. |
|
I am testing this in #46076 and getting errors because the repo files still point to repo1.a.o but I guess that's expected because we have to regenerate the list? |
|
We should also revert #46082 |
Co-authored-by: Jacob Wujciak-Jens <[email protected]>
Right. We need to rebuild I'll test the current verify scripts with 20.0.0 RC0 packages before we merge this: diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.sh
index 02296c2079..90c171e906 100755
--- a/dev/release/verify-apt.sh
+++ b/dev/release/verify-apt.sh
@@ -131,7 +131,7 @@ else
rc)
sed \
-i"" \
- -e "s,^URIs: \\(.*\\)/,URIs: \\1-${suffix}/,g" \
+ -e "s,^URIs: https://repo1.maven.org/maven2/org/apache/arrow/${distribution},URIs: ${artifactory_base_url}/,g" \
/etc/apt/sources.list.d/apache-arrow.sources
;;
esacdiff --git a/dev/release/verify-yum.sh b/dev/release/verify-yum.sh
index 8691e538ec..d1d4b25574 100755
--- a/dev/release/verify-yum.sh
+++ b/dev/release/verify-yum.sh
@@ -179,6 +179,7 @@ else
suffix=${TYPE%-release}
sed \
-i"" \
+ -e "s,https://repo1.maven.org/maven2/org/apache/arrow,${artifactory_base_url},g" \
-e "s,/almalinux/,/almalinux-${suffix}/,g" \
-e "s,/centos/,/centos-${suffix}/,g" \
-e "s,/amazon-linux/,/amazon-linux-${suffix}/,g" \ |
|
|
It worked. This is ready. |
assignUser
left a comment
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.
Great, thank you!
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 72c246a. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 78 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…s again (#46108) ### Rationale for this change It seems that ASF's Maven repository (Nexus 2) isn't suitable for APT/Yum repositories because it can't update existing files. We need to update existing files for APT/Yum repositories' metadata. Let's keep using Artifactory for 20.0.0. We may revisit this after 20.0.0 release. ### What changes are included in this PR? * Use Artifatory again. * Use packages.apache.org not apache.jfrog.io. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. (Keep the existing URL.) * GitHub Issue: #46083 Lead-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Jacob Wujciak-Jens <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
…itories again (apache#46108) ### Rationale for this change It seems that ASF's Maven repository (Nexus 2) isn't suitable for APT/Yum repositories because it can't update existing files. We need to update existing files for APT/Yum repositories' metadata. Let's keep using Artifactory for 20.0.0. We may revisit this after 20.0.0 release. ### What changes are included in this PR? * Use Artifatory again. * Use packages.apache.org not apache.jfrog.io. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. (Keep the existing URL.) * GitHub Issue: apache#46083 Lead-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Jacob Wujciak-Jens <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
arrow-apt-source and arrow-release changed to use packages.apache.org from apache.jfrog.io in apache/arrow#46108 . (Note that packages.apache.org is an alias of apache.jfrog.io.) We need to do the same change to pass CI. Closes apache#2754
arrow-apt-source and arrow-release changed to use packages.apache.org from apache.jfrog.io in apache/arrow#46108 . (Note that packages.apache.org is an alias of apache.jfrog.io.) We need to do the same change to pass CI. Closes apache#2754
…2756) arrow-apt-source and arrow-release changed to use packages.apache.org from apache.jfrog.io in apache/arrow#46108 . (Note that packages.apache.org is an alias of apache.jfrog.io.) We need to do the same change to pass CI. Fixes #2757.
…pache#2756) arrow-apt-source and arrow-release changed to use packages.apache.org from apache.jfrog.io in apache/arrow#46108 . (Note that packages.apache.org is an alias of apache.jfrog.io.) We need to do the same change to pass CI. Fixes apache#2757.
Rationale for this change
It seems that ASF's Maven repository (Nexus 2) isn't suitable for APT/Yum repositories because it can't update existing files. We need to update existing files for APT/Yum repositories' metadata.
Let's keep using Artifactory for 20.0.0. We may revisit this after 20.0.0 release.
What changes are included in this PR?
Are these changes tested?
Yes.
Are there any user-facing changes?
No. (Keep the existing URL.)