Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Apr 11, 2025

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.)

…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.
@github-actions
Copy link

⚠️ GitHub issue #46083 has been automatically assigned in GitHub to PR creator.

@kou
Copy link
Member Author

kou commented Apr 11, 2025

I'm trying this with 20.0.0 RC0 artifacts on local...

@kou
Copy link
Member Author

kou commented Apr 11, 2025

@assignUser
Copy link
Member

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?

@assignUser
Copy link
Member

We should also revert #46082

Co-authored-by: Jacob Wujciak-Jens <[email protected]>
@kou
Copy link
Member Author

kou commented Apr 14, 2025

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?

Right. We need to rebuild apache-arrow-apt-source/apache-arrow-release packages for 20.0.0 because they include repository URLs.

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
       ;;
   esac
diff --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" \

@kou
Copy link
Member Author

kou commented Apr 14, 2025

We should also revert #46082

We don't need to revert #46082 because it's only for Maven repository. This feature is needed for Artifactory.

@kou
Copy link
Member Author

kou commented Apr 14, 2025

  • debian/bookworm
  • debian/trixie
  • ubuntu/jammy
  • ubuntu:noble
  • arm64v8/debian:bookworm
  • arm64v8/debian:trixie
  • arm64v8/ubuntu:jammy : can't test with QEMU
  • arm64v8/ubuntu:noble : can't test with QEMU
  • almalinux:9
  • almalinux:8
  • amazonlinux:2023
  • quay.io/centos/centos:stream9
  • quay.io/centos/centos:stream8
  • centos:7
  • arm64v8/almalinux:9
  • arm64v8/almalinux:8
  • arm64v8/amazonlinux:2023
  • quay.io/centos/centos:stream9 (--platform linux/arm64)
  • quay.io/centos/centos:stream8 (--platform linux/arm64)

@kou
Copy link
Member Author

kou commented Apr 14, 2025

It worked.

This is ready.

Copy link
Member

@assignUser assignUser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@assignUser assignUser merged commit 72c246a into apache:main Apr 14, 2025
11 checks passed
@assignUser assignUser removed the awaiting committer review Awaiting committer review label Apr 14, 2025
@kou kou deleted the release-apt-yum branch April 14, 2025 21:18
@conbench-apache-arrow
Copy link

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.

assignUser added a commit that referenced this pull request Apr 15, 2025
…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]>
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Apr 15, 2025
…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]>
kou added a commit to kou/arrow-adbc that referenced this pull request Apr 29, 2025
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
kou added a commit to kou/arrow-adbc that referenced this pull request Apr 29, 2025
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
lidavidm pushed a commit to apache/arrow-adbc that referenced this pull request Apr 29, 2025
…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.
colin-rogers-dbt pushed a commit to dbt-labs/arrow-adbc that referenced this pull request Jun 10, 2025
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants