Skip to content

Auto-update ports fetched with vcpkg_download_distfile - #269

Closed
3nids wants to merge 1 commit into
mainfrom
auto-update-arrow
Closed

3nids wants to merge 1 commit into
mainfrom
auto-update-arrow

Conversation

@3nids

@3nids 3nids commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

The updater only handled vcpkg_from_pythonhosted and vcpkg_from_github ports, and only ones named py-*, so arrow was never visited and would not have matched either fetch method anyway.

Add update_distfile_ports(), which walks every port and updates the ones that opt in by declaring their upstream GitHub repository in the portfile:

# GITHUB_REPO apache/arrow
# GITHUB_REF  apache-arrow-${VERSION}

The latest non-prerelease tag is resolved through the existing get_latest_tag(), and the archive is downloaded from the port's own URLS value with ${VERSION} substituted, so arrow keeps using the official Apache source release rather than the GitHub tarball.

Requiring the marker keeps the other non-py- ports (python3, gdal, pybind11, vcpkg-tool-*) out of the automation for now.

Also extract get_version_key() and reuse it in update_github_ports().

This bumps arrow 23.0.1 -> 25.0.1; all five patches still apply.

The updater only handled vcpkg_from_pythonhosted and vcpkg_from_github
ports, and only ones named py-*, so arrow was never visited and would
not have matched either fetch method anyway.

Add update_distfile_ports(), which walks every port and updates the ones
that opt in by declaring their upstream GitHub repository in the
portfile:

    # GITHUB_REPO apache/arrow
    # GITHUB_REF  apache-arrow-${VERSION}

The latest non-prerelease tag is resolved through the existing
get_latest_tag(), and the archive is downloaded from the port's own URLS
value with ${VERSION} substituted, so arrow keeps using the official
Apache source release rather than the GitHub tarball.

Requiring the marker keeps the other non-py- ports (python3, gdal,
pybind11, vcpkg-tool-*) out of the automation for now.

Also extract get_version_key() and reuse it in update_github_ports().

This bumps arrow 23.0.1 -> 25.0.1; all five patches still apply.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@3nids

3nids commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator Author

superseded by #270

@3nids 3nids closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants