git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: make HTML manual reproducible

From
Todd Zullinger <tmz@pobox.com>
Date
Dec 2, 2020, 16:07 UTC
Message-ID
<20201202160755.GX748@pobox.com>
In-Reply-To
<X8bhdyu/OlscI1ME@camp.crustytoothpaste.net>
brian m. carlson wrote:
Show 12 quoted lines
> On 2020-12-01 at 15:41:15, Todd Zullinger wrote:
>> I think this would raise the minimum supported version of
>> docbook-xsl to 1.77.1.  That might be fine, but we'd
>> probably want to make sure it doesn't negatively impact
>> OS/distributions which build the docs as a likely group who
>> care about reproducible builds.  And we'd want to update the
>> requirement in INSTALL, of course.
> 
> I don't think that's necessarily the case.  I just tested using a random
> name with another DocBook project I have and it seems to work fine, so
> there shouldn't be a problem with specifying a name undefined in the
> stylesheet using xsltproc.

Oh, that's very good to know. Thanks for testing the fine details. I checked that works on a CentOS 6 system where the docbook-xsl version is 1.75.2, to test whether an older docbook-xsl is similarly forgiving of unknown --param's.

> If we want this to be effective, then yes, people will need to upgrade.
> But if they're happy with the old behavior on ancient systems, that
> shouldn't be a problem.

Indeed. Is it worth mentioning this at all in INSTALL? Something like:

  -   The minimum supported version of docbook-xsl is 1.74.
  +   The minimum supported version of docbook-xsl is 1.74.  For consistent
  +   IDs in the HTML version of the user-manual, 1.79.1 or newer is
  +   necessary.
perhaps?

The explicit mention of the user-manual may be overkill, particularly if we later apply a similar change to other HTML docs (if any other HTML docs even need it)?

-- 
Todd
Previous: brian m. carlsonNext: Junio C Hamano
Message 8 of 15 in “doc: make HTML manual reproducible”
  1. doc: make HTML manual reproducibleArnout Engelen, Dec 1, 2020
  2. Todd ZullingerDec 1, 2020
  3. Martin ÅgrenDec 1, 2020
  4. Jeff KingDec 2, 2020
  5. Junio C HamanoDec 1, 2020
  6. Martin ÅgrenDec 1, 2020
  7. brian m. carlsonDec 2, 2020
  8. Todd ZullingerDec 2, 2020
  9. Junio C HamanoDec 2, 2020
  10. brian m. carlsonDec 2, 2020
  11. Junio C HamanoDec 3, 2020
  12. Todd ZullingerDec 3, 2020
  13. Re* [PATCH] doc: make HTML manual reproducibleJunio C Hamano, Dec 3, 2020
  14. Arnout EngelenDec 3, 2020
  15. brian m. carlsonDec 2, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.