texlive[59226] Master/tlpkg/TeXLive: podisms, list missing functions

commits+karl at tug.org commits+karl at tug.org
Sun May 16 20:22:05 CEST 2021


Revision: 59226
          http://tug.org/svn/texlive?view=revision&revision=59226
Author:   karl
Date:     2021-05-16 20:22:05 +0200 (Sun, 16 May 2021)
Log Message:
-----------
podisms, list missing functions

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLConfFile.pm
    trunk/Master/tlpkg/TeXLive/TLPOBJ.pm
    trunk/Master/tlpkg/TeXLive/TLPSRC.pm
    trunk/Master/tlpkg/TeXLive/TLTREE.pm
    trunk/Master/tlpkg/TeXLive/TeXCatalogue.pm

Modified: trunk/Master/tlpkg/TeXLive/TLConfFile.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfFile.pm	2021-05-16 17:41:12 UTC (rev 59225)
+++ trunk/Master/tlpkg/TeXLive/TLConfFile.pm	2021-05-16 18:22:05 UTC (rev 59226)
@@ -565,7 +565,8 @@
 
   use TeXLive::TLConfFile;
 
-  $conffile = TeXLive::TLConfFile->new($file_name, $comment_char, $separator, $type);
+  my $conffile = TeXLive::TLConfFile->new($file_name, $comment_char,
+                                          $separator, $type);
   $conffile->file;
   $conffile->cc;
   $conffile->sep;

Modified: trunk/Master/tlpkg/TeXLive/TLPOBJ.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPOBJ.pm	2021-05-16 17:41:12 UTC (rev 59225)
+++ trunk/Master/tlpkg/TeXLive/TLPOBJ.pm	2021-05-16 18:22:05 UTC (rev 59226)
@@ -1478,12 +1478,12 @@
 
   use TeXLive::TLPOBJ;
 
-  my $tlpobj=TeXLive::TLPOBJ->new(name => "foobar");
+  my $tlpobj = TeXLive::TLPOBJ->new(name => "foobar");
 
 =head1 DESCRIPTION
 
 The L<TeXLive::TLPOBJ> module provide access to TeX Live Package Object
-files describing a self-contained package.
+(C<.tlpobj>) files, which describe a self-contained TL package.
 
 =head1 FILE SPECIFICATION
 

Modified: trunk/Master/tlpkg/TeXLive/TLPSRC.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPSRC.pm	2021-05-16 17:41:12 UTC (rev 59225)
+++ trunk/Master/tlpkg/TeXLive/TLPSRC.pm	2021-05-16 18:22:05 UTC (rev 59226)
@@ -1256,12 +1256,12 @@
 to the C<new> constructor can be in the usual hash representation for
 the different keys above:
 
-  $tlpsrc = TLPSRC->new (name => "foobar",
-                         shortdesc => "The foobar package");
+  $tlpsrc = TLPSRC->new(name => "foobar",
+                        shortdesc => "The foobar package");
 
 =item C<from_file("filename")>
 
-reads a C<tlpsrc> file from disk.  C<filename> can either be a full path
+Reads a C<tlpsrc> file from disk.  C<filename> can either be a full path
 (if it's readable, it's used), or just a package identifier such as
 C<plain>.  In the latter case, the directory searched is the C<tlpsrc>
 sibling of the C<TeXLive> package directory where C<TLPSRC.pm> was found.

Modified: trunk/Master/tlpkg/TeXLive/TLTREE.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLTREE.pm	2021-05-16 17:41:12 UTC (rev 59225)
+++ trunk/Master/tlpkg/TeXLive/TLTREE.pm	2021-05-16 18:22:05 UTC (rev 59226)
@@ -19,8 +19,25 @@
 =head1 SYNOPSIS
 
   use TeXLive::TLTREE;
-  TeXLive::TLTREE->new ();
-  ...
+  my $tltree = TeXLive::TLTREE->new();
+  
+  $tltree->init_from_svn();
+  $tltree->init_from_statusfile();
+  $tltree->init_from_files();
+  $tltree->init_from_git();
+  $tltree->init_from_gitsvn();
+  $tltree->print();
+  $tltree->find_alldirs();
+  $tltree->print_node();
+  $tltree->walk_tree();
+  $tltree->add_path_to_tree();
+  $tltree->file_svn_lastrevision();
+  $tltree->size_of();
+  $tltree->get_matching_files();
+  $tltree->files_under_path();
+  $tltree->svnroot();
+  $tltree->revision();
+  $tltree->architectures();
 
 =head1 DESCRIPTION
 
@@ -549,8 +566,8 @@
   return defined $self->{'archs'} ? @{ $self->{'archs'} } : ();
 }
 
-
 1;
+__END__
 
 =head1 SEE ALSO
 

Modified: trunk/Master/tlpkg/TeXLive/TeXCatalogue.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TeXCatalogue.pm	2021-05-16 17:41:12 UTC (rev 59225)
+++ trunk/Master/tlpkg/TeXLive/TeXCatalogue.pm	2021-05-16 18:22:05 UTC (rev 59226)
@@ -23,6 +23,33 @@
 
 C<TeXLive::TeXCatalogue> - TeX Live access to the TeX Catalogue from CTAN
 
+=head1 SYNOPSIS
+
+  use TeXLive::TeXCatalogue;
+  my $texcat = TeXLive::TLTREE->new();
+
+  $texcat->initialize();
+  $texcat->beautify();
+  $texcat->name();
+  $texcat->license();
+  $texcat->version();
+  $texcat->caption();
+  $texcat->description();
+  $texcat->ctan();
+  $texcat->texlive();
+  $texcat->miktex();
+  $texcat->docs();
+  $texcat->entry();
+  $texcat->alias();
+  $texcat->also();
+  $texcat->topics();
+  $texcat->contact();
+  $texcat->new(); 
+  $texcat->initialize();
+  $texcat->quest4texlive();
+  $texcat->location();
+  $texcat->entries();
+
 =head1 DESCRIPTION
 
 The L<TeXLive::TeXCatalogue> module provides access to the data stored
@@ -340,7 +367,6 @@
 
 1;
 __END__
-

 
 =head1 SEE ALSO
 



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