texlive[66647] trunk: l3build (22mar23)

commits+karl at tug.org commits+karl at tug.org
Wed Mar 22 21:27:00 CET 2023


Revision: 66647
          http://tug.org/svn/texlive?view=revision&revision=66647
Author:   karl
Date:     2023-03-22 21:27:00 +0100 (Wed, 22 Mar 2023)
Log Message:
-----------
l3build (22mar23)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
    trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/l3build/README.md
    trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
    trunk/Master/texmf-dist/doc/man/man1/l3build.1
    trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
    trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
    trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua
    trunk/Master/texmf-dist/scripts/l3build/l3build.lua
    trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx

Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2023-03-22 20:27:00 UTC (rev 66647)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2023-03-08"
+release_date = "2023-03-22"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")

Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md	2023-03-22 20:27:00 UTC (rev 66647)
@@ -7,6 +7,16 @@
 
 ## [Unreleased]
 
+## [2023-03-22]
+
+### Changed
+- Default value of `maxprintline` is now `9999`
+  (may require `.tlg` updates: see docs)
+
+### Fixed
+- Apply needed luatex-specific log normalization, even when `--rerun` is used
+  (issue #291)
+
 ## [2023-03-08]
 
 ### Changed
@@ -647,7 +657,8 @@
 - Rationalise short option names: removed `-d`, `-E`, `-r`
 - Target `cmdcheck`: specific to LaTeX kernel work
 
-[Unreleased]: https://github.com/latex3/l3build/compare/2023-03-08...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2023-03-22...HEAD
+[2023-03-22]: https://github.com/latex3/l3build/compare/2023-03-08...2023-03-22
 [2023-03-08]: https://github.com/latex3/l3build/compare/2023-02-26...2023-03-08
 [2023-02-26]: https://github.com/latex3/l3build/compare/2023-02-20...2023-02-26
 [2023-02-20]: https://github.com/latex3/l3build/compare/2023-02-16...2023-02-20

Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md	2023-03-22 20:27:00 UTC (rev 66647)
@@ -1,7 +1,7 @@
 l3build: a testing and building system for LaTeX
 =================================================
 
-Release 2023-03-08
+Release 2023-03-22
 
 Overview
 --------

Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1	2023-03-22 20:27:00 UTC (rev 66647)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2023-03-08"
+.TH l3build 1 "2023-03-22"
 .SH NAME
 l3build \- Checking and building packages
 .SH SYNOPSIS

Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua	2023-03-22 20:27:00 UTC (rev 66647)
@@ -697,8 +697,11 @@
   local testname = name .. "." .. engine
   -- Do additional log formatting if the engine is LuaTeX, there is no
   -- engine-specific .tlg file and the default engine is not LuaTeX
+  local has_engine_specific_tlg =
+      match(tlgfile, "%." .. engine .. "%" .. tlgext)
+      and locate({ testfiledir, unpackdir }, { tlgfile })
   if (match(engine,"^lua") or match(engine,"^harf"))
-    and not match(tlgfile, "%." .. engine .. "%" .. tlgext)
+    and not has_engine_specific_tlg
     and not match(stdengine,"^lua")
     then
     local lualogfile = logfile

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua	2023-03-22 20:27:00 UTC (rev 66647)
@@ -1,6 +1,6 @@
 --[[
 
-File l3build-variables.lua Copyright (C) 2018-2022 The LaTeX Project
+File l3build-variables.lua Copyright (C) 2018-2023 The LaTeX Project
 
 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -191,7 +191,7 @@
 if flattentds == nil then
   flattentds = true
 end
-maxprintline = maxprintline or 79
+maxprintline = maxprintline or 9999
 packtdszip   = packtdszip   or false
 -- support "ps2pdfopt" for backward compatibility, gh issue #275
 ps2pdfopts   = ps2pdfopts   or ps2pdfopt or ""

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2023-03-22 20:27:00 UTC (rev 66647)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2023-03-08"
+release_date = "2023-03-22"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")

Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2023-03-22 20:26:29 UTC (rev 66646)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2023-03-22 20:27:00 UTC (rev 66647)
@@ -152,7 +152,7 @@
 \luavarset{epoch}       {1463734800}  {Epoch (Unix date) to set for test runs}
 \luavarset{flatten}     {true}        {Switch to flatten any source structure when sending to CTAN}
 \luavarset{flattentds}  {true}        {Switch to flatten any source structure when creating a TDS structure}
-\luavarset{maxprintline}{79}          {Length of line to use in log files}
+\luavarset{maxprintline}{9999}        {Length of line to use in log files}
 \luavarset{packtdszip}  {false}       {Switch to build a TDS-style zip file for CTAN}
 \luavarset{ps2pdfopts}  {""}          {Options for \texttt{ps2pdf}}
 \luavarset{typesetcmds} {""}          {Instructions to be passed to \TeX{} when doing typesetting}
@@ -236,7 +236,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2023-03-08}
+% \date{Released 2023-03-22}
 %
 % \maketitle
 % \tableofcontents
@@ -896,6 +896,25 @@
 % an empty table the latter process is skipped: suitable for cases where only
 % Unicode engines are in use.
 %
+% \subsection{Breaking changes}
+%
+% Very occasionally, it is necessary to make changes to \pkg{l3build} that
+% change the \texttt{.tlg} file results. This is typically when additional
+% normalisation is required. When this is the case, you should first verify
+% that \texttt{.tlg} files pass with the older \pkg{l3build}, then update only
+% \pkg{l3build}, re-check the files and save the results. Where possible,
+% we provide a mechanism to run with older setting to allow this process to
+% take place smoothly.
+%
+% \subsubsection{Release 2023-03-22}
+%
+% This release changes the standard value of \var{maxprintline} for $79$ to
+% $9999$, to suppress line wrapping in the log. This makes normalisation of
+% for example file paths more reliable. To check that \texttt{.tlg} files
+% are correct, you can set \var{maxprintline} in your \texttt{build.lua} file
+% explicitly to the old default, check that tests pass, then remove this
+% line and re-check.
+%
 % \section{Writing test files}
 % \label{sec:writing-tests}
 %



More information about the tex-live-commits mailing list.