summaryrefslogtreecommitdiff
path: root/Master/tlpkg/doc/releng.txt
blob: f80109e6ba4c2ecde4fe81074ddf120c9f5fbe33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
$Id$
Public domain.

Notes on putting together the pretest and yearly release --karl.

Check if pretest mirrors need renewing, talk to mirror admins if so:
 http://tug.org/texlive/mirmon/
 /home/httpd/html/texlive/mirmon/tlpretest-mirrors.txt

Coordinate schedule with:
 maintainers of: engines, LaTeX, GUST font, asymptote, context, texworks
 other parts of collection: protext, ctan, mactex.
 general lists

To stop updating of certain packages before the general freeze:
 tlpkg/dev/tlnet-disabled-packages.txt

On the day of the last tlnet update,
 Set opt_frozen in 00texlive.installation.tlpsrc.
 Freeze should happen at that night's rebuild.


Then, the next day, start building tlpretest:

0. Reset opt_frozen to 0 in 00texlive.installation.tlpsrc.

1a. Set up tlpretest:
cd /home/ftp/texlive/tlnet
tar cf - [a-u]* | (cd ../tlpretest && tar xf -)  # do not copy README
Update pretest.html, notably including major changes this year;
diff new and old bindirs to see if there are interesting new programs.
Update /home/ftp/texlive/tlpretest/README.

1b. Preserve final tlnet of current release:
cp -ar ../tlnet /home/ftp/historic/systems/texlive/YYYY/tlnet-final

