blob: 52e102207d1c8cd928961d87c62557ffb6367071 [file] [log] [blame]
Emil Velikov2edc29a2016-11-16 18:25:41 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en">
3<head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
Emil Velikov028d29b2016-11-28 17:22:15 +00005 <title>Releasing process</title>
Emil Velikov2edc29a2016-11-16 18:25:41 +00006 <link rel="stylesheet" type="text/css" href="mesa.css">
7</head>
8<body>
9
10<div class="header">
11 <h1>The Mesa 3D Graphics Library</h1>
12</div>
13
14<iframe src="contents.html"></iframe>
15<div class="content">
16
Andres Gomeze0f7d252017-03-27 21:48:10 +030017
Emil Velikov2edc29a2016-11-16 18:25:41 +000018<h1>Releasing process</h1>
19
20<ul>
21<li><a href="#overview">Overview</a>
22<li><a href="#schedule">Release schedule</a>
23<li><a href="#pickntest">Cherry-pick and test</a>
24<li><a href="#branch">Making a branchpoint</a>
25<li><a href="#prerelease">Pre-release announcement</a>
26<li><a href="#release">Making a new release</a>
27<li><a href="#announce">Announce the release</a>
28<li><a href="#website">Update the mesa3d.org website</a>
29<li><a href="#bugzilla">Update Bugzilla</a>
30</ul>
31
Andres Gomeze0f7d252017-03-27 21:48:10 +030032
Emil Velikov2edc29a2016-11-16 18:25:41 +000033<h1 id="overview">Overview</h1>
34
35<p>
36This document uses the convention X.Y.Z for the release number with X.Y being
37the stable branch name.
38<br>
39Mesa provides feature and bugfix releases. Former use zero as patch version (Z),
40while the latter have a non-zero one.
41</p>
42
43<p>
44For example:
45</p>
46<pre>
47 Mesa 10.1.0 - 10.1 branch, feature
48 Mesa 10.1.4 - 10.1 branch, bugfix
49 Mesa 12.0.0 - 12.0 branch, feature
50 Mesa 12.0.2 - 12.0 branch, bugfix
51</pre>
52
Andres Gomeze0f7d252017-03-27 21:48:10 +030053
Emil Velikov2edc29a2016-11-16 18:25:41 +000054<h1 id="schedule">Release schedule</h1>
55
56<p>
Andres Gomez13918922018-07-19 16:00:07 +030057Releases should happen on Wednesdays. Delays can occur although those
58should be keep to a minimum.
Emil Velikove5c24ad2017-04-24 17:22:19 +010059<br>
60See our <a href="release-calendar.html" target="_parent">calendar</a> for the
61date and other details for individual releases.
Emil Velikov2edc29a2016-11-16 18:25:41 +000062</p>
63
64<h2>Feature releases</h2>
65<ul>
Eric Engestrom077879c2017-02-26 23:58:03 +000066<li>Available approximately every three months.
Emil Velikov2edc29a2016-11-16 18:25:41 +000067<li>Initial timeplan available 2-4 weeks before the planned branchpoint (rc1)
68on the mesa-announce@ mailing list.
69<li>A <a href="#prerelease">pre-release</a> announcement should be available
Eric Engestrom077879c2017-02-26 23:58:03 +000070approximately 24 hours before the final (non-rc) release.
Emil Velikov2edc29a2016-11-16 18:25:41 +000071</ul>
72
73<h2>Stable releases</h2>
74<ul>
75<li>Normally available once every two weeks.
76<li>Only the latest branch has releases. See note below.
77<li>A <a href="#prerelease">pre-release</a> announcement should be available
Eric Engestrom077879c2017-02-26 23:58:03 +000078approximately 48 hours before the actual release.
Emil Velikov2edc29a2016-11-16 18:25:41 +000079</ul>
80
81<p>
82Note: There is one or two releases overlap when changing branches. For example:
83<br>
84The final release from the 12.0 series Mesa 12.0.5 will be out around the same
85time (or shortly after) 13.0.1 is out.
86</p>
87
Andres Gomeze0f7d252017-03-27 21:48:10 +030088
Emil Velikov2edc29a2016-11-16 18:25:41 +000089<h1 id="pickntest">Cherry-picking and testing</h1>
90
91<p>
92Commits nominated for the active branch are picked as based on the
93<a href="submittingpatches.html#criteria" target="_parent">criteria</a> as
94described in the same section.
Andres Gomeze0f7d252017-03-27 21:48:10 +030095</p>
Emil Velikov2edc29a2016-11-16 18:25:41 +000096
97<p>
Andres Gomez80587072017-03-27 21:48:11 +030098Nomination happens in the mesa-stable@ mailing list. However,
Andres Gomez7a2c8712018-01-19 00:29:10 +020099maintainer is responsible of checking for forgotten candidates in the
Andres Gomez80587072017-03-27 21:48:11 +0300100master branch. This is achieved by a combination of ad-hoc scripts and
101a casual search for terms such as regression, fix, broken and similar.
102</p>
103
104<p>
105Maintainer is also responsible for testing in various possible permutations of
Emil Velikov2edc29a2016-11-16 18:25:41 +0000106the autoconf and scons build.
107</p>
108
109<h2>Cherry-picking and build/check testing</h2>
110
111<p>Done continuously up-to the <a href="#prerelease">pre-release</a> announcement.</p>
112
113<p>
114As an exception, patches can be applied up-to the last ~1h before the actual
115release. This is made <strong>only</strong> with explicit permission/request,
116and the patch <strong>must</strong> be very well contained. Thus it cannot
117affect more than one driver/subsystem.
118</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300119
Emil Velikov2edc29a2016-11-16 18:25:41 +0000120<p>
121Currently Ilia Mirkin and AMD devs have requested "permanent" exception.
122</p>
123
Emil Velikov2edc29a2016-11-16 18:25:41 +0000124<ul>
125<li>make distcheck, scons and scons check must pass
126<li>Testing with different version of system components - LLVM and others is also
127performed where possible.
Andres Gomez8a3e33a2017-03-27 21:48:12 +0300128<li>As a general rule, testing with various combinations of configure
129switches, depending on the specific patchset.
Emil Velikov2edc29a2016-11-16 18:25:41 +0000130</ul>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300131
Emil Velikov2edc29a2016-11-16 18:25:41 +0000132<p>
Andres Gomez8a3e33a2017-03-27 21:48:12 +0300133Achieved by combination of local ad-hoc scripts, mingw-w64 cross
134compilation and AppVeyor plus Travis-CI, the latter as part of their
135Github integration.
Emil Velikov2edc29a2016-11-16 18:25:41 +0000136</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300137
Emil Velikovccb89e72017-03-15 17:34:26 +0000138<p>
Andres Gomez029d7be2017-05-03 21:14:38 +0300139For Windows related changes, the main contact point is Brian
140Paul. Jose Fonseca can also help as a fallback contact.
141</p>
142
143<p>
Andres Gomez2be0a992017-05-05 12:44:16 +0300144For Android related changes, the main contact is Tapani
145P&auml;lli. Mauro Rossi is collaborating with android-x86 and may
146provide feedback about the build status in that project.
147</p>
148
149<p>
Andres Gomez9c705372017-03-27 21:48:16 +0300150For MacOSX related changes, Jeremy Huddleston Sequoia is currently a
151good contact point.
152</p>
153
154<p>
Emil Velikovccb89e72017-03-15 17:34:26 +0000155<strong>Note:</strong> If a patch in the current queue needs any additional
156fix(es), then they should be squashed together.
157<br>
158The commit messages and the <code>cherry picked from</code> tags must be preserved.
159</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300160
Emil Velikovccb89e72017-03-15 17:34:26 +0000161<p>
162This should be noted in the <a href="#prerelease">pre-announce</a> email.
Andres Gomeze0f7d252017-03-27 21:48:10 +0300163</p>
164
Emil Velikovccb89e72017-03-15 17:34:26 +0000165<pre>
166 git show b10859ec41d09c57663a258f43fe57c12332698e
167
168 commit b10859ec41d09c57663a258f43fe57c12332698e
Andres Gomeze0f7d252017-03-27 21:48:10 +0300169 Author: Jonas Pfeil &lt;pfeiljonas@gmx.de&gt;
Emil Velikovccb89e72017-03-15 17:34:26 +0000170 Date: Wed Mar 1 18:11:10 2017 +0100
171
172 ralloc: Make sure ralloc() allocations match malloc()'s alignment.
173
174 The header of ralloc needs to be aligned, because the compiler assumes
175 ...
176
177 (cherry picked from commit cd2b55e536dc806f9358f71db438dd9c246cdb14)
178
179 Squashed with commit:
180
181 ralloc: don't leave out the alignment factor
182
183 Experimentation shows that without alignment factor gcc and clang choose
184 ...
185
186 (cherry picked from commit ff494fe999510ea40e3ed5827e7818550b6de126)
187</pre>
Emil Velikov2edc29a2016-11-16 18:25:41 +0000188
189<h2>Regression/functionality testing</h2>
190
191<p>
192Less often (once or twice), shortly before the pre-release announcement.
193Ensure that testing is redone if Intel devs have requested an exception, as per above.
194</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300195
Emil Velikov2edc29a2016-11-16 18:25:41 +0000196<ul>
197<li><em>no regressions should be observed for Piglit/dEQP/CTS/Vulkan on Intel platforms</em>
198<li><em>no regressions should be observed for Piglit using the swrast, softpipe
199and llvmpipe drivers</em>
200</ul>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300201
Emil Velikov2edc29a2016-11-16 18:25:41 +0000202<p>
203Currently testing is performed courtesy of the Intel OTC team and their Jenkins CI setup. Check with the Intel team over IRC how to get things setup.
204</p>
205
Andres Gomezfcdc96d2017-03-27 21:48:13 +0300206<p>
207Installing the built driver from the pre-announced RC branch in the
208system and making some every day's use until the release may be a good
209idea too.
210</p>
211
Emil Velikov2edc29a2016-11-16 18:25:41 +0000212
213<h1 id="branch">Making a branchpoint</h1>
214
215<p>
216A branchpoint is made such that new development can continue in parallel to
217stabilisation and bugfixing.
218</p>
219
220<p>
221Note: Before doing a branch ensure that basic build and <code>make check</code>
222testing is done and there are little to-no issues.
223<br>
224Ideally all of those should be tackled already.
225</p>
226
227<p>
228Check if the version number is going to remain as, alternatively
229<code> git mv docs/relnotes/{current,new}.html </code> as appropriate.
230</p>
231
232<p>
233To setup the branchpoint:
234</p>
235<pre>
236 git checkout master # make sure we're in master first
237 git tag -s X.Y-branchpoint -m "Mesa X.Y branchpoint"
238 git checkout -b X.Y
Emil Velikov0f8afde2017-01-19 15:35:38 +0000239 git checkout master
240 $EDITOR VERSION # bump the version number
241 git commit -as
Emil Velikov1d104f92017-01-26 19:26:13 +0000242 cp docs/relnotes/{X.Y,X.Y+1}.html # copy/create relnotes template
243 git commit -as
Emil Velikov2edc29a2016-11-16 18:25:41 +0000244 git push origin X.Y-branchpoint X.Y
245</pre>
246
247<p>
248Now go to
249<a href="https://bugs.freedesktop.org/editversions.cgi?action=add&amp;product=Mesa" target="_parent">Bugzilla</a> and add the new Mesa version X.Y.
250</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300251
Emil Velikov2edc29a2016-11-16 18:25:41 +0000252<p>
Emil Velikov383e8e22017-02-20 19:27:49 +0000253Check that there are no distribution breaking changes and revert them if needed.
254For example: files being overwritten on install, etc. Happens extremely rarely -
255we had only one case so far (see commit 2ced8eb136528914e1bf4e000dea06a9d53c7e04).
Emil Velikov2edc29a2016-11-16 18:25:41 +0000256</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300257
Emil Velikov2edc29a2016-11-16 18:25:41 +0000258<p>
259Proceed to <a href="#release">release</a> -rc1.
260</p>
261
Andres Gomeze0f7d252017-03-27 21:48:10 +0300262
Emil Velikov2edc29a2016-11-16 18:25:41 +0000263<h1 id="prerelease">Pre-release announcement</h1>
264
265<p>
266It comes shortly after outstanding patches in the respective branch are pushed.
267Developers can check, in brief, what's the status of their patches. They,
268alongside very early testers, are strongly encouraged to test the branch and
269report any regressions.
270<br>
271It is followed by a brief period (normally 24 or 48 hours) before the actual
272release is made.
273</p>
274
Andres Gomezbd8537f2018-01-19 00:29:08 +0200275<p>
276Be aware to add a note to warn about a final release in a series, if
277that is the case.
278</p>
279
Emil Velikov2edc29a2016-11-16 18:25:41 +0000280<h2>Terminology used</h2>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300281
Emil Velikov2edc29a2016-11-16 18:25:41 +0000282<ul><li>Nominated</ul>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300283
Emil Velikov2edc29a2016-11-16 18:25:41 +0000284<p>
285Patch that is nominated but yet to to merged in the patch queue/branch.
286</p>
287
288<ul><li>Queued</ul>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300289
Emil Velikov2edc29a2016-11-16 18:25:41 +0000290<p>
291Patch is in the queue/branch and will feature in the next release.
292Barring reported regressions or objections from developers.
293</p>
294
295<ul><li>Rejected</ul>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300296
Emil Velikov2edc29a2016-11-16 18:25:41 +0000297<p>
298Patch does not fit the
299<a href="submittingpatches.html#criteria" target="_parent">criteria</a> and
300is followed by a brief information.
301<br>
302The release maintainer is human so if you believe you've spotted a mistake do
303let them know.
304</p>
305
306<h2>Format/template</h2>
307<pre>
308Subject: [ANNOUNCE] Mesa X.Y.Z release candidate
309To: mesa-announce@...
310Cc: mesa-dev@...
311
312Hello list,
313
314The candidate for the Mesa X.Y.Z is now available. Currently we have:
315 - NUMBER queued
316 - NUMBER nominated (outstanding)
317 - and NUMBER rejected patches
318
Andres Gomezbd8537f2018-01-19 00:29:08 +0200319[If applicable:
320Note: this is the final anticipated release in the SERIES series. Users are
321encouraged to migrate to the NEXT_SERIES series in order to obtain future fixes.]
322
Emil Velikov2edc29a2016-11-16 18:25:41 +0000323BRIEF SUMMARY OF CHANGES
324
325Take a look at section "Mesa stable queue" for more information.
326
327
328Testing reports/general approval
329--------------------------------
330Any testing reports (or general approval of the state of the branch) will be
331greatly appreciated.
332
333The plan is to have X.Y.Z this DAY (DATE), around or shortly after TIME.
334
335If you have any questions or suggestions - be that about the current patch
336queue or otherwise, please go ahead.
337
338
339Trivial merge conflicts
340-----------------------
341List of commits where manual intervention was required.
342Keep the authors in the CC list.
343
344commit SHA
345Author: AUTHOR
346
347 COMMIT SUMMARY
348
349 CHERRY PICKED FROM
350
351
352For example:
353
354commit 990f395e007c3204639daa34efc3049f350ee819
355Author: Emil Velikov &lt;emil.velikov@collabora.com&gt;
356
357 anv: automake: cleanup the generated json file during make clean
358
359 (cherry picked from commit 8df581520a823564be0ab5af7dbb7d501b1c9670)
360
361
362Cheers,
363Emil
364
365
366Mesa stable queue
367-----------------
368
369Nominated (NUMBER)
370==================
371
372AUTHOR (NUMBER):
373 SHA COMMIT SUMMARY
374
375For example:
376
377Dave Airlie (1):
378 2de85eb radv: fix texturesamples to handle single sample case
379
380
381Queued (NUMBER)
382===============
383
384AUTHOR (NUMBER):
385 COMMIT SUMMARY
Andres Gomezb8c85f52017-11-09 16:58:23 +0200386[If applicable:
387Squashed with
388 COMMIT SUMMARY]
Emil Velikov2edc29a2016-11-16 18:25:41 +0000389
Emil Velikovccb89e72017-03-15 17:34:26 +0000390For example:
391
392Jonas Pfeil (1):
393 ralloc: Make sure ralloc() allocations match malloc()'s alignment.
394Squashed with
395 ralloc: don't leave out the alignment factor
Emil Velikov2edc29a2016-11-16 18:25:41 +0000396
Andres Gomezb8c85f52017-11-09 16:58:23 +0200397
Emil Velikov2edc29a2016-11-16 18:25:41 +0000398Rejected (NUMBER)
399=================
400
Emil Velikov2edc29a2016-11-16 18:25:41 +0000401AUTHOR (NUMBER):
402 SHA COMMIT SUMMARY
403
404Reason: ...
Andres Gomezb8c85f52017-11-09 16:58:23 +0200405
406For example:
407
408Emil Velikov (1)
409 a39ad18 configure.ac: honour LLVM_LIBDIR when linking against LLVM
410
411Reason: The patch was reverted shortly after it was merged.
Emil Velikov2edc29a2016-11-16 18:25:41 +0000412</pre>
413
Andres Gomeze0f7d252017-03-27 21:48:10 +0300414
Emil Velikov2edc29a2016-11-16 18:25:41 +0000415<h1 id="release">Making a new release</h1>
416
Emil Velikov2edc29a2016-11-16 18:25:41 +0000417<p>
418These are the instructions for making a new Mesa release.
419</p>
420
421<h3>Get latest source files</h3>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300422
Emil Velikov2edc29a2016-11-16 18:25:41 +0000423<p>
424Ensure the latest code is available - both in your local master and the
425relevant branch.
426</p>
427
428<h3>Perform basic testing</h3>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300429
Emil Velikov2edc29a2016-11-16 18:25:41 +0000430<p>
431Most of the testing should already be done during the
432<a href="#pickntest">cherry-pick</a> and
433<a href="#prerelease">pre-announce</a> stages.
Emil Velikov2edc29a2016-11-16 18:25:41 +0000434So we do a quick 'touch test'
Andres Gomeze0f7d252017-03-27 21:48:10 +0300435</p>
436
Emil Velikov2edc29a2016-11-16 18:25:41 +0000437<ul>
438<li>make distcheck (you can omit this if you're not using --dist below)
439<li>scons (from release tarball)
440<li>the produced binaries work
441</ul>
442
443<p>
444Here is one solution that I've been using.
445</p>
446
447<pre>
Emil Velikov0f246602017-09-04 17:08:15 +0100448 # Set MAKEFLAGS if you haven't already
Emil Velikov2edc29a2016-11-16 18:25:41 +0000449 git clean -fXd; git clean -nxd
450 read # quick cross check any outstanding files
Emil Velikovf9959ca2016-11-28 17:18:06 +0000451 export __version=`cat VERSION`
Emil Velikov2edc29a2016-11-16 18:25:41 +0000452 export __mesa_root=../
453 export __build_root=./foo
454 chmod 755 -fR $__build_root; rm -rf $__build_root
455 mkdir -p $__build_root &amp;&amp; cd $__build_root
456
Emil Velikovcf6e6eb2017-09-04 17:19:43 +0100457 # For the native builds - such as distcheck, scons, sanity test, you
458 # may want to specify which LLVM to use:
Andres Gomez8c1d87b2017-07-08 22:59:38 +0300459 # export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
Emil Velikovcf6e6eb2017-09-04 17:19:43 +0100460
461 # Do a full distcheck
Emil Velikov0f246602017-09-04 17:08:15 +0100462 $__mesa_root/autogen.sh &amp;&amp; make distcheck
Emil Velikov2edc29a2016-11-16 18:25:41 +0000463
Emil Velikovf9b18d52017-02-01 08:42:14 +0000464 # Build check the tarballs (scons, linux)
465 tar -xaf mesa-$__version.tar.xz &amp;&amp; cd mesa-$__version
466 scons
467 cd .. &amp;&amp; rm -rf mesa-$__version
468
469 # Build check the tarballs (scons, windows/mingw)
Emil Velikovcf6e6eb2017-09-04 17:19:43 +0100470 # Temporary drop LLVM_CONFIG, unless you have a Windows/mingw one.
471 # save_LLVM_CONFIG=`echo $LLVM_CONFIG`; unset LLVM_CONFIG
Emil Velikovf9b18d52017-02-01 08:42:14 +0000472 tar -xaf mesa-$__version.tar.xz &amp;&amp; cd mesa-$__version
473 scons platform=windows toolchain=crossmingw
474 cd .. &amp;&amp; rm -rf mesa-$__version
Emil Velikov2edc29a2016-11-16 18:25:41 +0000475
476 # Test the automake binaries
Emil Velikovcf6e6eb2017-09-04 17:19:43 +0100477 # Restore LLVM_CONFIG, if applicable:
478 # export LLVM_CONFIG=`echo $save_LLVM_CONFIG`; unset save_LLVM_CONFIG
Andres Gomez77605662018-01-19 00:29:09 +0200479 tar -xaf mesa-$__version.tar.xz &amp;&amp; cd mesa-$__version
Emil Velikov2edc29a2016-11-16 18:25:41 +0000480 ./configure \
481 --with-dri-drivers=i965,swrast \
482 --with-gallium-drivers=swrast \
Emil Velikovf9959ca2016-11-28 17:18:06 +0000483 --with-vulkan-drivers=intel \
Emil Velikov2edc29a2016-11-16 18:25:41 +0000484 --enable-llvm-shared-libs \
Emil Velikovb3b41562017-02-07 15:53:14 +0000485 --enable-llvm \
Emil Velikovf9959ca2016-11-28 17:18:06 +0000486 --enable-glx-tls \
487 --enable-gbm \
488 --enable-egl \
Emil Velikov2d357732017-04-25 16:39:52 +0100489 --with-platforms=x11,drm,wayland,surfaceless
Emil Velikov0f246602017-09-04 17:08:15 +0100490 make &amp;&amp; DESTDIR=`pwd`/test make install
Andres Gomez5ccbac82017-11-09 16:58:21 +0200491
492 # Drop LLVM_CONFIG, if applicable:
493 # unset LLVM_CONFIG
494
Eric Engestrom1ca23422018-07-17 12:46:17 +0100495 __glxinfo_cmd='glxinfo 2&gt;&amp;1 | egrep -o "Mesa.*|Gallium.*|.*dri\.so"'
496 __glxgears_cmd='glxgears 2&gt;&amp;1 | grep -v "configuration file"'
497 __es2info_cmd='es2_info 2&gt;&amp;1 | egrep "GL_VERSION|GL_RENDERER|.*dri\.so"'
498 __es2gears_cmd='es2gears_x11 2&gt;&amp;1 | grep -v "configuration file"'
Andres Gomeze6f45562017-07-08 22:59:40 +0300499 test "x$LD_LIBRARY_PATH" != 'x' &amp;&amp; __old_ld="$LD_LIBRARY_PATH"
500 export LD_LIBRARY_PATH=`pwd`/test/usr/local/lib/:"${__old_ld}"
Emil Velikov2edc29a2016-11-16 18:25:41 +0000501 export LIBGL_DRIVERS_PATH=`pwd`/test/usr/local/lib/dri/
Emil Velikovf9959ca2016-11-28 17:18:06 +0000502 export LIBGL_DEBUG=verbose
Emil Velikov652e3672017-02-01 09:31:56 +0000503 eval $__glxinfo_cmd
504 eval $__glxgears_cmd
505 eval $__es2info_cmd
506 eval $__es2gears_cmd
Eric Engestrom5c68ea22017-09-08 11:52:01 +0100507 export LIBGL_ALWAYS_SOFTWARE=true
Emil Velikov652e3672017-02-01 09:31:56 +0000508 eval $__glxinfo_cmd
509 eval $__glxgears_cmd
510 eval $__es2info_cmd
511 eval $__es2gears_cmd
Eric Engestrom5c68ea22017-09-08 11:52:01 +0100512 export LIBGL_ALWAYS_SOFTWARE=true
Emil Velikov2edc29a2016-11-16 18:25:41 +0000513 export GALLIUM_DRIVER=softpipe
Emil Velikov652e3672017-02-01 09:31:56 +0000514 eval $__glxinfo_cmd
515 eval $__glxgears_cmd
516 eval $__es2info_cmd
517 eval $__es2gears_cmd
Emil Velikovf9959ca2016-11-28 17:18:06 +0000518 # Smoke test DOTA2
519 unset LD_LIBRARY_PATH
Andres Gomeze6f45562017-07-08 22:59:40 +0300520 test "x$__old_ld" != 'x' &amp;&amp; export LD_LIBRARY_PATH="$__old_ld" &amp;&amp; unset __old_ld
Emil Velikovf9959ca2016-11-28 17:18:06 +0000521 unset LIBGL_DRIVERS_PATH
522 unset LIBGL_DEBUG
523 unset LIBGL_ALWAYS_SOFTWARE
Andres Gomez3bc16332017-11-09 16:58:22 +0200524 unset GALLIUM_DRIVER
Emil Velikovf9959ca2016-11-28 17:18:06 +0000525 export VK_ICD_FILENAMES=`pwd`/src/intel/vulkan/dev_icd.json
526 steam steam://rungameid/570 -vconsole -vulkan
Andres Gomez3bc16332017-11-09 16:58:22 +0200527 unset VK_ICD_FILENAMES
Emil Velikov2edc29a2016-11-16 18:25:41 +0000528</pre>
529
530<h3>Update version in file VERSION</h3>
531
532<p>
533Increment the version contained in the file VERSION at Mesa's top-level, then
534commit this change.
535</p>
536
537<h3>Create release notes for the new release</h3>
538
539<p>
540Create a new file docs/relnotes/X.Y.Z.html, (follow the style of the previous
541release notes). Note that the sha256sums section of the release notes should
542be empty (TBD) at this point.
543</p>
544
545<p>
546Two scripts are available to help generate portions of the release notes:
Andres Gomeze0f7d252017-03-27 21:48:10 +0300547</p>
Emil Velikov2edc29a2016-11-16 18:25:41 +0000548
549<pre>
550 ./bin/bugzilla_mesa.sh
551 ./bin/shortlog_mesa.sh
552</pre>
553
554<p>
555The first script identifies commits that reference bugzilla bugs and obtains
556the descriptions of those bugs from bugzilla. The second script generates a
557log of all commits. In both cases, HTML-formatted lists are printed to stdout
558to be included in the release notes.
559</p>
560
561<p>
562Commit these changes and push the branch.
563</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300564
Emil Velikov2edc29a2016-11-16 18:25:41 +0000565<pre>
566 git push origin HEAD
567</pre>
568
569
Emil Velikov0f988ad2017-03-15 17:34:25 +0000570<h3>Use the release.sh script from xorg <a href="https://cgit.freedesktop.org/xorg/util/modular/">util-modular</a></h3>
Emil Velikov2edc29a2016-11-16 18:25:41 +0000571
572<p>
Emil Velikov79562032017-03-15 17:34:24 +0000573Start the release process.
Emil Velikov2edc29a2016-11-16 18:25:41 +0000574</p>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300575
Emil Velikov2edc29a2016-11-16 18:25:41 +0000576<pre>
Andres Gomez8c1d87b2017-07-08 22:59:38 +0300577 # For the dist/distcheck, you may want to specify which LLVM to use:
578 # export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
Emil Velikov2edc29a2016-11-16 18:25:41 +0000579 ../relative/path/to/release.sh . # append --dist if you've already done distcheck above
580</pre>
581
582<p>
583Pay close attention to the prompts as you might be required to enter your GPG
584and SSH passphrase(s) to sign and upload the files, respectively.
585</p>
586
587<h3>Add the sha256sums to the release notes</h3>
588
589<p>
Eric Engestrom077879c2017-02-26 23:58:03 +0000590Edit docs/relnotes/X.Y.Z.html to add the sha256sums as available in the mesa-X.Y.Z.announce template. Commit this change.
Emil Velikov2edc29a2016-11-16 18:25:41 +0000591</p>
592
593<h3>Back on mesa master, add the new release notes into the tree</h3>
594
595<p>
596Something like the following steps will do the trick:
597</p>
598
599<pre>
600 git cherry-pick -x X.Y~1
601 git cherry-pick -x X.Y
602</pre>
603
604<p>
Andres Gomez80a0c972017-07-08 22:59:41 +0300605Also, edit docs/relnotes.html to add a link to the new release notes,
Andres Gomezbd8537f2018-01-19 00:29:08 +0200606edit docs/index.html to add a news entry and a note in case of the
607last release in a series, and remove the version from
Andres Gomez80a0c972017-07-08 22:59:41 +0300608docs/release-calendar.html. Then commit and push:
Emil Velikov2edc29a2016-11-16 18:25:41 +0000609</p>
610
611<pre>
Andres Gomez80a0c972017-07-08 22:59:41 +0300612 git commit -as -m "docs: update calendar, add news item and link release notes for X.Y.Z"
Emil Velikov2edc29a2016-11-16 18:25:41 +0000613 git push origin master X.Y
614</pre>
615
616
617<h1 id="announce">Announce the release</h1>
Andres Gomeze0f7d252017-03-27 21:48:10 +0300618
Emil Velikov2edc29a2016-11-16 18:25:41 +0000619<p>
620Use the generated template during the releasing process.
621</p>
622
Andres Gomezbd8537f2018-01-19 00:29:08 +0200623<p>
624Again, pay attention to add a note to warn about a final release in a
625series, if that is the case.
626</p>
627
Emil Velikov2edc29a2016-11-16 18:25:41 +0000628
629<h1 id="website">Update the mesa3d.org website</h1>
630
631<p>
Emil Velikove280a6b2017-02-10 12:51:22 +0000632As the hosting was moved to freedesktop, git hooks are deployed to update the
633website. Manually check that it is updated 5-10 minutes after the final <code>git push</code>
Emil Velikov2edc29a2016-11-16 18:25:41 +0000634</p>
635
Andres Gomeze0f7d252017-03-27 21:48:10 +0300636
Emil Velikov2edc29a2016-11-16 18:25:41 +0000637<h1 id="bugzilla">Update Bugzilla</h1>
638
639<p>
640Parse through the bugreports as listed in the docs/relnotes/X.Y.Z.html
641document.
642<br>
643If there's outstanding action, close the bug referencing the commit ID which
644addresses the bug and mention the Mesa version that has the fix.
645</p>
646
647<p>
648Note: the above is not applicable to all the reports, so use common sense.
649</p>
650
651
652</div>
653</body>
654</html>