[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5822 Calc

From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5822 Calculate download sizes rather than hardcoding them
Date: Fri, 06 Mar 2020 12:18:30 -0000

What do you mean with "it fails"? A load of diagnostics at the end is expected because our big pages are broken to a good degree. If you try navigating the pages, the links for which the diagnostics are output are dead. That is not new but the preexisting state of things that nobody has fixed so far.

A failure would be if Make exits with a non-zero status. I don't see that from what you quote.

Yes, the ultimate state we want is no diagnostic at all. And hopefully this load of notifications will make people work towards it, and fix the dead links we have had for years to decades.

[issues:#5822] Calculate download sizes rather than hardcoding them

Status: Started
Created: Fri Mar 06, 2020 01:19 AM UTC by David Kastrup
Last Updated: Fri Mar 06, 2020 10:42 AM UTC
Owner: David Kastrup

Calculate download sizes rather than hardcoding them

This has several problems yet. The most relevant problem may be that
I have no clue how our actual webpages are being compiled, so this
likely would render the web pages silent about download sizes.

It works on the offline-root web pages intended as HTML documentation.
However, at the completion of make doc, numerous files are flagged as
not being available for size calculations. This is not really a
problem with this patch: it turns out that the respective links would
actually all be dead. So this is something that should be fixed

In contrast, the live webpage may have some links where the script
complains that aren't dead as much as dependent on the browser's
language settings (which is a bad idea since it does not allow
browsing documentation that does not correspond to your selected
browser language).

Contains two commits:

Replace hardwired download sizes with HTML comment

Download sizes given in web page and HTML pages tended to have
diverged a lot from reality. This patch removes all of the download
sizes but adds special HTML comments into the HTML files that
previously contained size estimates. These comments can then be
replaced by the actual sizes with a postprocessing script.

As a consequence, PDF and Info versions now no longer contain download
size estimates.

Replace HTML size comments with human-readable size

This calculates download sizes as the last step of HTML generation and
puts them into the HTML files for reference.

The work is done by scripts/build/ .

It does that by replacing the size-requesting HTML comments in the
files given on the command line by the respective human-readable size.

scripts/build/ is run in the respective directories as
the final step of generating the HTML versions.

This script uses ls -sh in order to get a human-readable size spec.

Sent from because address@hidden is subscribed to

To unsubscribe from further messages, a project admin can change settings at Or, if this is a mailing list, you can unsubscribe from the mailing list.

Testlilyissues-auto mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]