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

Introduce user-defined wrapdb mirror #13953

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Nov 24, 2024

  1. Introduce user-defined wrapdb mirror

    This consolidates all queries to the wrapdb to go through the open_wrapdburl()
    function. The function handles a domain-specific url scheme
    wrapdb. When encountered, it substitutes the scheme with https and
    an authority(netloc) with either upstream wrapdb address or
    a user-defined one from the MESON_WRAPDB_MIRROR environment variable.
    klokik committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    840f286 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7406974 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. Change mirror address configuration to project-local JSON

    Environment variables are prone to shell injection attacks, especially
    on build servers that many people may have access to. Changing address in
    a file requires an explicit command that is supposedly under the control
    of a trusted developer.
    klokik committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    51a23d2 View commit details
    Browse the repository at this point in the history