Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

optimization of this repository concerns

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, github-actions
領域
devops

調査の方向性

Dockerfile の 5~15 行目から始め、イメージのビルド中に Termux パッケージミラーが現在どのように選択されているかを確認します。その動作をリンクされた GitHub Actions の例と比較し、ビルドで公式の Cloudflare ミラーが確実に使用されること、またイメージが引き続き正常にビルドできることを検証します。

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

説明

Hello, I wanted to possibly engage in discussion with you about potential improvements to this repository.

I can see that the reason for the creation of this repository might be because of a problem involving the Termux package repository mirrors.

https://github.com/astral-sh/uv/commit/f13abc388e1ee0c83169a32d33447f8afccf04d2

https://github.com/astral-sh/termux-python/blob/483ce668735b54c5e8eb53ce7aebf2acad7ecff6/Dockerfile#L5-L8

I've noticed this message here, but as far as I can tell, there seems to have been no attempt yet made to use the correct method for setting the official Termux package repository mirror hosted by Cloudflare in GitHub Actions, which is this:

https://github.com/robertkirkman/termux-on-gha/blob/c3067cdf0a482c07c909ded0e863671e03b1d20d/.github/workflows/build-and-test.yml#L49-L50

ln -sf ${PREFIX}/etc/termux/mirrors/default ${PREFIX}/etc/termux/chosen_mirrors

the reliability of this mirror is significantly superior to all of the other Termux mirrors, and it also receives package updates first before any other Termux mirrors.

Would a change to replace this loop with an application of the correct default mirror setting code be something that a PR for would be welcome here, or is this more of a low-priority repository that the astral-sh organization just needs to work without any pressing need to try to optimize it?

https://github.com/astral-sh/termux-python/blob/483ce668735b54c5e8eb53ce7aebf2acad7ecff6/Dockerfile#L10-L15

主要言語
Dockerfile
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

似ている issue

DevOps の issue をもっと見る

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

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