Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion TODO.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,7 +36,6 @@ The site is built and gated in CI. It is on GitHub, and it is not yet serving it

- The staging FQDN name.
- `/robots.txt/` and `/osd.xml/` currently sit in `slugs.map` pointing at `/`. The first would be better pointing at the real `/robots.txt`.
- Whether the 78 legacy date-archive redirects should point at `/all/` rather than `/`, so a visitor following a `/2015/` link lands somewhere they can find 2015 posts. It is a one-line change to rule R3.

## Deliberate deviations from the fleet baseline

Expand Down
4 changes: 2 additions & 2 deletions checks/check-url-parity.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -62,10 +62,10 @@ def check_media(public):
for url in legacy:
rewritten = re.sub(r"^/wp-content/uploads/", "/media/", url)
if rewritten == url:
missing.append(f"{url} (does not match the R8 rewrite prefix)")
missing.append(f"{url} (does not match the @uploads rewrite prefix)")
elif not (public / rewritten.lstrip("/")).is_file():
missing.append(url)
print(f"media : {len(legacy) - len(missing)}/{len(legacy)} legacy image URLs resolve after the R8 rewrite")
print(f"media : {len(legacy) - len(missing)}/{len(legacy)} legacy image URLs resolve after the @uploads rewrite")
return missing


Expand Down
2 changes: 1 addition & 1 deletion reports/Blog/audit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,7 +67,7 @@ From the first run on `main`:
hugo v0.164.0+extended (pinned by version and sha256)
Pages 514 | Total in 858 ms (zero warnings under --panicOnWarning)
render : 328/328 golden URLs built
media : 778/778 legacy image URLs resolve after the R8 rewrite
media : 778/778 legacy image URLs resolve after the @uploads rewrite
assets : 1012/1012 local asset references resolve
PASS - the built site honors the URL contract
```
Expand Down