Skip to content

Feature/add GitHub lfs#79

Open
Zherphy wants to merge 1 commit into
release/1230from
feature/add-github-lfs
Open

Feature/add GitHub lfs#79
Zherphy wants to merge 1 commit into
release/1230from
feature/add-github-lfs

Conversation

@Zherphy

@Zherphy Zherphy commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

描述

相关 Issue

变更类型

  • Bug 修复
  • 新功能
  • 代码重构
  • 文档更新
  • 样式改进
  • 性能优化
  • 测试相关
  • 其他

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown

Linking Issue Notice

@Zherphy , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

@opensourceways-robot

Copy link
Copy Markdown

开始门禁检查,等门禁检查通过后可以合入

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态 日志
DT覆盖率 36.2% 查看日志
敏感信息扫描 查看日志
开源代码漏洞扫描 查看日志
Check代码检查 查看日志
安全编码扫描 查看日志
流水线链接 点击跳转

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-robot

Copy link
Copy Markdown

开始门禁检查,等门禁检查通过后可以合入

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
DT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态 日志
DT覆盖率 44.1% 查看日志
敏感信息扫描 查看日志
开源代码漏洞扫描 查看日志
Check代码检查 查看日志
安全编码扫描 查看日志
流水线链接 点击跳转

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown

Welcome To opensourceways Community

Hey @Zherphy , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: infratructure ,
and any of the maintainers: @GeorgeCao-hw, @TangJia025, @pkking, @zhongjun2 ,
and any of the committers: @Goalina, @Zherphy, @tfhddd .

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@Zherphy Zherphy force-pushed the feature/add-github-lfs branch from 64f207b to a5d4f57 Compare May 28, 2026 01:39
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@Zherphy Zherphy force-pushed the feature/add-github-lfs branch from a5d4f57 to a6ea029 Compare May 28, 2026 02:03
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

Add support for verifying GitHub user permissions on the LFS batch
endpoint. A new GITHUB_MODEL config switch selects between the existing
Gitee/GitCode authorization+metadata path and the GitHub authorization
+metadata path within the same /objects/batch route.

Key changes:
- auth: new GitHub auth module with org whitelist and permission check
- config: new DefaultGithubToken and GithubModel fields
- server: handleBatch dispatches to GitHub or Gitee auth/metadata based
  on GITHUB_MODEL; IsGithubAuthorized wired through Options
- main: register GithubAuth() as IsGithubAuthorized
- config.example.yml: document GIT_CODE_SWITCH and GITHUB_MODEL
- ignore local coverage and test output artifacts
@Zherphy Zherphy force-pushed the feature/add-github-lfs branch from a6ea029 to 44db7ce Compare June 3, 2026 00:32
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants