Enable a `latest` symlink on the ftp index
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 61
- Forks
- 48
- Merge medio
- 1 h 22 min
- PR fusionados (30 d)
- 4
Descripción
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 :)
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza rastreando cómo se genera el índice FTP y cómo el proceso de release registra el release estable más reciente; la descripción no especifica archivos ni tests concretos. Se considera terminado cuando el índice FTP de Python expone un enlace simbólico latest que apunta al release estable más reciente y sigue siendo correcto después de los releases.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- release
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100