Translation make targets point at a directory that does not exist
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- git, python
調査の方向性
backend-plugin-sample/Makefile から開始し、列挙されているローカライズのターゲットを調査します。これには、pull_translations の atlas ブランチと install_transifex_client が含まれます。src/openedx_plugin_sample 配下のパッケージパスとロケールパスを確認してから、影響を受けるターゲットを実行します。完了の条件は、ディレクトリまたは LICENSE.txt が存在しないことによってターゲットが失敗しなくなり、翻訳用の足場を実行するか削除するかについての issue の判断が対処済みであることです。
索引モデルが issue の本文から書いたものです。
説明
Problem
Every localization target in backend-plugin-sample/Makefile does cd sample_plugin, but there is no sample_plugin/ directory. The package lives at backend-plugin-sample/src/openedx_plugin_sample/. The path predates the renames in a9f4b8d (platform-plugin-sample -> backend-plugin-sample / openedx_plugin_sample).
So all of these fail immediately with cd: no such file or directory:
extract_translationscompile_translationsdetect_changed_source_translationsdummy_translationspull_translations(the atlas branch, which also referencessample_plugin/conf/locale)- and therefore
build_dummy_translationsandvalidate_translations
Nothing in CI runs these targets, which is why the breakage has gone unnoticed.
Also in scope
install_transifex_client ends with:
git checkout -- LICENSE README.md ## overwritten by Transifex installer
There is no LICENSE in that directory either -- the file is LICENSE.txt.
Suggested fix
Point the targets at src/openedx_plugin_sample, fix the atlas locale paths to match, and correct the LICENSE.txt filename. Worth considering whether validate_translations should run in CI so this cannot silently rot again.
Note that the plugin does not currently mark any strings for translation, so part of this work is deciding whether the i18n scaffolding should be exercised as a demonstration (this repo is meant to be an example of the plugin interfaces) or removed until there is something to translate.
- 主要言語
- Python
- スター
- 1
- フォーク
- 4
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 7
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openedx/sample-plugin のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openedx/sample-plugin#46 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
openedx/sample-plugin#51 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
openedx/sample-plugin#50 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
openedx/sample-plugin#33 ·
メンテナーはふだん 1 日以内に返信
-
Frontend-base version of sample-plugin対応中かも @arbrandes が 161 日前に担当しました。 オープン
openedx/sample-plugin#30 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
openedx/sample-plugin の issue をすべて見る
似ている issue
-
pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pydantic/pydantic-ai#8843 ·
メンテナーはふだん 1 日以内に返信
-
breaking change enhancement server
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sktime/sktime#11310 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信