Download page builds SHA-512/signature links from artifact-root instead of checksum-root
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- css, html, jekyll
- Área
- documentation, web-dev
Línea de trabajo
El issue está en el archivo download.md en las líneas 51-52. Primero, ubique el directorio _releases/ del repositorio para comprender la estructura de datos de las versiones (buscando checksum-root y artifact-root). Modifique la plantilla para usar release.checksum-root en los href de los enlaces SHA-512 y de Firma. Pruebe compilando el sitio de Jekyll localmente y verificando que los enlaces generados apunten a downloads.apache.org y devuelvan archivos de texto plano/firma, no HTML.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The SHA-512 and Signature columns on the download page link to the mirror selector rather than the canonical distribution host, so they return an HTML mirror-selection page instead of the file.
Reproduction
on https://nuttx.apache.org/download/, click any current release's SHA-512 link (e.g. 13.0.1). curl shows the difference:
Generated: https://www.apache.org/dyn/closer.lua/nuttx/12.12.0/apache-nuttx-12.12.0.tar.gz.sha512 → 200 text/html, ~21 KB mirror-picker page
Canonical: https://downloads.apache.org/nuttx/12.12.0/apache-nuttx-12.12.0.tar.gz.sha512 → 200 text/plain, 158 bytes (the hash)
Same for .asc: the generated URL returns the ~21 KB HTML page; the downloads.apache.org URL returns the 833-byte PGP signature.
Root cause:
download.md:51-52 builds the .sha512/.asc hrefs from release.artifact-root. Every release file defines checksum-root (and key-file) for exactly this purpose — present since the first Apache release file (be0ee1f, 9.0.0, May 2020) — but no template reads them; the same commit wired the columns to artifact-root instead. A repo-wide grep confirms checksum-root/key-file are write-only (only other hit is the dormant generator helpers/syncbbrelease.py).
Scope:
affects all mirror-served Apache releases (9.1.1, 10.0.1, 10.1.0–13.0.1). Archive rows (9.0.0, 9.1.0, 10.0.0) have checksum-root == artifact-root, so they are unaffected and need no special handling. The page text itself (download.md:68-69) already states hashes/signatures are hosted at Apache, and the closer.lua page advises fetching signatures from the main distribution site rather than a mirror.
Proposed fix (scoped to download.md:51-52 only): build the SHA-512 and Signature hrefs from release.checksum-root, leaving the Archive column on artifact-root. Suggested regression check: assert built SHA/ASC hrefs start with each release's checksum-root and return non-HTML 200s.
- Lenguaje dominante
- CSS
- Estrellas
- 24
- Forks
- 37
- Merge medio
- 1 h 39 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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.
Más de apache/nuttx-website
-
[www/doc] split ci job for website update and documentation update.Quizá libre de nuevo @cederom la tomó hace 76 días y no hay ningún pull request abierto. Abiertodocumentation enhancement
apache/nuttx-website#180 · 1 asignado ·
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 35/100
apache/nuttx-website#130 · 5 comentarios · 2 reacciones ·
-
[WWW/DOC] NuttX RTOS Website and DocumentationQuizá libre de nuevo @cederom la tomó hace 605 días y no hay ningún pull request abierto. Abiertodocumentation
apache/nuttx-website#129 · 1 asignado ·
-
[WWW/DOC] CI: build only parts that changed.Quizá libre de nuevo @cederom la tomó hace 734 días y no hay ningún pull request abierto. Abiertodocumentation enhancement
apache/nuttx-website#124 · 1 asignado ·
Todos los issues de apache/nuttx-website
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
obra/superpowers#2422 ·
Los mantenedores suelen responder en 6 días
-
triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Where is the Never optionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AdobeDocs/workfront.en#69 ·
-
integration: water_heater
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
home-assistant/home-assistant.io#48527 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bytedance/trae-agent#532 · 2 comentarios ·
Los mantenedores suelen responder en 1 día