texlive[53859] trunk: texdoc (20feb20)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 21 23:53:49 CET 2020


Revision: 53859
          http://tug.org/svn/texlive?view=revision&revision=53859
Author:   karl
Date:     2020-02-21 23:53:49 +0100 (Fri, 21 Feb 2020)
Log Message:
-----------
texdoc (20feb20)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/texdoc/texdoc.tlu
    trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
    trunk/Master/texmf-dist/doc/man/man1/texdoc.1
    trunk/Master/texmf-dist/doc/man/man1/texdoc.man1.pdf
    trunk/Master/texmf-dist/doc/support/texdoc/NEWS
    trunk/Master/texmf-dist/doc/support/texdoc/README.md
    trunk/Master/texmf-dist/doc/support/texdoc/texdoc.pdf
    trunk/Master/texmf-dist/doc/support/texdoc/texdoc.tex
    trunk/Master/texmf-dist/scripts/texdoc/texdoc.tlu
    trunk/Master/texmf-dist/scripts/texdoc/texdoclib-const.tlu

Modified: trunk/Build/source/texk/texlive/linked_scripts/texdoc/texdoc.tlu
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texdoc/texdoc.tlu	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Build/source/texk/texlive/linked_scripts/texdoc/texdoc.tlu	2020-02-21 22:53:49 UTC (rev 53859)
@@ -16,13 +16,15 @@
 -- get realpath of this file
 local function realpath(p)
     if os.type == 'unix' then
-        local h = io.popen(string.format("realpath '%s'", p))
-        local r = h:read('*a')
-        h:close()
-        return r:gsub('\n$', '')
-    else
-        return ''
+        local e = os.execute('which realpath >/dev/null 2>&1')
+        if e == 0 then
+            local h = io.popen(string.format("realpath '%s'", p))
+            local r = h:read('*a')
+            h:close()
+            return r:gsub('\n$', '')
+        end
     end
+    return ''
 end
 local file = realpath(arg[0])
 

Modified: trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl	2020-02-21 22:53:49 UTC (rev 53859)
@@ -1,12 +1,12 @@
 #!/usr/bin/env perl
-# $Id: tlmgr.pl 53820 2020-02-17 03:23:13Z preining $
+# $Id: tlmgr.pl 53842 2020-02-19 07:28:40Z preining $
 #
 # Copyright 2008-2020 Norbert Preining
 # This file is licensed under the GNU General Public License version 2
 # or any later version.
 
-my $svnrev = '$Revision: 53820 $';
-my $datrev = '$Date: 2020-02-17 04:23:13 +0100 (Mon, 17 Feb 2020) $';
+my $svnrev = '$Revision: 53842 $';
+my $datrev = '$Date: 2020-02-19 08:28:40 +0100 (Wed, 19 Feb 2020) $';
 my $tlmgrrevision;
 my $tlmgrversion;
 my $prg;
@@ -6900,8 +6900,10 @@
   }
   # from here on only in non-machine-readable mode and not silent
   info("$prg: package repositories\n");
+  my $show_verification_page_link = 0;
   my $verstat = "";
   if (!$remotetlpdb->virtual_get_tlpdb('main')->is_verified) {
+    $show_verification_page_link = 1;
     $verstat = ": ";
     $verstat .= $VerificationStatusDescription{$remotetlpdb->virtual_get_tlpdb('main')->verification_status};
   }
@@ -6912,8 +6914,13 @@
     if ($t ne 'main') {
       $verstat = "";
       if (!$remotetlpdb->virtual_get_tlpdb($t)->is_verified) {
+        my $tlpdb_ver_stat = $remotetlpdb->virtual_get_tlpdb($t)->verification_status;
         $verstat = ": ";
-        $verstat .= $VerificationStatusDescription{$remotetlpdb->virtual_get_tlpdb($t)->verification_status};
+        $verstat .= $VerificationStatusDescription{$tlpdb_ver_stat};
+        # if the db is not verified *but* was signed, give the page link info
+        if ($tlpdb_ver_stat != $VS_UNSIGNED) {
+          $show_verification_page_link = 1;
+        }
       }
       info("\t$t = " . $repos{$t} . " (" .
         ($remotetlpdb->virtual_get_tlpdb($t)->is_verified ? "" : "not ") .
@@ -6920,6 +6927,9 @@
         "verified$verstat)\n");
     }
   }
+  if ($show_verification_page_link) {
+    info("For more about verification, see https://texlive.info/verification.html.\n");
+  }
   return 1;
 }
 
