Enable a `latest` symlink on the ftp index
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 61
- Fork
- 48
- Merge trung bình
- 1 giờ 22 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
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 :)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách lần theo cách chỉ mục FTP được tạo ra và cách quy trình release ghi nhận bản release ổn định mới nhất; phần mô tả không nêu các tệp hoặc bài kiểm thử cụ thể. Được xem là hoàn tất khi chỉ mục FTP của Python cung cấp một liên kết tượng trưng latest trỏ đến bản release ổn định mới nhất và vẫn chính xác sau các release.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- release
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100