Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[treescript] Stop using the `releng-treescript` app for Gecko l10n bumps

未关闭
#1,055 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
github, python

调研方向

首先检查所引用的 commit,以及当前用于 Gecko l10n 更新和外部 l10n 存储库的身份验证。确定哪些地方需要只读访问而不需要提交访问权限。完成标准是:只读存储库访问使用单独的应用,而不是 releng-treescript,并且应用名称和安装范围已确定。

由索引模型根据 Issue 内容生成。

描述

treescript

We added the ability to store l10n changes in a separate Github repo for Gecko l10n bumps:
https://github.com/mozilla-releng/scriptworker-scripts/commit/3938c24da2c0964a1adc9994c3a8300df65ee0ae

We currently authenticate as the releng-treescript app to do things like get the latest commit and return the contents of files. This is useful for avoiding Github rate limits. However, we do not actually commit any changes to these external l10n repos. Therefore using releng-treescript, which has write access to a repo, does not follow the Principle of Least Privilege.

Instead, I believe we should create a generic releng-readonly (name TBD) app that only has read access to the repos. Then, we can install this app anywhere we simply want read access (e.g for higher rate limits or for access to private repos).

主要语言
Python
星标
16
派生
38
平均合并
1 天 7 小时
30 天内合并 PR
14

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mozilla-releng/scriptworker-scripts 的其他 Issue

查看 mozilla-releng/scriptworker-scripts 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。