pg.ddx.io  GitHub: pgjdbc/pgjdbc (issues + PRs as email threads)  
help / color / mirror / Atom feed
From: vlsi (@vlsi) <noreply+vlsi@github.com>
To: pgjdbc/pgjdbc <noreply+pgjdbc-pgjdbc@github.com>
Subject: Re: [pgjdbc/pgjdbc] PR #4088: docs: structure-only rework (file moves, Hugo skeleton, release pipeline)
Date: Fri, 29 May 2026 16:25:21 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4088-c4577489116@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4088@github.com>
References: <gh-pgjdbc-pgjdbc-4088@github.com>

One factual correction on the build, separate from the scope question: the Gradle step is not just shelling out to Hugo.

`generateReleaseHistory` walks the git refs (the `release/*.x` branches and `REL*` tags) with JGit and derives the release list, versions plus commit dates, into `docs/data/release-history.yaml`. That file feeds the homepage release card (`partials/home/release.html`) and the recent-, past-, and full-version shortcodes. `fetchKnownCves` similarly calls the GitHub advisories API to produce the CVE data. Hugo can do neither; it reads files, not git refs or APIs.

`release-history.yaml` and the CVE data are generated, not committed: only the hand-maintained `release-history-overlay.yaml` is in the tree. So `hugo` on its own does not build a correct site, because the homepage release card and the version shortcodes have no data until the generators run. `buildDocs` and `serveDocs` both depend on those two tasks for exactly that reason.

Whether that automation belongs in this PR or a later one is a separate scope decision. I just wanted the build mechanics to be accurate first.

view thread (26+ messages)  latest in thread

Message-ID: <gh-pgjdbc-pgjdbc-4088-c4577489116@github.com>
Permalink:  ../gh-pgjdbc-pgjdbc-4088-c4577489116@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox