fix(about): 开发者改为读取仓库真实提交者
- ContributorsService 改用 /commits 分页统计,不再依赖需要登录的 /collaborators - 同一人的多个 git 身份按别名归并(Morris_1 / 2509_92447106 / 两个邮箱) - 自动化提交(agent@teamily.ai)不计入开发者,避免出现在关于页 - 关于页「开发者」标题标注数据来源,贡献数为真实提交数 - 结果缓存 10 分钟;接口失败时静默降级为空列表,不影响关于页其它内容
This commit is contained in:
1 parent
2b4ffc7ce5
commit
06eb4875a1
3 files changed
+180
-61
No files matched your search
@@ -124,6 +124,7 @@ class I18n {
|
||||
'common.error': '出错了',
|
||||
'common.refresh': '刷新',
|
||||
'about.developers': '开发者',
|
||||
'about.contributorsHint': '来自仓库提交记录',
|
||||
'about.repository': '仓库',
|
||||
'about.openRepository': '打开仓库',
|
||||
'about.contributions': '{0} 次提交',
|
||||
@@ -248,6 +249,7 @@ class I18n {
|
||||
'common.error': 'Something went wrong',
|
||||
'common.refresh': 'Refresh',
|
||||
'about.developers': 'Developers',
|
||||
'about.contributorsHint': 'From repository commits',
|
||||
'about.repository': 'Repository',
|
||||
'about.openRepository': 'Open repository',
|
||||
'about.contributions': '{0} commits',
|
||||
|
||||
Reference in new issue
Block a user