From 6eb282b103d3848f2d1293472d20e5202043fb3e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 14 Mar 2024 22:49:09 +0000 Subject: doc,test git-svn-id: svn://tug.org/texlive/trunk@70642 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-containers | 9 +++-- Master/tlpkg/doc/releng.txt | 70 ++++++++++++++++++++--------------- 2 files changed, 46 insertions(+), 33 deletions(-) diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers index 5b615dfe7a2..7f372fa5e67 100755 --- a/Master/tlpkg/bin/tl-update-containers +++ b/Master/tlpkg/bin/tl-update-containers @@ -115,9 +115,9 @@ sub main { } # collect package status lists. - my (@pkgs_new); - my (@pkgs_updated); - my (@pkgs_removed); + my @pkgs_new = (); + my @pkgs_updated = (); + my @pkgs_removed = (); my $count_unchanged = 0; if ($opt_recreate) { @@ -427,6 +427,9 @@ sub main { info(@list ? ": @list" : "."); info("\n"); } + print "$prg: ", 0 + @pkgs_new, " newtest (@pkgs_new)\n"; + print "$prg: ", 0 + @pkgs_removed, " rmtest (@pkgs_removed)\n"; + print "$prg: ", 0 + @pkgs_updated, " updtest (@pkgs_updated)\n"; info("$prg: $count_unchanged unchanged.\n"); } else { info("$prg: no containers to be updated.\n"); diff --git a/Master/tlpkg/doc/releng.txt b/Master/tlpkg/doc/releng.txt index c0ce90c63a1..6df5b43542f 100644 --- a/Master/tlpkg/doc/releng.txt +++ b/Master/tlpkg/doc/releng.txt @@ -420,11 +420,11 @@ ls !$ # should be empty cd /home/ftp/texlive/Images cp -pv README.md $hx/$prev/ -mv -v *.iso* *.torrent* $hx/$prev/ -ls # should be only README and test/ left. -mv -v test/texlive*.iso* . -mv -v test/texlive*.tar.xz* $hx/$this/ # tar version only in historic -update README.md (touch even if no real changes needed) +mv -iv *.iso* *.torrent* $hx/$prev/ +ls # should be only README.md and test/ left. +mv -iv test/texlive*.iso* . +mv -iv test/texlive*.tar.xz* $hx/$this/ # tar version only in historic +update README.md (touch even if no real changes needed so the mtime changes) and test/README (pretest over) - mactex (from tlpretest) @@ -437,18 +437,21 @@ ls # should be only MacTeXtras.zip* and related left. mv -v ~ftp/texlive/tlpretest/*.pkg* . # # make generic symlinks: -ln -s mactex-basictex-20230314.pkg BasicTeX.pkg -ln -s mactex-ghostscript-10.0.0-20230218.pkg Ghostscript.pkg -ln -s mactex-20230314.pkg MacTeX.pkg +ln -sv `ls mactex-2*.pkg` MacTeX.pkg +ln -sv `ls mactex-basictex-*.pkg` BasicTeX.pkg +ln -sv `ls mactex-ghostscript-*.pkg` Ghostscript.pkg +ln -sv `ls mactex-ghostscriptextras-*.pkg` GhostscriptExtras.pkg +# +# make sure no symlinks are broken: +brokensymlinks . # -# and checksums for them: +# generate checksums for them: for f in *.pkg; do echo $f; md5sum $f >$f.md5; sha512sum $f >$f.sha512; done # edit README chgrp mactex *; chmod g+w * mkdir $hm/$this/ ls !$ # should be empty -cp -pv Extras*.pdf mactex-MacTeXtras*.zip $hm/$this - move rest of tlnet to historic, as tlnet-final: We keep updating the $prev release while doing the pretest for $this, @@ -461,35 +464,39 @@ ls !$ # should be empty cd /home/ftp/texlive/tlnet mv [a-z]* $hx/$prev/tlnet-final rm -i TEXLIVE_20* # remove old signal file +ls # should only be README.md -- move tlpretest to tlnet, to make the release +- move tlpretest to tlnet; this is what does the release mv ../tlpretest/[a-z]* . update README.md (update year, check for other changes) and ../tlpretest/README.md (pretest over) cp install-tl-unx.tar.gz install-tl.zip $hx/$this/ touch TEXLIVE_$this # empty file to signal new version +ls TEXLIVE_* - Source directory for CTAN: fx=/home/ftp/tex ls $fx/texlive/Source/* # ensure last year's sources rm -f !$ # yep, remove them, we have have them in historic -cp -av $tm/source/{install-tl,texlive-,windows-src-}*z $fx/texlive/Source/ +cp -av $tm/source/{install-tl,texlive-,windows-src}*z $fx/texlive/Source/ cp -av $tm/source/{install-tl,texlive,windows-src}*README $fx/texlive/Source/ - historic copy of TL web pages: cd /home/httpd/html/texlive mkdir $hx/$prev/web/ cp *.html !$ -ls !$/bugs.html # disable header.html ssi in that bugs.html - -- copy full (unpruned) tlpdb to historic: -# the pre-pruned tlpdb directory is created by tl-update-images. -preprune=/home/ftp/texlive/Images/test/preprune-tlpdb -ls -l $preprune # ensure tlpdb and xz and checksums -tgz=/tmp/texlive-${this}0321-tlpdb-full.tar.gz # release date, not today's -(cd $preprune && tar cvzf $tgz texlive.tlpdb texlive.tlpdb.*5*) -mv $tgz $hx/$this/ -rm -rf $preprune +ls !$bugs.html +chmod u+rw !$ # disable header.html ssi in that bugs.html + +- no longer needed, since we no longer prune. +# copy full (unpruned) tlpdb to historic: +# # the pre-pruned tlpdb directory is created by tl-update-images. +# preprune=/home/ftp/texlive/Images/test/preprune-tlpdb +# ls -l $preprune # ensure tlpdb and xz and checksums +# tgz=/tmp/texlive-${this}0321-tlpdb-full.tar.gz # release date, not today's +# (cd $preprune && tar cvzf $tgz texlive.tlpdb texlive.tlpdb.*5*) +# mv $tgz $hx/$this/ +# rm -rf $preprune - email ctan@ctan.org. update local CTAN area, just to avoid mirroring everything back again. @@ -504,13 +511,13 @@ rm $cy/mac/mactex/*; cp -a $fx/mactex/* $cy/mac/mactex/ 2. tug.org stuff: -umount /home/ftp/texlive/Contents/live +umount /home/ftp/texlive/Contents/live # if not already done edit fstab for year mount /mnt/tl cd /mnt/tl TEXLIVE_INSTALL_NO_RESUME=1; export TEXLIVE_INSTALL_NO_RESUME echo i | time nice -19 perl install-tl # do full install to default location - # takes about 40min + # takes about 20min rm /usr/local/texlive-rel && ln -s texlive/$this /usr/local/texlive-rel ls !$ newsrc=!$/source @@ -539,6 +546,8 @@ find /usr/local/texlive-rel/ -type d -print | xargs chmod a+rwX - update ~www/texlive web pages (search for $prev and $prev-1): acquire* - general + acquire-iso.html - checksums and torrent + acquire-mirror.html - repo size bugs.html - news from pretest.html, also case of $prevprev at bottom build.html - platform list custom-bin.html - remove any old, add any new @@ -553,12 +562,13 @@ check for new Texinfo manuals to link to html versions, and if any, make a new link in: ~www/texinfohtml/ -3. make tag + branch for this year's release: -Before: Determine revision number from - https://tug.org/pipermail/tex-live-commits/ -Also, look at https://tug.org/svn/texlive/tags/ to get subnum - and https://tug.org/svn/texlive/branches/ to avoid duplication. -rev=66589 +3. make tag + branch for this year's release (can be done after): +Before: determine revision number from + https://tug.org/pipermail/tex-live-commits/ +Review: + https://tug.org/svn/texlive/tags/ to get subnum and + https://tug.org/svn/texlive/branches/ to avoid duplication. +rev=70618 subnum=0 # increment as necessary if multiple branches needed tlyear=`date +%Y`; echo $tlyear # maybe previous year during pretest, as above # rerun without echo after checking -- cgit v1.2.3