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

添加至 scoop,brew, AUR 等包管理系统 #16

Open
3 of 6 tasks
ccmywish opened this issue May 31, 2024 · 13 comments
Open
3 of 6 tasks

添加至 scoop,brew, AUR 等包管理系统 #16

ccmywish opened this issue May 31, 2024 · 13 comments
Assignees
Labels
Release Release
Milestone

Comments

@ccmywish
Copy link
Contributor

ccmywish commented May 31, 2024

对于更新问题,我们最好的解决办法是让 chsrc 被添加到这些包管理系统中:

  • homebrew
  • scoop
  • AUR
  • Flatpak
  • snap
  • 其它平台
@baka-gourd
Copy link

baka-gourd commented May 31, 2024

AUR

对于AUR,可以直接使用Action做自动化构建
https://github.com/KSXGitHub/github-actions-deploy-aur

@ccmywish
Copy link
Contributor Author

ccmywish commented Jun 5, 2024

scoop

要求:500 stars and/or 150 forks

ccmywish added a commit that referenced this issue Jun 5, 2024
[GitHub link #16]
@ccmywish
Copy link
Contributor Author

ccmywish commented Jun 5, 2024

@ccmywish ccmywish added 维护与贡献 Maintain and Contribute Release Release labels Jun 7, 2024
@ccmywish ccmywish added this to the v0.1.6 milestone Jun 7, 2024
@Aaron-212
Copy link

Homebrew PR 发了 Homebrew/homebrew-core#173951

@ccmywish ccmywish removed the 维护与贡献 Maintain and Contribute label Jun 8, 2024
@ccmywish
Copy link
Contributor Author

ccmywish commented Jun 8, 2024

Hi @Aaron-212 ,十分感谢你的贡献!

有两个问题:

  1. 现在已经发布了最新版 v0.1.6,增加了不少内容,可以使用这个
  2. 已经给macOS提供了预编译版本,x64M1 现已经都支持,为什么不直接下载使用这两个预编译的二进制文件呢?

@ccmywish ccmywish modified the milestones: v0.1.6, v0.1.7 Jun 8, 2024
@Aaron-212
Copy link

Hi @Aaron-212 ,十分感谢你的贡献!

有两个问题:

  1. 现在已经发布了最新版 v0.1.6,增加了不少内容,可以使用这个
  2. 已经给macOS提供了预编译版本,x64M1 现已经都支持,为什么不直接下载使用这两个预编译的二进制文件呢?
  1. push了👍
  2. 可以看这个https://docs.brew.sh/Bottles,二进制可执行文件由BrewTestBot自动管理、编译、分发

@chenrui333
Copy link
Contributor

FYI, gonna ship the formula on the brew side

@Gn3po4g
Copy link
Contributor

Gn3po4g commented Jul 24, 2024

ScoopInstaller/Main#6047
虽说是给中国用户用的软件,还是给main提交了PR,不知道能否通过

@niheaven
Copy link

已经通过了,不过最好还是加上英文输出。

@ccmywish
Copy link
Contributor Author

太感谢了,@Gn3po4g @niheaven 👍🎉

英文将在后续版本中逐渐引入

ccmywish added a commit that referenced this issue Aug 17, 2024
@ccmywish
Copy link
Contributor Author

ccmywish commented Aug 23, 2024

对英文的支持

@niheaven @Gn3po4g

在最新发布的 v0.1.8-2024/08/23 中添加了选项 -en(glish) 来支持全英文输出。目前 chsrc 作为一个框架本身已经全部实现了英文输出。但是具体某一个目标(target)的换源过程中,暂时可能还会包含中文输出,这个具体由该目标的换源方法(recipe)的作者来实现英文支持。


示例

帮助:
image

换源过程中的提示:
image

chsrc ls <target>
image

@Jerry-Terrasse
Copy link
Contributor

Jerry-Terrasse commented Aug 28, 2024

AUR支持

已进行了AUR repo的创建:chsrc chsrc-git
自动构建正在开发中: chsrc-aur-support
自动构建开发完成

@ccmywish
Copy link
Contributor Author

@Jerry-Terrasse

👍 十分感谢 🎉

可在这里增加你的贡献信息 https://github.com/RubyMetric/chsrc/blob/main/src/chsrc.c#L13

另外能否顺便修改 README 和 pkg/README.md 以描述如何安装使用,以及描述包相关的信息

ccmywish pushed a commit that referenced this issue Aug 29, 2024
@ccmywish ccmywish modified the milestones: v0.1.11, v1.0.0 Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Release
Projects
None yet
Development

No branches or pull requests

7 participants