1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8">
5 <title>Releasing process
</title>
6 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css">
11 <h1>The Mesa
3D Graphics Library
</h1>
14 <iframe src=
"contents.html"></iframe>
17 <h1>Releasing process
</h1>
20 <li><a href=
"#overview">Overview
</a>
21 <li><a href=
"#schedule">Release schedule
</a>
22 <li><a href=
"#pickntest">Cherry-pick and test
</a>
23 <li><a href=
"#branch">Making a branchpoint
</a>
24 <li><a href=
"#prerelease">Pre-release announcement
</a>
25 <li><a href=
"#release">Making a new release
</a>
26 <li><a href=
"#announce">Announce the release
</a>
27 <li><a href=
"#website">Update the mesa3d.org website
</a>
28 <li><a href=
"#bugzilla">Update Bugzilla
</a>
31 <h1 id=
"overview">Overview
</h1>
34 This document uses the convention X.Y.Z for the release number with X.Y being
35 the stable branch name.
37 Mesa provides feature and bugfix releases. Former use zero as patch version (Z),
38 while the latter have a non-zero one.
45 Mesa
10.1.0 -
10.1 branch, feature
46 Mesa
10.1.4 -
10.1 branch, bugfix
47 Mesa
12.0.0 -
12.0 branch, feature
48 Mesa
12.0.2 -
12.0 branch, bugfix
51 <h1 id=
"schedule">Release schedule
</h1>
54 Releases should happen on Fridays. Delays can occur although those should be keep
57 See our
<a href=
"release-calendar.html" target=
"_parent">calendar
</a> for the
58 date and other details for individual releases.
61 <h2>Feature releases
</h2>
63 <li>Available approximately every three months.
64 <li>Initial timeplan available
2-
4 weeks before the planned branchpoint (rc1)
65 on the mesa-announce@ mailing list.
66 <li>A
<a href=
"#prerelease">pre-release
</a> announcement should be available
67 approximately
24 hours before the final (non-rc) release.
70 <h2>Stable releases
</h2>
72 <li>Normally available once every two weeks.
73 <li>Only the latest branch has releases. See note below.
74 <li>A
<a href=
"#prerelease">pre-release
</a> announcement should be available
75 approximately
48 hours before the actual release.
79 Note: There is one or two releases overlap when changing branches. For example:
81 The final release from the
12.0 series Mesa
12.0.5 will be out around the same
82 time (or shortly after)
13.0.1 is out.
85 <h1 id=
"pickntest">Cherry-picking and testing
</h1>
88 Commits nominated for the active branch are picked as based on the
89 <a href=
"submittingpatches.html#criteria" target=
"_parent">criteria
</a> as
90 described in the same section.
93 Maintainer is responsible for testing in various possible permutations of
94 the autoconf and scons build.
97 <h2>Cherry-picking and build/check testing
</h2>
99 <p>Done continuously up-to the
<a href=
"#prerelease">pre-release
</a> announcement.
</p>
102 As an exception, patches can be applied up-to the last ~
1h before the actual
103 release. This is made
<strong>only
</strong> with explicit permission/request,
104 and the patch
<strong>must
</strong> be very well contained. Thus it cannot
105 affect more than one driver/subsystem.
108 Currently Ilia Mirkin and AMD devs have requested
"permanent" exception.
113 <li>make distcheck, scons and scons check must pass
114 <li>Testing with different version of system components - LLVM and others is also
115 performed where possible.
118 Achieved by combination of local ad-hoc scripts and AppVeyor plus Travis-CI,
119 the latter as part of their Github integration.
122 <strong>Note:
</strong> If a patch in the current queue needs any additional
123 fix(es), then they should be squashed together.
125 The commit messages and the
<code>cherry picked from
</code> tags must be preserved.
128 This should be noted in the
<a href=
"#prerelease">pre-announce
</a> email.
130 git show b10859ec41d09c57663a258f43fe57c12332698e
132 commit b10859ec41d09c57663a258f43fe57c12332698e
133 Author: Jonas Pfeil <pfeiljonas@gmx.de>
134 Date: Wed Mar
1 18:
11:
10 2017 +
0100
136 ralloc: Make sure ralloc() allocations match malloc()'s alignment.
138 The header of ralloc needs to be aligned, because the compiler assumes
141 (cherry picked from commit cd2b55e536dc806f9358f71db438dd9c246cdb14)
143 Squashed with commit:
145 ralloc: don't leave out the alignment factor
147 Experimentation shows that without alignment factor gcc and clang choose
150 (cherry picked from commit ff494fe999510ea40e3ed5827e7818550b6de126)
154 <h2>Regression/functionality testing
</h2>
157 Less often (once or twice), shortly before the pre-release announcement.
158 Ensure that testing is redone if Intel devs have requested an exception, as per above.
161 <li><em>no regressions should be observed for Piglit/dEQP/CTS/Vulkan on Intel platforms
</em>
162 <li><em>no regressions should be observed for Piglit using the swrast, softpipe
163 and llvmpipe drivers
</em>
166 Currently 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.
170 <h1 id=
"branch">Making a branchpoint
</h1>
173 A branchpoint is made such that new development can continue in parallel to
174 stabilisation and bugfixing.
178 Note: Before doing a branch ensure that basic build and
<code>make check
</code>
179 testing is done and there are little to-no issues.
181 Ideally all of those should be tackled already.
185 Check if the version number is going to remain as, alternatively
186 <code> git mv docs/relnotes/{current,new}.html
</code> as appropriate.
190 To setup the branchpoint:
193 git checkout master # make sure we're in master first
194 git tag -s X.Y-branchpoint -m
"Mesa X.Y branchpoint"
197 $EDITOR VERSION # bump the version number
199 cp docs/relnotes/{X.Y,X.Y+
1}.html # copy/create relnotes template
201 git push origin X.Y-branchpoint X.Y
206 <a href=
"https://bugs.freedesktop.org/editversions.cgi?action=add&product=Mesa" target=
"_parent">Bugzilla
</a> and add the new Mesa version X.Y.
209 Check that there are no distribution breaking changes and revert them if needed.
210 For example: files being overwritten on install, etc. Happens extremely rarely -
211 we had only one case so far (see commit
2ced8eb136528914e1bf4e000dea06a9d53c7e04).
214 Proceed to
<a href=
"#release">release
</a> -rc1.
217 <h1 id=
"prerelease">Pre-release announcement
</h1>
220 It comes shortly after outstanding patches in the respective branch are pushed.
221 Developers can check, in brief, what's the status of their patches. They,
222 alongside very early testers, are strongly encouraged to test the branch and
223 report any regressions.
225 It is followed by a brief period (normally
24 or
48 hours) before the actual
229 <h2>Terminology used
</h2>
230 <ul><li>Nominated
</ul>
232 Patch that is nominated but yet to to merged in the patch queue/branch.
237 Patch is in the queue/branch and will feature in the next release.
238 Barring reported regressions or objections from developers.
241 <ul><li>Rejected
</ul>
243 Patch does not fit the
244 <a href=
"submittingpatches.html#criteria" target=
"_parent">criteria
</a> and
245 is followed by a brief information.
247 The release maintainer is human so if you believe you've spotted a mistake do
251 <h2>Format/template
</h2>
253 Subject: [ANNOUNCE] Mesa X.Y.Z release candidate
254 To: mesa-announce@...
259 The candidate for the Mesa X.Y.Z is now available. Currently we have:
261 - NUMBER nominated (outstanding)
262 - and NUMBER rejected patches
264 BRIEF SUMMARY OF CHANGES
266 Take a look at section
"Mesa stable queue" for more information.
269 Testing reports/general approval
270 --------------------------------
271 Any testing reports (or general approval of the state of the branch) will be
274 The plan is to have X.Y.Z this DAY (DATE), around or shortly after TIME.
276 If you have any questions or suggestions - be that about the current patch
277 queue or otherwise, please go ahead.
280 Trivial merge conflicts
281 -----------------------
282 List of commits where manual intervention was required.
283 Keep the authors in the CC list.
295 commit
990f395e007c3204639daa34efc3049f350ee819
296 Author: Emil Velikov
<emil.velikov@collabora.com
>
298 anv: automake: cleanup the generated json file during make clean
300 (cherry picked from commit
8df581520a823564be0ab5af7dbb7d501b1c9670)
319 2de85eb radv: fix texturesamples to handle single sample case
331 ralloc: Make sure ralloc() allocations match malloc()'s alignment.
333 ralloc: don't leave out the alignment factor
347 <h1 id=
"release">Making a new release
</h1>
350 These are the instructions for making a new Mesa release.
353 <h3>Get latest source files
</h3>
355 Ensure the latest code is available - both in your local master and the
359 <h3>Perform basic testing
</h3>
361 Most of the testing should already be done during the
362 <a href=
"#pickntest">cherry-pick
</a> and
363 <a href=
"#prerelease">pre-announce
</a> stages.
365 So we do a quick 'touch test'
367 <li>make distcheck (you can omit this if you're not using --dist below)
368 <li>scons (from release tarball)
369 <li>the produced binaries work
373 Here is one solution that I've been using.
377 git clean -fXd; git clean -nxd
378 read # quick cross check any outstanding files
379 export __version=`cat VERSION`
380 export __mesa_root=../
381 export __build_root=./foo
382 chmod
755 -fR $__build_root; rm -rf $__build_root
383 mkdir -p $__build_root
&& cd $__build_root
385 $__mesa_root/autogen.sh
&& make -j2 distcheck
387 # Build check the tarballs (scons, linux)
388 tar -xaf mesa-$__version.tar.xz
&& cd mesa-$__version
390 cd ..
&& rm -rf mesa-$__version
392 # Build check the tarballs (scons, windows/mingw)
393 tar -xaf mesa-$__version.tar.xz
&& cd mesa-$__version
394 scons platform=windows toolchain=crossmingw
395 cd ..
&& rm -rf mesa-$__version
397 # Test the automake binaries
398 tar -xaf mesa-$__version.tar.xz
&& cd mesa-$__version
400 --with-dri-drivers=i965,swrast \
401 --with-gallium-drivers=swrast \
402 --with-vulkan-drivers=intel \
403 --enable-llvm-shared-libs \
408 --with-egl-platforms=x11,drm,wayland
409 make -j2
&& DESTDIR=`pwd`/test make -j6 install
410 __glxinfo_cmd='glxinfo
2>&1 | egrep -o
"Mesa.*|Gallium.*|.*dri\.so"'
411 __glxgears_cmd='glxgears
2>&1 | grep -v
"configuration file"'
412 __es2info_cmd='es2_info
2>&1 | egrep
"GL_VERSION|GL_RENDERER|.*dri\.so"'
413 __es2gears_cmd='es2gears_x11
2>&1 | grep -v
"configuration file"'
414 export LD_LIBRARY_PATH=`pwd`/test/usr/local/lib/
415 export LIBGL_DRIVERS_PATH=`pwd`/test/usr/local/lib/dri/
416 export LIBGL_DEBUG=verbose
421 export LIBGL_ALWAYS_SOFTWARE=
1
426 export LIBGL_ALWAYS_SOFTWARE=
1
427 export GALLIUM_DRIVER=softpipe
433 unset LD_LIBRARY_PATH
434 unset LIBGL_DRIVERS_PATH
436 unset LIBGL_ALWAYS_SOFTWARE
437 export VK_ICD_FILENAMES=`pwd`/src/intel/vulkan/dev_icd.json
438 steam steam://rungameid/
570 -vconsole -vulkan
441 <h3>Update version in file VERSION
</h3>
444 Increment the version contained in the file VERSION at Mesa's top-level, then
448 <h3>Create release notes for the new release
</h3>
451 Create a new file docs/relnotes/X.Y.Z.html, (follow the style of the previous
452 release notes). Note that the sha256sums section of the release notes should
453 be empty (TBD) at this point.
457 Two scripts are available to help generate portions of the release notes:
460 ./bin/bugzilla_mesa.sh
461 ./bin/shortlog_mesa.sh
465 The first script identifies commits that reference bugzilla bugs and obtains
466 the descriptions of those bugs from bugzilla. The second script generates a
467 log of all commits. In both cases, HTML-formatted lists are printed to stdout
468 to be included in the release notes.
472 Commit these changes and push the branch.
479 <h3>Use the release.sh script from xorg
<a href=
"https://cgit.freedesktop.org/xorg/util/modular/">util-modular
</a></h3>
482 Start the release process.
485 ../relative/path/to/release.sh . # append --dist if you've already done distcheck above
489 Pay close attention to the prompts as you might be required to enter your GPG
490 and SSH passphrase(s) to sign and upload the files, respectively.
493 <h3>Add the sha256sums to the release notes
</h3>
496 Edit docs/relnotes/X.Y.Z.html to add the sha256sums as available in the mesa-X.Y.Z.announce template. Commit this change.
499 <h3>Back on mesa master, add the new release notes into the tree
</h3>
502 Something like the following steps will do the trick:
506 git cherry-pick -x X.Y~
1
507 git cherry-pick -x X.Y
511 Also, edit docs/relnotes.html to add a link to the new release notes, and edit
512 docs/index.html to add a news entry. Then commit and push:
516 git commit -as -m
"docs: add news item and link release notes for X.Y.Z"
517 git push origin master X.Y
521 <h1 id=
"announce">Announce the release
</h1>
523 Use the generated template during the releasing process.
527 <h1 id=
"website">Update the mesa3d.org website
</h1>
530 As the hosting was moved to freedesktop, git hooks are deployed to update the
531 website. Manually check that it is updated
5-
10 minutes after the final
<code>git push
</code>
534 <h1 id=
"bugzilla">Update Bugzilla
</h1>
537 Parse through the bugreports as listed in the docs/relnotes/X.Y.Z.html
540 If there's outstanding action, close the bug referencing the commit ID which
541 addresses the bug and mention the Mesa version that has the fix.
545 Note: the above is not applicable to all the reports, so use common sense.