对 `Omarchy`(基于 Arch Linux 的发行版)的支持
@yayoinoyume y travaille déjà.
Depuis le 5/9/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
描述新的换源菜品
Omarchy 是基于 Arch Linux 的发行版(操作系统类)。其软件源由两部分组成:
- Arch Linux 官方源:经
/etc/pacman.d/mirrorlist配置,为 core/extra/multilib 提供标准 archlinux 仓库镜像; - Omarchy Package Repository (OPR):Omarchy 官方专属软件包仓库,配置在
/etc/pacman.conf的[omarchy]段(如Server = https://pkgs.omarchy.org/stable/$arch,通道分 stable/edge)。
目前 chsrc 无 Omarchy 支持,用户只能手动改配置文件。本请求新增两个 dish:
omarchy:换 Arch 镜像源。复用os_arch的源列表(chef_use_other_dish_sources),不重复维护一份;写入时保留官方 stable 镜像作兜底行、幂等清理 mirrorlist 中累积的 Server 行。omarchyopr:换[omarchy]段的 OPR 仓库源。
重要注意:Omarchy 官方仅发布 x86_64 仓库,非 x86_64 架构下会报错退出。
请尽可能提供可参考的换源方法
- Arch 镜像源换源:Omarchy 的 mirrorlist 是直接复用标准 Arch 镜像,与 Chsrc 现有
archdish 的换源方法完全一致,参考方法见 Chsrc的README.md / 清华 TUNA / 中科大 USTC 等官方帮助页,也感谢先前为Chsrc提供Arch镜像的前辈们。 - OPR 换源:
- 官方
[omarchy]段Server = https://pkgs.omarchy.org/stable/$arch。 - 自建镜像
omarchycn为https://git.zacharyzhang.com/api/packages/ZacharyZhang-NY/arch/omarchy/x86_64(Gitea 自托管仓库、重新签名,需导入其 registry key)。
- 官方
重要注意:Omarchy 的更新脚本 omarchy-refresh-pacman 会用默认文件整体覆盖 pacman.conf / mirrorlist,换源后如被还原需重新执行。
请尽可能提供已有镜像站
omarchy dish(同 Arch 镜像源):
- 上游:
https://stable-mirror.omarchy.org(官方 stable) - 清华 TUNA:
https://mirrors.tuna.tsinghua.edu.cn/archlinux - 中科大 USTC:
https://mirrors.ustc.edu.cn/archlinux - 阿里云:
https://mirrors.aliyun.com/archlinux - 腾讯云:
https://mirrors.tencent.com/archlinux - 上海交大 SJTUG:
https://mirror.sjtu.edu.cn/archlinux - 北外 BFSU:
https://mirrors.bfsu.edu.cn/archlinux - 华为云:
https://mirrors.huaweicloud.com/archlinux - Arch 官方全球 Geo:
https://geo.mirror.pkgbuild.com
omarchyopr dish(OPR 仓库):
- 上游:
https://pkgs.omarchy.org/stable/$arch(官方 OPR) - 自建中国镜像
omarchycn:https://git.zacharyzhang.com/api/packages/ZacharyZhang-NY/arch/omarchy/x86_64(key 为 Omarchy 官方 Arch Registry key,可通过https://git.zacharyzhang.com/api/packages/ZacharyZhang-NY/arch/repository.key拉取)
重要注意:我询问了中国镜像站的作者,对方表示近期可能会与omarchy官方进行合并,届时我会根据具体情况再来维护更新。
目前已在安装了omarchy官方镜像和omarchycn镜像的机器上测试。
@ccmywish 恳请 review,对应 PR #388 我将按照要求提交至 dev 分支,如果我做的不够好,我会继续努力,争取为 Chsrc 做出自己的贡献,因为这个工具陪伴了我很久,我也很喜欢它。
- Langage dominant
- C
- Étoiles
- 6.9k
- Forks
- 285
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de RubyMetric/chsrc
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
RubyMetric/chsrc#396 ·
-
[arch] 多次 chsrc set arch 后 mirrorlist 累积旧 Server 行,upstream 官方源地址无效Peut-être à nouveau libre @yayoinoyume l’a pris il y a 31 jours, et aucune pull request n’est ouverte. OuverteLinux os_dish 源
RubyMetric/chsrc#393 · 2 commentaires · 2 réactions · 1 personne assignée ·
-
`ls` 命令呈现 "可用源" 的界面有改进空间Peut-être à nouveau libre @ccmywish l’a pris il y a 32 jours, et aucune pull request n’est ouverte. Ouverte改善加强
RubyMetric/chsrc#389 · 6 commentaires · 1 personne assignée ·
-
`curl` 测速 段错误 (核心已转储)Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
RubyMetric/chsrc#386 · 4 commentaires ·
-
对 `sources dish` 贡献者的展示Peut-être à nouveau libre @ccmywish l’a pris il y a 46 jours, et aucune pull request n’est ouverte. Ouverte改善加强
RubyMetric/chsrc#384 · 5 commentaires · 1 personne assignée ·
Toutes les issues de RubyMetric/chsrc
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
chore(gateway): emit INFO budget reserved/settled logs for proactivity v2 (chip task_2855f4ec)Ouvertebackend
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
BasedHardware/omi#20940 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Linux notifications: the default action's ' ' label shows as a blank button in xfce4-notifydOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
kovidgoyal/kitty#10625 ·
Les mainteneurs répondent en général sous 1 jour
-
Feature Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
Les mainteneurs répondent en général sous 1 jour