Skip to content

Unable to customize the idf-mirror (EIM-811) #817

@TritiumXs

Description

@TritiumXs

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

"When the --idf-mirror parameter is used, priority should be given to the address specified in the parameter."

Actual behavior (suspected bug)

If the https:// prefix is added, the fastest mirror will be selected automatically; if the https:// prefix is omitted, local resources will be selected instead of online resources.

Error logs or terminal output

Steps to reproduce the behavior

Here is my environment setup, though the reverse implementation could also be possible:
Located in China, testing shows that the Chinese mirrors have lower latency and should naturally be preferred. However, since the preference is to use GitHub, the parameters --idf-mirror [https://github.com](https://github.com) and --idf-mirror github.com were added.

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Windows 11 24H2

Shell

PowerShell

Additional context

This is just one of the parameters; other similar parameters associated with URLs are also highly likely to have issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions