Skip to content

Feature request: Allow customizing the GitHub API URL #32

@iwahbe

Description

@iwahbe

I'm running mise with [settings.url_replacements]:

[settings.url_replacements]
"https://api.github.com" = "https://{my_gh_reverse_proxy}"

This works great for downloads but requires disabling attestations since the client doesn't allow overriding the URL. To enable the desired behavior in mise, this crate needs to support overriding the URL used for api.github.com.

If you are amenable to the change, I'd be happy to add support: AttestationClient::new_with_url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions