Skip to content

Add legacy redirect audit script and supporting fixes#249

Open
cwickham wants to merge 2 commits into
mainfrom
feat/legacy-redirect-audit
Open

Add legacy redirect audit script and supporting fixes#249
cwickham wants to merge 2 commits into
mainfrom
feat/legacy-redirect-audit

Conversation

@cwickham
Copy link
Copy Markdown
Collaborator

@cwickham cwickham commented May 18, 2026

Summary

Two small fixes supporting the legacy-blog-redirects work shared via issues on the seven legacy site repos:

  • Drop incorrect ported_from from anscombes-quartet — the post was originally hosted externally (jeroenjanssens.com), not plotnine.org, so the porting metadata was misleading. Keeps source: plotnine so it still appears on the plotnine project listing.

  • Pick up .html posts in blog metadata extractorscripts/extract-blog-metadata.R now also matches index.html. Some hugodown-rendered tidyverse posts publish as .html rather than .md, and they were previously invisible to posts.json (and anything that consumes it).

cwickham added 2 commits May 18, 2026 10:56
The post was originally hosted externally (jeroenjanssens.com), so it
was never ported from plotnine.org. Keep `source: plotnine` so it
still appears on the plotnine project listing, but remove `ported_from`
and `port_status` since there's no port to track.
hugodown-rendered tidyverse posts publish as index.html rather than
index.md. The pattern previously matched only `.md` and `.markdown`, so
these posts were invisible to anything consuming posts.json. Add `.html`
to the pattern so all published frontmatter is enumerated.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 18, 2026

Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit 765c008
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/6a0b566834c5ad0008e9af29

@github-actions
Copy link
Copy Markdown

Publishing checklist

  • Get a review — request at least one reviewer on this PR
  • Check your post — once the deploy preview is ready, a comment will appear with direct links to your post
  • Check the blog listing — confirm your post appears with the correct title, image, and description
  • Merge — once everything looks good and you have an approving review, merge to main

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

@cwickham cwickham marked this pull request as draft May 18, 2026 18:10
@cwickham cwickham force-pushed the feat/legacy-redirect-audit branch from 5411234 to 765c008 Compare May 18, 2026 18:11
@github-actions
Copy link
Copy Markdown

Blog YAML Checks

content/blog/anscombes-quartet/index.md

  • ⚠️ date is in the past (2024-07-02). Post will publish immediately on merge.

Summary: 1 files checked, 1 warnings

@cwickham cwickham marked this pull request as ready for review May 18, 2026 18:17
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.

1 participant