Skip to content
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

Add tooling for recording and replaying PyPI interactions #609

Closed
wants to merge 6 commits into from

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    2ecac4b View commit details
    Browse the repository at this point in the history
  2. Add offlinepi

    zanieb committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    c4cb290 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. shellcheck

    zanieb committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    5565aef View commit details
    Browse the repository at this point in the history
  2. Use a HAR-file

    zanieb committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    8e437a9 View commit details
    Browse the repository at this point in the history
  3. Add install instructions

    zanieb committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    795b6f9 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Allow injecting certificate for tests (#615)

    Built on #609
    
    When activating the `puffin-test-custom-ca-cert` feature, you can inject
    a custom ssl certificate by setting `PUFFIN_TEST_CA_CERT_PEM` to a pem
    file, e.g.
    
    ```bash
    PUFFIN_TEST_CA_CERT_PEM=$(pwd)/mitmproxy-ca-cert.pem ./offlinepi record cargo test --features pypi --features puffin-test-custom-ca-cert -- --test-threads=1 
    ```
    
    This feature is off by default, so this is not possible in release
    builds.
    konstin authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    d397401 View commit details
    Browse the repository at this point in the history