Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apple/swift-container-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.1.1
Choose a base ref
...
head repository: apple/swift-container-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.1.2
Choose a head ref
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 18, 2025

  1. ci: Run End-to-End Tests for Debug and Release Configurations

    Motivation
    ----------
    
    It looks like building images with containertool on Linux fails downloading the
    base image `swift:slim` from dockerhub.
    
    Modifications
    -------------
    
    Update end to end and integration workflows to test both `scratch` and `swift:slim`
    base images.
    
    Result
    ------
    
    End-to-End Tests will now fail in release configuration.
    
    Test Plan
    ---------
    
    Other tests are not affected by this.
    herzi authored and euanh committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    79027c5 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2025

  1. ContainerRegistry: Remove Authorization header when redirecting on Linux

    Docker Hub now redirects pulls for swift:slim to an S3 bucked behind
    CloudFlare. URLSession on macOS follows the redirect correctly, but
    URLSession on Linux incorrectly includes an Authorization header
    which S3 rejects.
    
    This commit adds a URLSession delegate which removes the Authorization
    header when following a redirect.
    euanh committed Nov 19, 2025
    Configuration menu
    Copy the full SHA
    c06f14b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2025

  1. ContainerRegistry: Remove Authorization header when redirecting on Li…

    …nux (#167)
    
    Motivation
    ----------
    
    In #164, @herzi reported a problem building container images based on
    `swift:slim` on Linux. The root cause of the problem is that Docker Hub
    now redirects pulls for `swift:slim` to an S3 bucked behind CloudFlare.
    URLSession on macOS follows the redirect correctly, but URLSession on
    Linux incorrectly includes an `Authorization` header which S3 rejects.
    
    Modifications
    -------------
    
    Add a URLSession delegate which removes the `Authorization` header when
    following a redirect.
    
    Result
    ------
    
    Pulling `swift:slim` from Docker Hub works again.
    
    Fixes: #166 
    
    Test Plan
    ---------
    
    * #164 extended the end-to-end tests to use `swift:slim` as well as
    `scratch`, demonstrating the problem. The extended tests now pass.
    * All existing tests continue to pass.
    euanh authored Nov 21, 2025
    Configuration menu
    Copy the full SHA
    1ea1608 View commit details
    Browse the repository at this point in the history
Loading