@@ -9989,7 +9999,7 @@
 distribution (L<https://tug.org/texlive>) and both are licensed under the
 GNU General Public License Version 2 or later.
 
-$Id: tlmgr.pl 53820 2020-02-17 03:23:13Z preining $
+$Id: tlmgr.pl 53842 2020-02-19 07:28:40Z preining $
 =cut
 
 # test HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html

Modified: trunk/Master/texmf-dist/doc/man/man1/texdoc.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/texdoc.1	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Master/texmf-dist/doc/man/man1/texdoc.1	2020-02-21 22:53:49 UTC (rev 53859)
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "TEXDOC" "1" "February 2020" "Texdoc 3.2" "Texdoc manual"
+.TH "TEXDOC" "1" "February 2020" "Texdoc 3.2.1" "Texdoc manual"
 .
 .SH "NAME"
 \fBtexdoc\fR \- find & view documentation in TeX Live

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

Modified: trunk/Master/texmf-dist/doc/support/texdoc/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/support/texdoc/NEWS	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Master/texmf-dist/doc/support/texdoc/NEWS	2020-02-21 22:53:49 UTC (rev 53859)
@@ -2,6 +2,10 @@
 ===============
 (This file public domain.)
 
+Version 3.2.1
+-------------
+- Bug fix: suspend a realpath not found error
+
 Version 3.2 (TeX Live 2020)
 ===========================
 - Improved the scoring scheme to prioritize the latex tree than the latex-dev

Modified: trunk/Master/texmf-dist/doc/support/texdoc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/texdoc/README.md	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Master/texmf-dist/doc/support/texdoc/README.md	2020-02-21 22:53:49 UTC (rev 53859)
@@ -1,4 +1,4 @@
-# Texdoc 3.2 (2020-02-02)
+# Texdoc 3.2.1 (2020-02-20)
 
 [![Build Status](https://travis-ci.org/TeX-Live/texdoc.svg?branch=master)](https://travis-ci.org/TeX-Live/texdoc)
 [![Build status](https://ci.appveyor.com/api/projects/status/uq28ms7eba7ns6d3/branch/master?svg=true)](https://ci.appveyor.com/project/wtsnjp/texdoc/branch/master)

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

Modified: trunk/Master/texmf-dist/doc/support/texdoc/texdoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/texdoc/texdoc.tex	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Master/texmf-dist/doc/support/texdoc/texdoc.tex	2020-02-21 22:53:49 UTC (rev 53859)
@@ -8,7 +8,7 @@
 \subtitle{Find \& view documentation in \TL}
 \pkgurl{https://tug.org/texdoc/}
 \author{Manuel Pégourié-Gonnard\and Takuto Asakura}
-\date{v3.2\quad \today}
+\date{v3.2.1\quad \today}
 
 \begin{document}
 

Modified: trunk/Master/texmf-dist/scripts/texdoc/texdoc.tlu
===================================================================
--- trunk/Master/texmf-dist/scripts/texdoc/texdoc.tlu	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Master/texmf-dist/scripts/texdoc/texdoc.tlu	2020-02-21 22:53:49 UTC (rev 53859)
@@ -16,13 +16,15 @@
 -- get realpath of this file
 local function realpath(p)
     if os.type == 'unix' then
-        local h = io.popen(string.format("realpath '%s'", p))
-        local r = h:read('*a')
-        h:close()
-        return r:gsub('\n$', '')
-    else
-        return ''
+        local e = os.execute('which realpath >/dev/null 2>&1')
+        if e == 0 then
+            local h = io.popen(string.format("realpath '%s'", p))
+            local r = h:read('*a')
+            h:close()
+            return r:gsub('\n$', '')
+        end
     end
+    return ''
 end
 local file = realpath(arg[0])
 

Modified: trunk/Master/texmf-dist/scripts/texdoc/texdoclib-const.tlu
===================================================================
--- trunk/Master/texmf-dist/scripts/texdoc/texdoclib-const.tlu	2020-02-21 22:53:22 UTC (rev 53858)
+++ trunk/Master/texmf-dist/scripts/texdoc/texdoclib-const.tlu	2020-02-21 22:53:49 UTC (rev 53859)
@@ -21,8 +21,8 @@
 -- progname and version
 fullname = kpse.find_file('texdoc/texdoclib', 'lua')
 progname = 'Texdoc'
-version = '3.2'
-release_date = '2020-02-02'
+version = '3.2.1'
+release_date = '2020-02-20'
 
 -- make sure to update setup_config_from_cl() accordingly
 -- and set a default value in setup_config_from_defaults() if relevant



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