Swatantra-66 opened a new pull request, #191:
URL: https://github.com/apache/nuttx-website/pull/191

   ## Summary
   Release artifact links in the **Archive** column of 
[download.md](https://nuttx.apache.org/download/) use `{{ release.artifact-root 
}}`, which points to Apache's mirror selector 
(`https://www.apache.org/dyn/closer.lua/...`). Without the `?action=download` 
parameter, clicking **OS** or **Apps** downloads navigates users to an HTML 
mirror-picker webpage instead of directly downloading the release tarball.
   
   In accordance with official [ASF Release Download Pages 
Policy](https://infra.apache.org/release-download-pages.html#closer), this PR 
appends `?action=download` to `source-os-dist` and `source-app-dist` links in 
the release artifacts table.
   
   Fixes #189
   
   ## Impact
   - Direct clicks on **OS** and **Apps** links under the Archive column on 
`nuttx.apache.org/download/` will now immediately trigger the download rather 
than showing a mirror selection page.
   - Fully adheres to Apache Software Foundation distribution guidelines.
   
   ## Testing
   Verified URL response headers via `curl -I`:
   - **Current release (13.1.0):**
     
`https://www.apache.org/dyn/closer.lua/nuttx/13.1.0/apache-nuttx-13.1.0.tar.gz?action=download`
     Returns `HTTP/1.1 302 Found` with `Location: 
https://dlcdn.apache.org/nuttx/13.1.0/apache-nuttx-13.1.0.tar.gz`.
   - **Archived incubator release (10.0.1):**
     
`https://www.apache.org/dyn/closer.lua/incubator/nuttx/10.0.1/apache-nuttx-10.0.1-incubating.tar.gz?action=download`
     Returns `HTTP/1.1 302 Found` with `Location: 
https://archive.apache.org/dist/incubator/nuttx/10.0.1/...`.
   - **Direct archive link (9.1.0):**
     
`https://archive.apache.org/dist/incubator/nuttx/9.1.0/apache-nuttx-9.1.0-incubating.tar.gz?action=download`
     Returns `HTTP/1.1 200 OK` (query parameter gracefully ignored by archive 
server).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to