Skip to content

APT 仓库 #208

Open

Description

@ccmywish

搭建 APT 仓库

指派:@sanchuanhehe

Activity

  1. added this to the v0.2.2 milestone on Jun 15, 2025
  2. added theissue type on Jun 15, 2025
  3. ccmywish commented on Jun 15, 2025

    @ccmywish
    ContributorAuthor

    可以直接 git commit 来完成该工作吗?

    1. 构建出 Packages、Packages.gz 文件
    2. 进入 https://github.com/RubyMetric/chsrc.run 仓库
    3. 把上述相关文件放到 ./apt 目录
    4. git add apt/Packages apt/Packages.gz ... 等等相关文件
    5. git commit

    暂时测试条件,触发条件为 push 到 gh-build 分支时

    似乎不需要上传到 Actions artifact?

  4. sanchuanhehe commented on Jun 16, 2025

    @sanchuanhehe
    Contributor

    可以先这样测试,但是直觉上会有很多隐患,比如git历史被污染之类的,同时我也在想直接通过apt/Packages apt/Packages.gz指向github release里的url怎么样

  5. sanchuanhehe commented on Jun 16, 2025

    @sanchuanhehe
    Contributor

    Actions artifact

    Actions artifact主要是测试用的

  6. sanchuanhehe commented on Jun 16, 2025

    @sanchuanhehe
    Contributor

    当然也是为了留出接口

  7. sanchuanhehe commented on Jun 16, 2025

    @sanchuanhehe
    Contributor

    可以写一个release触发的ci ,每次release自动更新 Packages 文件,追加到后面就行

  8. ccmywish commented on Jun 16, 2025

    @ccmywish
    ContributorAuthor

    git历史被污染

    虽然是在本仓库(RubyMetric/chsrc)中写的 workflow,并在此运行,但是 git commit 到的是 RubyMetric/chsrc.run 这个仓库,所以污染的只是那个仓库,那个仓库本来就用来专门放生成的文件。

    不过,我也觉得这种方法很原始,如果有其他方法那就更好了。

  9. ccmywish commented on Jun 16, 2025

    @ccmywish
    ContributorAuthor

    这两天我改动有点多,怕和你之后的工作起始点冲突,到时候合并太麻烦,我就先不管了,代码稳定下来。

    等你搞定之后(不着急,因为现在用户已经可以直接按照README下载安装 deb 包了),我再接着参与这个 issue。

  10. sanchuanhehe commented on Jun 16, 2025

    @sanchuanhehe
    Contributor

    了解

  11. changed the issue type fromtoon Jun 21, 2025
  12. sanchuanhehe commented on Jun 23, 2025

    @sanchuanhehe
    Contributor

    我回来了,前两天有些事情

  13. modified the milestones: v0.2.2, v0.2.3 on Jul 26, 2025
  14. modified the milestones: v0.2.3, v0.2.4 on Oct 6, 2025
  15. modified the milestones: v0.2.4, v0.2.5 on Dec 31, 2025
  16. modified the milestones: v0.2.5, v1.0.0 on Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

LinuxLinux相关

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions