Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Feb 3, 2026

Adds netlify.toml with a static redirect for veraPDF downloads. The _redirects file is auto-generated by CI every 15 minutes, so using netlify.toml keeps static redirects separate (Netlify merges both).

Redirect

/download/verapdf/1.28.2/verapdf-greenfield-1.28.2-installer.zip → S3 bucket (301)

And this would work for any future version.

Why

This enables quarto-cli to use a stable, version-agnostic URL for quarto install tool verapdf. Version management happens server-side by updating the redirect target.

A companion PR in quarto-cli will update the CLI to use this URL (should be merged after this one deploys).

Adds netlify.toml with a static redirect for veraPDF downloads.
The redirect points to the versioned file on S3 while keeping the
download URL simple and version-agnostic.

This allows quarto-cli to use a stable URL for tool installation
while version management happens server-side.
@github-actions github-actions bot temporarily deployed to pull request February 3, 2026 10:42 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1867.quarto.org

netlify.toml is not auto-detected by Quarto, so it needs to be
explicitly listed in resources to be copied to _site/.
@github-actions github-actions bot temporarily deployed to pull request February 3, 2026 11:06 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1867.quarto.org

- Changed from fixed-version path to `:version/*` wildcard
- Version changes now only require updating quarto-cli
- Invalid versions 404 at S3 level (acts as validator)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to pull request February 3, 2026 15:30 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1867.quarto.org

@cderv cderv requested a review from gordonwoodhull February 3, 2026 15:43
@cderv
Copy link
Collaborator Author

cderv commented Feb 3, 2026

@gordonwoodhull all good now ?

@cderv cderv merged commit a074e90 into main Feb 3, 2026
4 checks passed
@cderv cderv deleted the feature/verapdf-redirect branch February 3, 2026 16:00
github-actions bot pushed a commit that referenced this pull request Feb 3, 2026
Add Netlify redirect for veraPDF downloads

Introduce netlify.toml with a :version/* wildcard redirect pointing to
versioned veraPDF files on S3. This provides a stable, version-agnostic
download URL for quarto-cli while allowing server-side version control.

Include netlify.toml in Quarto resources so it is copied to _site/.

(cherry picked from commit a074e90)
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Successfully created backport PR for prerelease:

cderv added a commit that referenced this pull request Feb 3, 2026
Add Netlify redirect for veraPDF downloads

Introduce netlify.toml with a :version/* wildcard redirect pointing to
versioned veraPDF files on S3. This provides a stable, version-agnostic
download URL for quarto-cli while allowing server-side version control.

Include netlify.toml in Quarto resources so it is copied to _site/.

(cherry picked from commit a074e90)
cderv added a commit to quarto-dev/quarto-cli that referenced this pull request Feb 3, 2026
Use quarto.org redirect for veraPDF downloads

Switch veraPDF download URLs from the direct S3 bucket to a
quarto.org redirect. This provides a cleaner and more stable URL,
allows central version management via quarto-web, and aligns with
other Quarto download patterns.

The URL now follows the /verapdf/<version>/<filename> format to
match the quarto-web wildcard redirect. Updating veraPDF only
requires changing kDefaultVersion.

quarto-web handles the redirect (quarto-dev/quarto-web#1867)


---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants