texlive[67530] Master: fail-fast (2jul23)

commits+karl at tug.org commits+karl at tug.org
Sun Jul 2 22:17:16 CEST 2023


Revision: 67530
          http://tug.org/svn/texlive?view=revision&revision=67530
Author:   karl
Date:     2023-07-02 22:17:15 +0200 (Sun, 02 Jul 2023)
Log Message:
-----------
fail-fast (2jul23)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/fail-fast/
    trunk/Master/texmf-dist/doc/latex/fail-fast/LICENSE.txt
    trunk/Master/texmf-dist/doc/latex/fail-fast/README.md
    trunk/Master/texmf-dist/doc/latex/fail-fast/fail-fast.pdf
    trunk/Master/texmf-dist/source/latex/fail-fast/
    trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.dtx
    trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.ins
    trunk/Master/texmf-dist/tex/latex/fail-fast/
    trunk/Master/texmf-dist/tex/latex/fail-fast/fail-fast.sty
    trunk/Master/tlpkg/tlpsrc/fail-fast.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/fail-fast/LICENSE.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fail-fast/LICENSE.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/fail-fast/LICENSE.txt	2023-07-02 20:17:15 UTC (rev 67530)
@@ -0,0 +1,21 @@
+(The MIT License)
+
+Copyright (c) 2023 Yegor Bugayenko
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the 'Software'), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.


