Enable a `latest` symlink on the ftp index
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 61
- フォーク
- 48
- 平均マージ
- 1時間 22分
- マージ済み PR(30日)
- 4
説明
Hello all 👋
I recently talked with a friend of mine (@sdelquin) and he has a specific use-case for the ftp directory on his Python seminars and usually the students are requested to download "the latest Python version" from the command-line, from which he developed a little ad-hoc script to get such function:
PYTHON_LATEST=`curl -s https://www.python.org/downloads/ | gunzip -c | grep latest | perl -nle 'print $1 if /(\d+\.\d+\.\d+)/'`
PYTHON_DOWNLOAD=https://www.python.org/ftp/python/$PYTHON_LATEST/Python-$PYTHON_LATEST.tgz
This use-case could be improved if we have a latest symlink at https://www.python.org/ftp/python/ always pointing to the latest stable release.
I'm not certain how to implement this, because I'm not aware of how the ftp index is generated, but I have the feeling it shouldn't be so complicated, considering that during the release process, the release managers can select a checkbox to say "this is the latest release".
In my experience this is nothing new, and in some other indexes it's common to find a latest symlink, like this example
Just for the record, I already talked about this with @hugovk and @ewdurbin but I'm opening an issue so the discussion can stay in one place :)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、FTP インデックスがどのように生成され、リリースプロセスが最新の安定版リリースをどのように記録しているかを追跡します。説明では具体的なファイルやテストは指定されていません。完了の条件は、Python FTP インデックスが最新の安定版リリースを指す latest シンボリックリンクを公開し、リリース後も正しい状態を保つことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- release
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100