Skip to content

[r2cn] alfs 构建出的镜像中使用 Buck2 构建 openssl-sys 0.9.106 #895

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

Closed
genedna opened this issue Mar 12, 2025 · 10 comments
Closed

Comments

@genedna
Copy link
Member

genedna commented Mar 12, 2025

[任务] 拆分 Orion 为服务端和 Client 端,在 alfs 环境中使用 Buck2 构建 openssl-sys 0.9.106

[任务分值] 25 分

[背景描述] 当前 alfs 已经可以构建出干净的测试环境,环境用于对接 Mono 系统进行 Buck2 的测试。

[需求描述] 在 alfs 环境中使用 Buck2 构建 openssl-sys 0.9.106:

任务结果:

  1. 实现 Orion 从 Mono 服务器接收构建指令使用 Buck2 构建 openssl-sys 0.9.106;
  2. 使用 alfs 环境中的 OpenSSL ,如果需要修改构建参数;

Image

  1. 拆分已有的 Orion 模块,在 Mono 服务使用新模块内负责调度构建任务、接收构建结果存储到数据库;
  2. 新模块可以建立 WebSocket 端口转发 Buck2 构建的实时输出;
  3. 新模块把 Buck2 构建 ID 和结果存储在数据库中,构建过程使用文件存储到本地磁盘(支持使用 S3 等对象存储保存);
  4. 在 Mono 模块生成 MR 后,根据文件层级找到要构建的 BUCK 文件;

[代码标准]

  1. 所有 PR 提交必须签署 Signed-off-by 和 使用 GPG 签名,即提交代码时(使用 git commit 命令时)至少使用 -s -S 两个参数,参考 Contributing Guide
  2. 所有 PR 提交必须通过 GitHub Actions 自动化测试,提交 PR 后请关注 GitHub Actions 结果;
  3. 代码注释均需要使用英文;

[PR 提交地址] 提交到 mega 仓库的 main 分支 alfsorion 目录;

[开发指导]

  1. 认领任务参考 r2cn 开源实习计划 - 任务认领与确认;

[导师及邮箱] 请申请此题目的同学使用邮件联系导师,或加入到 R2CN Discord 后在 #p-meta 频道和导师交流。

  1. Quanyi Ma [email protected]
  2. Tianxing Ye [email protected]

[备注]

  1. 认领实习任务的同学,必须完成测试任务和注册流程,请参考: r2cn 开源实习计划 - 测试任务r2cn 开源实习计划 - 学生注册与审核
Copy link

r2cn-bot bot commented Mar 12, 2025

任务创建成功。

@genedna genedna moved this to Ready in Mega Mar 12, 2025
@genedna genedna moved this to Backlog in r2cn Mar 12, 2025
@MrBeanCpp
Copy link
Contributor

/request-assign

Copy link

r2cn-bot bot commented Mar 12, 2025

认领成功:等待导师审核,请及时联系导师进行审核。

@genedna
Copy link
Member Author

genedna commented Mar 12, 2025

/intern-approve

Copy link

r2cn-bot bot commented Mar 12, 2025

认领审核成功:已将该任务分配给学生。

@genedna genedna moved this from Ready to In progress in Mega Mar 17, 2025
@genedna genedna moved this from Backlog to In progress in r2cn Mar 17, 2025
@genedna genedna added r2cn-25 and removed r2cn-10 labels Mar 18, 2025
Copy link

r2cn-bot bot commented Mar 18, 2025

任务更新成功,当前分值为: 25

@MrBeanCpp
Copy link
Contributor

/request-complete

Copy link

r2cn-bot bot commented May 6, 2025

请求完成成功:等待导师进行完成审核。

@genedna
Copy link
Member Author

genedna commented May 6, 2025

/intern-done

@r2cn-bot r2cn-bot bot closed this as completed May 6, 2025
Copy link

r2cn-bot bot commented May 6, 2025

操作成功:任务关闭并发放积分给学生。

@github-project-automation github-project-automation bot moved this from In progress to Done in r2cn May 6, 2025
@github-project-automation github-project-automation bot moved this from In progress to Done in Mega May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

No branches or pull requests

2 participants