Property changes on: trunk/Master/texmf-dist/doc/latex/fail-fast/LICENSE.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/fail-fast/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fail-fast/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/fail-fast/README.md	2023-07-02 20:17:15 UTC (rev 67530)
@@ -0,0 +1,27 @@
+[![make](https://github.com/yegor256/fail-fast/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/fail-fast/actions/workflows/l3build.yml)
+[![CTAN](https://img.shields.io/ctan/v/fail-fast)](https://ctan.org/pkg/fail-fast)
+[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/fail-fast/blob/master/LICENSE.txt)
+
+This LaTeX package helps you make your build more fragile, which is good if you care about quality.
+Every warning it will turn into an error and LaTeX engine will fail with a non-zero error message.
+
+First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
+from [CTAN](https://ctan.org/pkg/fail-fast) 
+and then use in the preamble:
+
+```tex
+\documentclass{article}
+\usepackage{fail-fast}
+\begin{document}
+This reference is broken: \ref{foo}
+\end{fail-fast}
+\end{document}
+```
+
+Otherwise, you can download [`fail-fast.sty`](https://raw.githubusercontent.com/yegor256/fail-fast/gh-pages/fail-fast/fail-fast.sty) and add to your project.
+
+If you want to contribute yourself, make a fork, then create a branch,
+then run `l3build ctan` in the root directory.
+It should compile everything without errors. If not, submit an issue and wait.
+Otherwise, make your changes and then run `l3build ctan` again. If the build is
+still clean, submit a pull request.


Property changes on: trunk/Master/texmf-dist/doc/latex/fail-fast/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/fail-fast/fail-fast.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/fail-fast/fail-fast.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fail-fast/fail-fast.pdf	2023-07-01 23:46:49 UTC (rev 67529)
+++ trunk/Master/texmf-dist/doc/latex/fail-fast/fail-fast.pdf	2023-07-02 20:17:15 UTC (rev 67530)

Property changes on: trunk/Master/texmf-dist/doc/latex/fail-fast/fail-fast.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.dtx	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.dtx	2023-07-02 20:17:15 UTC (rev 67530)
@@ -0,0 +1,117 @@
+% \iffalse meta-comment
+% (The MIT License)
+%
+% Copyright (c) 2023 Yegor Bugayenko
+%
+% Permission is hereby granted, free of charge, to any person obtaining a copy
+% of this software and associated documentation files (the 'Software'), to deal
+% in the Software without restriction, including without limitation the rights
+% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+% copies of the Software, and to permit persons to whom the Software is
+% furnished to do so, subject to the following conditions:
+%
+% The above copyright notice and this permission notice shall be included in all
+% copies or substantial portions of the Software.
+%
+% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+% SOFTWARE.
+% \fi
+
+% \CheckSum{0}
+%
+% \CharacterTable
+%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%   Digits        \0\1\2\3\4\5\6\7\8\9
+%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%   Dollar        \$     Percent       \%     Ampersand     \&
+%   Acute accent  \'     Left paren    \(     Right paren   \)
+%   Asterisk      \*     Plus          \+     Comma         \,
+%   Minus         \-     Point         \.     Solidus       \/
+%   Colon         \:     Semicolon     \;     Less than     \<
+%   Equals        \=     Greater than  \>     Question mark \?
+%   Commercial at \@     Left bracket  \[     Backslash     \\
+%   Right bracket \]     Circumflex    \^     Underscore    \_
+%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%   Right brace   \}     Tilde         \~}
+
+% \GetFileInfo{fail-fast.dtx}
+% \DoNotIndex{\endgroup,\begingroup,\let,\else,\fi,\newcommand,\newenvironment}
+
+% \iffalse
+%<*driver>
+\ProvidesFile{fail-fast.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}
+%<package>\ProvidesPackage{fail-fast}
+%<*package>
+[2023-07-01 0.0.1 Turns warnings into errors]
+%</package>
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage[T1]{fontenc}
+\usepackage[tt=false,type1=true]{libertine}
+\usepackage{microtype}
+\AddToHook{env/verbatim/begin}{\microtypesetup{protrusion=false}}
+\usepackage{href-ul}
+\usepackage[dtx,runs=2]{docshots}
+\PageIndex
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+	\DocInput{fail-fast.dtx}
+	\PrintChanges
+	\PrintIndex
+\end{document}
+%</driver>
+% \fi
+
+% \title{|fail-fast|: \LaTeX{} Package \\ that turns warnings into errors\thanks{The sources are in GitHub at \href{https://github.com/yegor256/fail-fast}{yegor256/fail-fast}}}
+% \author{Yegor Bugayenko \\ \texttt{yegor256 at gmail.com}}
+% \date{\filedate, \fileversion}
+%
+% \maketitle
+%
+% \section{Introduction}
+%
+% This package, when included, turns warnings into errors, thus making the build more fragile. This
+% may be a good practice if you care about the quality of your documents and want to keep
+% the quality high, not losing it between changes:
+% \begin{docshot}
+% \documentclass{article}
+% \usepackage{fail-fast}
+% \pagestyle{empty}
+% \begin{document}
+% Here goes your content.
+% \end{document}
+% \end{docshot}
+
+% The development of this package was motivated by this
+% \href{https://stackoverflow.com/questions/3244908}{Stack Overflow question}.
+
+% \StopEventually{}
+
+% \section{Implementation}
+% \changes{v0.1.0}{2023/07/01}{Initial version, which turns warnings into errors}
+
+%    \begin{macrocode}
+\message{fail-fast: Starting from now all warnings
+  are reported as errors^^J}%
+\renewcommand{\GenericWarning}[2]{%
+  \GenericError{#1}{#2}{}{This was a warning, now an error}%
+}
+%    \end{macrocode}
+
+% \Finale
+
+%\clearpage
+%
+%\PrintChanges
+%\clearpage
+%\PrintIndex


Property changes on: trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.ins	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fail-fast/fail-fast.ins	2023-07-02 20:17:15 UTC (rev 67530)
@@ -0,0 +1,55 @@
+%% (The MIT License)
+%%
+%% Copyright (c) 2023 Yegor Bugayenko
+%%
+%% Permission is hereby granted, free of charge, to any person obtaining a copy
+%% of this software and associated documentation files (the 'Software'), to deal
+%% in the Software without restriction, including without limitation the rights
+%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+%% copies of the Software, and to permit persons to whom the Software is
+%% furnished to do so, subject to the following conditions:
+%%
+%% The above copyright notice and this permission notice shall be included in all
+%% copies or substantial portions of the Software.
+%%
+%% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+%% SOFTWARE.
+
+\input docstrip.tex
+\keepsilent
+\usedir{macros/latex/contrib/fail-fast}
+\preamble
+(The MIT License)
+
+Copyright (c) 2023 Yegor Bugayenko
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the 'Software'), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+\endpreamble
+\generate{\file{fail-fast.sty}{\from{fail-fast.dtx}{package}}}
+\obeyspaces
+\Msg{To finish the installation you have to move the ".sty"}
+\Msg{file into a directory searched by TeX. To produce the}
+\Msg{documentation run the file ".dtx" through LaTeX. If any}
+\Msg{questions, submit a new GitHub issue.}
+\endbatchfile

Added: trunk/Master/texmf-dist/tex/latex/fail-fast/fail-fast.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fail-fast/fail-fast.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/fail-fast/fail-fast.sty	2023-07-02 20:17:15 UTC (rev 67530)
@@ -0,0 +1,49 @@
+%%
+%% This is file `fail-fast.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fail-fast.dtx  (with options: `package')
+%% (The MIT License)
+%% 
+%% Copyright (c) 2023 Yegor Bugayenko
+%% 
+%% Permission is hereby granted, free of charge, to any person obtaining a copy
+%% of this software and associated documentation files (the 'Software'), to deal
+%% in the Software without restriction, including without limitation the rights
+%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+%% copies of the Software, and to permit persons to whom the Software is
+%% furnished to do so, subject to the following conditions:
+%% 
+%% The above copyright notice and this permission notice shall be included in all
+%% copies or substantial portions of the Software.
+%% 
+%% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+%% SOFTWARE.
+
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{fail-fast}
+[2023-07-01 0.0.1 Turns warnings into errors]
+
+
+
+
+
+\message{fail-fast: Starting from now all warnings
+  are reported as errors^^J}%
+\renewcommand{\GenericWarning}[2]{%
+  \GenericError{#1}{#2}{}{This was a warning, now an error}%
+}
+
+
+\endinput
+%%
+%% End of file `fail-fast.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/fail-fast/fail-fast.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2023-07-01 23:46:49 UTC (rev 67529)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2023-07-02 20:17:15 UTC (rev 67530)
@@ -318,7 +318,8 @@
     expose-expl3-dunkerque-2019 expressg
     exsheets exsol extarrows exteps
     extpfeil extract extsizes
-  facsimile factura facture facture-belge-simple-sans-tva faktor familytree
+  facsimile factura facture facture-belge-simple-sans-tva
+    fail-fast faktor familytree
     fancybox fancyhandout fancyhdr fancyhdr-it fancylabel fancynum fancypar
     fancyqr fancyref fancyslides fancytabs fancytooltips fancyvrb fandol
     fascicules fast-diagram fbb fbithesis fbox fbs

Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2023-07-01 23:46:49 UTC (rev 67529)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2023-07-02 20:17:15 UTC (rev 67530)
@@ -484,6 +484,7 @@
 depend extract
 depend facsimile
 depend factura
+depend fail-fast
 depend familytree
 depend fancyhandout
 depend fancylabel

Added: trunk/Master/tlpkg/tlpsrc/fail-fast.tlpsrc
===================================================================


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