Skip to content

[cocoapods-proxy] Proxy requests to central.sonatype.com too#3736

Open
sjchmiela wants to merge 1 commit into
mainfrom
codex/proxy-sonatype-ios-downloads
Open

[cocoapods-proxy] Proxy requests to central.sonatype.com too#3736
sjchmiela wants to merge 1 commit into
mainfrom
codex/proxy-sonatype-ios-downloads

Conversation

@sjchmiela
Copy link
Copy Markdown
Contributor

@sjchmiela sjchmiela commented May 14, 2026

Summary

Adds central.sonatype.com support to the packaged expo-cocoapods-proxy gem used by iOS workers.

Change

  • Adds central.sonatype.com to the Pod::Downloader::Http proxy allowlist.
  • Adds spec coverage for Sonatype repository artifact URLs.

Code Requiring This

This PR is for CocoaPods :http pod source downloads. It does not proxy React Native's Net::HTTP metadata lookup.

React Native returns Sonatype artifact URLs to CocoaPods as :http pod sources here:

CocoaPods/cocoapods-downloader then uses Pod::Downloader::Http for those :http params:

Validation

  • rspec in packages/expo-cocoapods-proxy: 16 examples, 0 failures
  • git diff --check

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.57%. Comparing base (5ec4eaf) to head (b837833).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3736   +/-   ##
=======================================
  Coverage   56.57%   56.57%           
=======================================
  Files         901      901           
  Lines       38979    38979           
  Branches     8107     8107           
=======================================
  Hits        22047    22047           
  Misses      16825    16825           
  Partials      107      107           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sjchmiela sjchmiela changed the title [codex] Add Sonatype snapshot CocoaPods proxy support [codex] Add Sonatype repository CocoaPods proxy support May 14, 2026
@sjchmiela sjchmiela changed the title [codex] Add Sonatype repository CocoaPods proxy support [cocoapods-proxy] Proxy requests to central.sonatype.com too May 14, 2026
@sjchmiela sjchmiela added the no changelog PR that doesn't require a changelog entry label May 14, 2026
@sjchmiela sjchmiela marked this pull request as ready for review May 14, 2026 21:10
@sjchmiela sjchmiela requested a review from randomhajile May 14, 2026 21:10
@github-actions
Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
**/* @douglowder

Generated by CodeMention

@github-actions
Copy link
Copy Markdown

⏩ The changelog entry check has been skipped since the "no changelog" label is present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog PR that doesn't require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant