Wednesday, June 10, 2026

Re: [udpate] textproc/mdbook 0.5.3

On Tue, Jun 09, 2026 at 11:13:57PM +0200, Volker Schlecht wrote: > On 6/9/26 10:36 PM, Theo Buehler wrote: > > > Build and tests OK on current/amd64 with Rust 1.95.0 > > > > It broke packaging of rust-analyzer since mdbook generated output > > includes some hex digits that changed with the update (presumably some > > hash over the contents). When updating a port you really need to check > > whether the ports depending on it still build and package. > We may be able to reduce the risk of that happening by disabling the > hash. It's intended as a cache busting feature which doesn't make sense > for docs bundled with a package. Maybe this wasn't such a good idea. The hash change indicates that the contents of the generated docs changed, forcing a bump. Now an update may result in a package change that won't be picked up by updates since might not even notice that we need to bump. While the changes probably aren't super important (though it might be a bugfix in the generated .js) such missed bumps are wrong and have become more likely.

No comments:

Post a Comment