Skip to content

Commit 99f5d6a

Browse files
TMHSDigitalclaude
andcommitted
Dataset release workflow, version in data.json, ledger section for this sweep
- .github/workflows/release.yml: monthly and on demand, builds, tags vYYYY.MM.DD and creates a release with data.json, catalog.csv, feed.xml, reverified.xml and llms.txt attached; notes from the newest ledger section; an existing tag is left alone - data.json carries `version` (the same calendar tag; CATALOG_VERSION overrides) - pages.yml checks out full history so the sitemap's lastmod dates are real - docs/review-ledger.md: the 2026-10-22 section Closes #113 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent ea3b1e2 commit 99f5d6a

5 files changed

Lines changed: 81 additions & 3 deletions

File tree

‎.github/workflows/pages.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
32+
with:
33+
# The sitemap's lastmod dates come from git history.
34+
fetch-depth: 0
3235

3336
- name: Setup Node
3437
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0

‎.github/workflows/release.yml‎

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Dataset release
2+
3+
# A versioned snapshot of the catalog a tool can pin: tag vYYYY.MM.DD and
4+
# attach data.json, catalog.csv, the two feeds and llms.txt. Monthly, and on
5+
# demand from the Actions tab. The release notes are the newest section of
6+
# docs/review-ledger.md. A tag that already exists is left alone.
7+
on:
8+
schedule:
9+
- cron: "0 9 1 * *"
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: write
14+
15+
jobs:
16+
release:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21+
with:
22+
# The sitemap's lastmod dates come from git history.
23+
fetch-depth: 0
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
27+
with:
28+
node-version-file: .nvmrc
29+
30+
- name: Check and build
31+
run: npm test && node site/validate.mjs && node site/build.mjs
32+
33+
- name: Create the release
34+
env:
35+
GH_TOKEN: ${{ github.token }}
36+
run: |
37+
tag="v$(date -u +%Y.%m.%d)"
38+
if gh release view "$tag" >/dev/null 2>&1; then
39+
echo "release $tag already exists; nothing to do"
40+
exit 0
41+
fi
42+
# Newest ledger section: from the first "## " heading to the next.
43+
awk '/^## /{n++} n==1' docs/review-ledger.md > release-notes.md
44+
{
45+
echo
46+
echo "Attached: \`data.json\` (full catalog), \`catalog.csv\`, \`feed.xml\` (new sources), \`reverified.xml\` (recent licence re-reads), \`llms.txt\`."
47+
echo "Field reference: https://github.com/${GITHUB_REPOSITORY}/blob/main/site/README.md"
48+
} >> release-notes.md
49+
gh release create "$tag" \
50+
--title "Catalog $tag" \
51+
--notes-file release-notes.md \
52+
site/dist/data.json site/dist/catalog.csv site/dist/feed.xml site/dist/reverified.xml site/dist/llms.txt

‎docs/review-ledger.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ Newest section at the top. One section per review run. This is the record of wha
44
run measured, what it changed, what it deliberately did not change, and what the next
55
run should not spend time re-deciding.
66

