From 2ead7e2006fba7e2ede813415f6eb409edf4c6c4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Mar 2020 02:40:21 +0000 Subject: tl-update-tlpdbs (compare_and_fix_tlpdbs): do not return prematurely if set of packages is the same; may also need to check catalogue data. Doc. TLTREE.pm (_get_files_matching_glob_pattern): switch to dddebug for the matching and hits, else -vv output from tl-update-tlpdb is unusably voluminous. TLUtils.pm (dddebug): document this. git-svn-id: svn://tug.org/texlive/trunk@54067 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLTREE.pm | 6 +++--- Master/tlpkg/TeXLive/TLUtils.pm | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'Master/tlpkg/TeXLive') diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm index 752ddf7fc91..535dd435f5e 100644 --- a/Master/tlpkg/TeXLive/TLTREE.pm +++ b/Master/tlpkg/TeXLive/TLTREE.pm @@ -1,6 +1,6 @@ # $Id$ # TeXLive::TLTREE.pm - work with the tree of all files -# Copyright 2007-2018 Norbert Preining +# Copyright 2007-2020 Norbert Preining # This file is licensed under the GNU General Public License version 2 # or any later version. @@ -385,9 +385,9 @@ sub _get_files_matching_glob_pattern my @candfiles = @{$self->{'_filesofdir'}{$dirpart}}; for my $f (@candfiles) { - ddebug("matching $f in $dirpart via glob $globline\n"); + dddebug("matching $f in $dirpart via glob $globline\n"); if ($f =~ /^$basepart$/) { - ddebug("hit: globline=$globline, $dirpart/$f\n"); + dddebug("hit: globline=$globline, $dirpart/$f\n"); if ("$dirpart" eq ".") { push @returnfiles, "$f"; } else { diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 409304c980f..ae4c2c282ef 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -3419,9 +3419,11 @@ strings. The message will be omitted unless C<-v -v -v> was specified. If the log file (see L) is defined, it also writes there. -This third level debugging message reports messages about processing -each line of any tlpdb files read, in addition to the first and second -levels. +In addition to the first and second levels, this third level debugging +message reports messages about processing each line of any tlpdb files +read, and messages about files tested or matched against tlpsrc +patterns. This output is extremely voluminous, so unless you're +debugging those parts of the code, it just gets in the way. =cut -- cgit v1.2.3