Skip to content

[FEATURE] Add mirror search/selection #145

@Firstp1ck

Description

@Firstp1ck

Summary: Add mirror search/selection

Mirror search and selection

Problem

pacman-mirrorlist and manual editing are clunky; users want faster mirror pickers aligned with Pacsea’s UX.

Recommended implementation

  • Data source: reflector if present (optional dependency), else parse public mirror JSON/CSV if already bundled or fetched with documented TTL cache.
  • UI: Modal or dedicated panel: filter by country, protocol, HTTPS, sort by score/latency from reflector output.
  • Apply path: Write to /etc/pacman.d/mirrorlist only through privileged command builder (sudo/doas) with confirmation and --dry-run preview of file diff.
  • Safety: Backup previous mirrorlist to timestamped path or rely on pacsave pattern; document restore steps in error messages.

Acceptance criteria

  • Graceful degradation when reflector absent (suggest install).
  • Dry-run shows exact command and target paths without writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions