Enable a `latest` symlink on the ftp index
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 61
- 派生
- 48
- 平均合并
- 1 小时 22 分钟
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 FTP 索引的生成方式,以及 release 流程如何记录最新的稳定版 release;描述没有指定具体的文件或测试。完成的标准是 Python FTP 索引公开一个指向最新稳定版 release 的 latest 符号链接,并且在 release 之后仍保持正确。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- release
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100