7+
## 2026-10-22 (open issues sweep: #77 to #114)
8+
9+
One branch, seven commits, 23 issues closed. Every change ran `npm test`, `npm run validate` and a full build locally; the incremental build was compared byte for byte with a clean one.
10+
11+
- **Validation (V24-V26):** list fields must be lists and the two boolean fields booleans, with the fix in the message (#79); the body heading must equal `name`, and 24 entries were brought in line (#95); `added` is required, a real date, not in the future (#90). The frontmatter parser strips trailing ` # comments` (#79), reads a block list after a comment line (#84), and reports an unquoted ` #word` instead of truncating it (sonniss-gdc was the one case; its name is now quoted). One link-scheme rule across validate, the link resolver and the page checks (#83). A duplicate id fails the build, not just validate (#81).
12+
- **Data:** `added: YYYY-MM-DD` on all 415 entries, backfilled from each file's first commit (155 in 2026-07, 136 in 08, 86 in 09, 38 in 10). Not enforced: `added <= verified`; six entries were researched before they were committed. Maintenance from the 2026-10-19 link check (#77): microsoft-rocketbox archived, octave-ui-sounds inactive, ue5coro archived (final push 2026-10-16, README states the archival). http-only hosts noted on cmu-mocap and makehuman; Fab search-URL caveats on three entries.
13+
- **Did not change:** the 12 bare `GPL-3.0` / `GPL-2.0` / `LGPL-3.0` / `BSD` / `CC-BY` licence values from #95. Each entry's Notes already says the bare value is deliberate (checked 2026-09-22) and the vocabulary documents the ambiguity; the sources re-read on 2026-10-22 (Audacity, Blockbench, EzSpriteSheet, LibreSprite, Materialize READMEs and licence files) state a version and no "only" or "or later" election, so there is still no project statement to record. The shared blender.org demo-files URL on two entries stays: the page genuinely hosts both bundles and has no per-item anchor.
14+
- **Site:** Sponsors iframes replaced by a static link (#101); one `baseHeadHtml` for every page type (#104); sitemap `lastmod` from git (#108); `<title>` is "name · licence" and the description leads with licence, stance and credit, with a page check at 60/160 (#103); print stylesheet (#105); chips are a radiogroup and the scroll position is a "You are in" line, control borders at 3:1 (#107); Back works for category and sort, `/` ignores modifiers, one spelling (Licence), "Camera view" with a visible note (#106); "Did you mean" on an empty search (#109); two feeds, `feed.xml` by `added` and `reverified.xml` by `verified`, "New in the last 30 days" on the home page and a "Recently added" sort (#90).
15+
- **Build and tooling:** incremental build writes only changed bytes and prunes stale output: clean 25.0 s, no-change rebuild 1.6 s on the E: drive (#80). check-links validates `--stale-days` before fetching, keeps API failures out of `problems`, and does not retry a full timeout (#82, #86). Actions pinned to SHAs (#88). `CITATION.cff` (#114). `reverify.yml` opens a monthly batch issue of entries checked over 150 days ago (#93; the July checks fall due in December). `release.yml` tags `vYYYY.MM.DD` with the exports attached (#113).
16+
- **Left for the maintainer:** #3 (branch protection is a repository setting), #72 (the Code of Conduct needs a private contact address to name).
17+
718
## 2026-10-13 (Unreal Engine sources)
819

920
22 new entries, each read at the source on 2026-10-13: Fab listings in a browser (plain fetches return 403), GitHub licences, READMEs, `.uplugin` files and the repository API.

‎site/README.md‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Every deploy publishes the whole catalog as
3434
and tools that want the metadata without scraping the page. The page itself loads
3535
`data.js`, the same payload assigned to `window.__CATALOG__`.
3636

37-
- Top-level keys: `generatedAt`, `site`, `categories`, `guides`, `featured`, `stats`,
38-
`entries`.
37+
- Top-level keys: `generatedAt`, `version` (the calendar tag of the day, `vYYYY.MM.DD`),
38+
`site`, `categories`, `guides`, `featured`, `stats`, `entries`.
3939
- Each entry carries its frontmatter fields (`id`, `name`, `url`, `category`,
4040
`subcategories`, `license`, `license_spdx` where set, `commercial`,
4141
`attribution_required`, `attribution_string` where set, `formats`, `tags`, `added`,
@@ -97,6 +97,15 @@ listed for a manual look but never open the issue on their own. It edits nothing
9797
moved source needs its licence re-read before its entry changes. Run it locally with
9898
`npm run links`.
9999

100+
## Releases
101+
102+
The live Pages URL changes on every push, so a tool that bundles the catalog (a plugin,
103+
a notebook, a paper) could not pin a version. `.github/workflows/release.yml` runs on the
104+
first of each month and on demand: it builds, tags `vYYYY.MM.DD` and creates a GitHub
105+
release with `data.json`, `catalog.csv`, `feed.xml`, `reverified.xml` and `llms.txt`
106+
attached, with the newest section of `docs/review-ledger.md` as the notes. Fetch a fixed
107+
version by tag from the Releases page; `data.json` carries the same tag as `version`.
108+
100109
## Re-verify batch
101110

102111
`.github/workflows/reverify.yml` runs `site/reverify-batch.mjs` on the first of each month

‎site/build.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,11 @@ function main() {
596596
categories: Object.keys(config.categories).length,
597597
};
598598

599+
const generatedAt = new Date().toISOString();
599600
const payload = {
600-
generatedAt: new Date().toISOString(),
601+
generatedAt,
602+
// Calendar version, the tag a dataset release carries (release.yml).
603+
version: process.env.CATALOG_VERSION || `v${generatedAt.slice(0, 10).replaceAll("-", ".")}`,
601604
site: config.site,
602605
categories: config.categories,
603606
guides: config.guides,

0 commit comments

Comments
 (0)