2. Then switch to pretest in cron.tl:
critical=--critical	 # push tlcritical
pretest=--pretest	 # update tlpretest, not tlnet (if not frozen)
recreate=--recreate # just once!  (to get catalogue updates)
net_frozen=false 	 # update tlnet|tlpretest (per $pretest)
(tlcritical will remain getting updated daily, even though it doesn't
 work with tlnet any more.  That's ok.)

2a. option adjustrepo 0 in tl-update-tlnet, since pretest shouldn't go
to CTAN for updates.

3. The next nightly build will update tlpretest, or run
force_rebuild=true cron.tl
(but good to do the next steps first).

4. Basic updates for release year (to start pretest):
Master/.mkisofsrc
Master/release-texlive.txt
Master/tlpkg/TeXLive/TLConfig.pm (including MinRelease)
Master/tlpkg/bin/tl-update-tlnet
Master/tlpkg/installer/texlive.png
Master/texmf-dist/web2c/texmfcnf.lua
Master/texmf-dist/web2c/texmf.cnf  # from Build/.../kpathsea
(check other copyright years in *.pm, tlmgr*, install-tl)

5. After committing, see if formats build, to check for config file problems.
Then rm -rf ~/.texlive`date +%Y`  # the new one
Consider new xz and wget binaries.
Then commit new binaries (see version checks below).
Rebuild tlpretest as above.

N. Later, when closer to release:
- in cron.tl, set images_frozen=false.
- in tl-update-images, ensure V= the new YYYY and target=/.../test
- update /home/ftp/texlive/Images/test/README
- after successful image build, email tldistro@tug.org for info/review.


Really test during pretest (really!):
  .fmt's sharable across endian-different platforms (including luatex).
  interactive mf '\drawdot (50,50); showit;'  % and from * prompt

When finalizing sources (any time in the new year, can be early, before
initial builds in any case):
- update version numbers and years and copyright years in:
  top level version.ac
  dvipdfm-x:configure.ac ChangeLog
  dvips:    configure.ac ChangeLog NEWS dvips.c dvips.h afm2tfm.c dvips.texi
  kpathsea: version.ac ChangeLog NEWS kpsewhich.c doc/kpathsea.texi texmf.cnf
  ptexenc:  version.ac ChangeLog
  web2c:    NEWS doc/web2c.texi ptexdir/ptex-base.ch,ptex_version.h
  then reautoconf (6min), rebuild.
  install-tl, tlmgr.pl (copyright only)
  run ~karl/bin/tlversions to see+compare engine/etc. versions
- if new kpathsea file types (kpsewhich --help), update kpathsea.texi.
- ask tldistro for patches.

After tlnet freeze:
  run tl-update-linked-scripts for consistency.
  in Master/tlpkg, update bundled Windows programs as needed:
    dviout texworks tlgs tlperl tlpsv
  update readme-html.dir/readme.en.html
    run tlpkg/bin/htmltext to create readme-txt.dir/README.EN.
  update texcollection DVD text:
    http://tug.org/texcollection/
    http://puszcza.gnu.org.ua/projects/texcollection/

When binary set and docs are stable enough:
  peb, akira, takuji, khaled, taco, laurens: no commits.
  Update texlive-en.tex (+ .pdf, .html), tell tldoc to translate.
  Check for Build-maintained updates to config files, etc.
  (and might have to merge back if Master was mistakenly updated):
    diff -r Build/source/inst/texmf-dist Master/texmf-dist
  Remake updmap man page with help2man (and reread and update Master):
    make -C Build/source/Work/texk/texlive/tl_scripts xupdmap.1
  Texinfo manuals from Build to Master:
    tl-update-txi
  Man pages from Build to Master:
    tl-update-man # then run make in texmf/doc/man
    # and check /tmp/so.rules against man1/Makefile

Just before the final pretest (i.e., to-be-published) build:
  option adjustrepo 1 in tl-update-tlnet, else install-tl-unx won't go to ctan
  put date into NEWS and ChangeLog files.
  update Master/source:
    xz w32tex-src texlive*source mactexdoc install-tl-unx.tar.gz 

After final build, to do total freeze:
  in cron.tl, set *_frozen=true.
  probably also just disable the cron entry.


Making the big release:

- unmount live install of last year's:
umount /home/ftp/texlive/Contents/live

hx=/home/ftp/historic/systems/texlive
prev=2013
this=2014
mkdir $hx/$this

cd /home/ftp/texlive/Images
cp README.html $hx/$prev/
mv *.iso* *.torrent* $hx/$prev/
mv test/*.iso* .
mv test/texlive*.tar.xz* $hx/$this/  # tar version only in historic
update README and test/README (touch them even if no text changes)

- mactex (from tlpretest)
hm=/home/ftp/historic/systems/mactex
mkdir $hm/$prev
cd ~ftp/tex/mactex
mv mactex2*.pkg* basic* $hm/$prev
cp $hm/$prev/README .
mv ~ftp/texlive/tlpretest/mactex* .
 
- rest of tlnet
cd /home/ftp/texlive/tlnet
mkdir $hx/$prev/tlnet
cd /home/ftp/texlive/tlnet
diff -qr . $hx/$prev/tlnet-final # should already be there from before, so:
rm -rf [a-z]*
mv ../tlpretest/[a-z]* .
update README and ../tlpretest/README (touch even if no text changes)

cd /home/httpd/html/texlive
mkdir $hx/$prev/web
cp *.html !$  # remove tugstyle.css ref from bugs.html

- tug.org stuff:
change fstab 
mount /mnt/tl
cd /mnt/tl
perl install-tl # do full install to default location.
rm /usr/local/texlive-rel; ln -s texlive/$this /usr/local/texlive-rel
newsrc=!$/source
mkdir $newsrc
cp source/texlive-*.tar.xz source/w32tex-src.tar.xz $newsrc
mount /home/ftp/texlive/Contents/live
cd && umount /mnt/tl

update historic/systems with final proTeXt, when ready.
  https://bscw.fernuni-hagen.de
  ftp://ftp.fernuni-hagen.de/pub/windows/win32/ProTeXt/
update ~www/texlive web pages (search for $prev):
  acquire* - general
  bugs.html - general, also case of $prevprev at bottom
  doc.html - platform list, translation list
  quickinstall.html - paths
  w32client.html - new w32client*.zip needed (siep)
check for new Texinfo manuals to link to html versions:
  ~www/texinfohtml
further web updates below.

- announcements:
Dick Koch @ updating MacTeX.
Martin @ torrents.
CTAN @ ISO update, re-enabling tlnet mirroring.
Siep @ w32client.html, Norbert @ debian.html.
pretest mirror admins @ done till next year (~www/texlive/mirmon/tl*.txt).

- make tag + branch:
svn copy -r 34252 -m'texlive-2014.0 tag based on r34252' \
  svn://tug.org/texlive/trunk svn://tug.org/texlive/tags/texlive-2014.0
svn copy -r 34252 -m'branch2014 branch based on r34252' \
  svn://tug.org/texlive/trunk svn://tug.org/texlive/branches/branch2014

  It's the same command, just different destinations.
  http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.branchmerge

  We do both a branch and a tag so that it's possible to easily compare
  the current state of the branch with its starting point (the tag).

  To check out the branch, for critical source fixes for the sake of
  during-the-year rebuilds or for the distros, if they request it:
cd /home/texlive
rm -rf branch # when starting a new year on tug
mkdir branch; cd branch
svn co file:///home/svn/texlive/branches/branch2014/Build/source . >&out

   When bug fixes are done, i.e., at another stable point, make another tag:
#svn copy -r 30858 -m'texlive-2013.1 tag based on r30858, with rebuilt binaries (only)' \
#  svn://tug.org/texlive/trunk svn://tug.org/texlive/tags/texlive-2013.1


- update ~karl/bin/cron.tl, and reenable when feel ready.
critical=
pretest=
net_frozen=false
all_frozen=false

 after release:
- texcollection
hy=/home/ftp/historic/systems/texcollection
mkdir -p $hy/$this/packaging
#
# copy files from DVD:
cd /mnt/tc
cp -R [A-T]* index* setup /home/ftp/historic/systems/texcollection/$this
#
# copy ctan snapshot for TUG members:
nice -19 tar cf ~www/members/ctan14-20140604.tar ctan
chmod a=r ~www/members/ctan*.tar  # and edit members/index.html
mkdir /home/ftp/historic/systems/ctancd/$this
ln ~www/members/ctan*.tar !$  # or maybe later?
#
umount /mnt/tc
#
# copy in files from texcollection svn, then:
pdftoppm -gray -r 222 texcoll-cover.pdf >temp.pnm
# edit temp.pnm to be just the cover.
pnmcrop temp.pnm | pnmtopng >~www/texcollection/texcollection$this.png
cp texcoll-cover.pdf ~www/texcollection/texcollection$this.pdf
#
~www/texcollection/index.html

~www/store/index.html
/home/httpd/cgi-bin/tug-common.pl
~www/forms/current/memberapp.html 
~www/rss/tug.xml
~www/index.html