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 11:35:23 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4088-c4574453625@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4088@github.com>
References: <gh-pgjdbc-pgjdbc-4088@github.com>
>Unless there's something specific shiny feature in a newer version that we must have, why bother with upgrading it at all? It's just busy work and churn.
> It doesn't matter if it's out of date for weeks, months, maybe even years
hugo policy is that they **drop** features **every year** or so.
https://gohugo.io/troubleshooting/deprecation/>After the project team deprecates something in code, Hugo will:
> 1. Log an INFO message for 3 minor releases[1](https://gohugo.io/troubleshooting/deprecation/#fn:1)
> 1. Log a WARN message for another 12 minor releases
> 1. Log an ERROR message and **fail the build thereafter**
I would be glad to hear your suggestions regarding hugo, however, it looks like we have only two options:
a) use the latest `hugo` version always
b) migrate to something else
In our case, they deprecated `LanguageCode` or something like that, and we have about a year to switch to a newer version.
Frankly, updating hugo to the latest works for me, however, I can easily understand how can it be painful for the others to see messages like `executing "alias.html" at : can't evaluate field Locale in type *langs.Language `
> Why do we need gradle to care about the hugo version?
Hugo does not have out-of-the-box configuration like "ensure hugo is at least 0.161 or just stop".
Apparently, the website requires hugo 0.161, and what Gradle check does it it produces human-readable error message rather than `executing "alias.html" at : can't evaluate field Locale in type *langs.Language`
I'm open for suggestions.