mozilla-releng / mozilla-releng/scriptworker-scripts

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

オープン
#1,055 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

treescript
主要言語
Python
スター
16
フォーク
38
平均マージ
1日 7時間
マージ済み PR(30日)
14

説明

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).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、参照されているコミットと、Gecko l10n の更新および外部 l10n リポジトリに現在使用されている認証を確認します。コミットアクセスなしで読み取り専用アクセスが必要な箇所を特定します。読み取り専用のリポジトリアクセスに releng-treescript ではなく別のアプリを使用し、アプリ名とインストール範囲が確定していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, python
領域
authorization, security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。